* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --accent-red: #cc0026;
    --accent-red-hover: #a0001e;
    --accent-black: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --error-color: #cc0026;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(204, 0, 38, 0.2);
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

/* Vanta.js WAVES background */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Overlay żeby treść była czytelna na falach */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: #00000060;
    z-index: 0;
    pointer-events: none;
}



/* Modals */
#language-modal,
#contact-modal,
#recaptcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#language-modal.active,
#contact-modal.active,
#recaptcha-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 650px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 2px solid var(--accent-red);
}

#language-modal.active .modal-content,
#contact-modal.active .modal-content,
#recaptcha-modal.active .modal-content {
    transform: scale(1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.language-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lang-btn {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: var(--accent-red);
    background: rgba(204, 0, 38, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.lang-btn .flag-icon {
    font-size: 1.3rem;
    width: 1.3em;
    height: 1.3em;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 2px solid var(--accent-red);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow);
    isolation: isolate; /* Create new stacking context */
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.top-bar-title {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-red);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

.change-lang-btn {
    background: transparent;
    border: 2px solid var(--accent-black);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.change-lang-btn:hover {
    border-color: var(--accent-red);
    background: var(--accent-red);
    color: white;
}

#current-lang-flag {
    font-size: 1.3rem;
    line-height: 1;
    width: 1.3em;
    height: 1.3em;
    border-radius: 3px;
    display: inline-block;
}

#current-lang-text {
    font-weight: 600;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--accent-black);
    padding: 0;
    z-index: 999;
    box-shadow: var(--shadow);
    isolation: isolate; /* Create new stacking context */
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
}

.nav-menu li {
    flex: 1;
    min-width: 120px;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu li:last-child a {
    border-right: none;
}

.nav-menu a:hover {
    background: var(--accent-red);
    color: white;
}

.nav-menu a.active {
    background: var(--accent-red);
    color: white;
}

/* Main Content Area - Scrollable */
.main-content-wrapper {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 10;
    -webkit-overflow-scrolling: touch;
}

.main-content {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 2rem 4rem;
    background: transparent;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin: 0 auto 2rem;
    max-width: 1200px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* First section - margin-top to avoid hiding under header */
.main-content > .section:first-child {
    margin-top: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-black);
    border-bottom: 3px solid var(--accent-red);
    padding-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.section-content {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-top: 1rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999 !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    isolation: isolate; /* Create new stacking context above everything */
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-counter {
    color: white;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

.gallery-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 100000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.gallery-modal-close:hover {
    transform: rotate(90deg);
    color: var(--accent-red);
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 100000;
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.gallery-nav-prev {
    left: 2rem;
}

.gallery-nav-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-nav-prev {
        left: 1rem;
    }
    
    .gallery-nav-next {
        right: 1rem;
    }
    
    .gallery-counter {
        font-size: 0.9rem;
    }
}

/* Process Flow Diagram */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 2rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.process-flow::-webkit-scrollbar {
    height: 8px;
}

.process-flow::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.process-flow::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
    flex-shrink: 0;
    cursor: pointer;
}

.process-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
    transition: all 0.3s ease;
    border: 3px solid white;
    animation: pulseStep 10s infinite;
}

/* Animation for each step - sequential pulse effect (every 2 seconds) */
.process-step:nth-child(1) .process-icon {
    animation-delay: 0s;
}

.process-step:nth-child(3) .process-icon {
    animation-delay: 2s;
}

.process-step:nth-child(5) .process-icon {
    animation-delay: 4s;
}

.process-step:nth-child(7) .process-icon {
    animation-delay: 6s;
}

.process-step:nth-child(9) .process-icon {
    animation-delay: 8s;
}

@keyframes pulseStep {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
    }
    10% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(204, 0, 38, 0.4);
    }
    20% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
    }
}

.process-text {
    text-align: center;
}

.process-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-black);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.process-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.2;
}

.process-arrow {
    color: var(--accent-red);
    font-size: 1.5rem;
    flex-shrink: 0;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive - dla bardzo małych ekranów */
@media (max-width: 1200px) {
    .process-flow {
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .process-step {
        min-width: 100px;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .process-text h3 {
        font-size: 0.85rem;
    }
    
    .process-text p {
        font-size: 0.7rem;
    }
    
    .process-arrow {
        font-size: 1.2rem;
        padding: 0 0.25rem;
    }
}

@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        overflow-x: visible;
        overflow-y: visible;
        max-height: none;
    }
    
    .process-step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .process-icon {
        width: 100px;
        height: 100px;
        font-size: 2.2rem;
    }
    
    .process-text h3 {
        font-size: 1rem;
    }
    
    .process-text p {
        font-size: 0.65rem;
    }
    
    .process-arrow {
        font-size: 1rem;
        padding: 0.25rem 0;
        transform: rotate(90deg);
    }
}

/* Booking Form */
.booking-form {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.booking-header {
    background: linear-gradient(135deg, var(--accent-black) 0%, #333333 100%);
    padding: 2rem;
    color: white;
}

.booking-title-main {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.booking-title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-red);
    margin-top: 0.25rem;
}

.booking-route-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.booking-vehicles-section {
    padding: 2rem;
    background: var(--bg-light);
}

.route-section {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-black);
    margin-bottom: 0.5rem;
}

.form-select,
.form-input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.info-checks {
    margin-top: 2rem;
}

.info-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--accent-black);
    font-size: 0.9rem;
}

.info-check-item i {
    color: var(--accent-red);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.vehicles-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vehicles-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-black);
}

#vehicles-list {
    min-height: 60px;
    margin-bottom: 1.5rem;
}

.vehicles-empty {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.added-vehicle-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.vehicle-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.vehicle-info .vehicle-icon-small {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.vehicle-name {
    font-weight: 500;
    color: var(--accent-black);
}

.vehicle-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-black);
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--accent-black);
}

.vehicle-remove {
    width: 32px;
    height: 32px;
    border: 2px solid var(--error-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--error-color);
    transition: all 0.3s ease;
}

.vehicle-remove:hover {
    background: var(--error-color);
    color: white;
}

.vehicle-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vehicle-card {
    background: white;
    /*border: 2px solid var(--border-color);*/
    border-radius: 8px;
   /* padding: 1.25rem 0.75rem;*/
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-card .vehicle-icon {
    width: 4.5rem;
    height: 3.5rem;
    object-fit: contain;
    transition: filter 0.3s ease;
    margin-left: 5px;
}

.vehicle-card span {
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-primary);
}

.vehicle-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.2);
}

.vehicle-card.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
}



.vehicle-card.active span {
    color: white;
}

.transmission-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label i {
    color: var(--accent-red);
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.add-vehicle-btn {
    background: var(--accent-black);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.add-vehicle-btn:hover {
    background: #333333;
}

.continue-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
}

.continue-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
}

.price-disclaimer {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--accent-red);
    border-radius: 8px;
}

.price-display {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-black);
}

.price-amount {
    color: var(--accent-red);
    font-size: 2rem;
    margin: 0 0.5rem;
}

.submit-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
}

/* ============================================
   CONTACT METHOD MODAL
   ============================================ */
.contact-modal-content {
    max-width: 600px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
}

.modal-close:hover {
    color: var(--accent-red);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-option-btn:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-option-btn i {
    font-size: 1.5rem;
    color: var(--accent-red);
    min-width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-option-btn .fa-whatsapp {
    color: #25D366;
}

.contact-option-text h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-black);
}

.contact-option-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Email Form */
.email-form-container {
    margin-top: 2rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
}

.email-form-container h3 {
    margin-bottom: 1rem;
    color: var(--accent-black);
}

#email-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#email-inquiry-form .form-input {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#email-inquiry-form .form-input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.submit-email-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.submit-email-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
}

@media (max-width: 768px) {
    .contact-option-btn {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-option-btn i {
        font-size: 3rem;
    }
}

/* ============================================
   RECAPTCHA MODAL
   ============================================ */
.recaptcha-modal-content {
    max-width: 450px;
    text-align: center;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.g-recaptcha {
    display: inline-block;
}

/* Hide reCAPTCHA badge - it's not required if using in modal only */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

.verify-recaptcha-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.verify-recaptcha-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
}

.verify-recaptcha-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   CONTACT INFO SECTION
   ============================================ */
.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-red);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-info-header i {
    font-size: 1.5rem;
    color: var(--accent-red);
}

.contact-info-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-black);
    margin: 0;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item i {
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-black);
}

.contact-value.contact-link {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value.contact-link:hover {
    color: var(--accent-red-hover);
    text-decoration: underline;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: white;
    color: #0073e6;
    border-color: #0073e6;
}

.email-btn:hover {
    background: #0073e6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 230, 0.3);
}

.phone-btn {
    background: white;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.phone-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
}

.contact-action-btn i {
    font-size: 1.2rem;
}

.license-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-red);
    background: white;
    color: var(--accent-red);
}

.license-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 38, 0.3);
}

.license-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
}

/* Calculator Card */
.calculator-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin: 0 auto;
    max-width: 900px;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-black);
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(204, 0, 38, 0.1);
}

.form-input:hover {
    border-color: rgba(204, 0, 38, 0.5);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 200;
    box-shadow: var(--shadow);
    display: none;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: rgba(204, 0, 38, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--accent-red);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.calculate-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.calculate-btn:active {
    transform: translateY(0);
}

.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.loader.active {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.results {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--accent-red);
    display: none;
    animation: fadeIn 0.5s ease;
}

.results.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.result-value {
    color: var(--accent-red);
    font-weight: 600;
}

.error-box {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(204, 0, 38, 0.1);
    border: 1px solid var(--error-color);
    border-radius: 12px;
    color: var(--error-color);
    display: none;
}

.error-box.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Cookie Consent Banner */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 2px solid var(--accent-red);
    padding: 1.5rem 2rem;
    z-index: 999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

#cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: var(--accent-red-hover);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background: var(--accent-red);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cookie-btn-reject {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.cookie-btn-reject:hover {
    border-color: var(--accent-red);
    background: rgba(204, 0, 38, 0.1);
}

/* Footer */
footer {
    background: var(--accent-black);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent-red-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.2rem;
    }

    .top-bar-title {
        font-size: 0.85rem;
    }

    .nav-bar {
        display: none; /* Ukryj menu nawigacyjne na mobilkach */
    }

    .main-content-wrapper {
        top: 100px; /* Dostosuj top, bo nav-bar jest ukryty */
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .calculator-card,
    .section {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    /* Booking Form - Mobile improvements */
    .booking-form {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .booking-header {
        padding: 1.5rem 1rem;
    }
    
    .booking-title-main {
        font-size: 1.5rem;
    }
    
    .booking-route-section,
    .booking-vehicles-section {
        padding: 1.5rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Form columns - each column contains country select + address input */
    .form-col {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Form field group - label on top, select below */
    .form-field-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Labels for country selects - on top */
    .form-field-group .form-label {
        margin-bottom: 0;
        font-size: 0.85rem;
    }
    
    .form-field-group .form-select {
        width: 100%;
    }
    
    .form-input {
        width: 100%;
        margin-top: 1rem;
    }
    
    .form-select,
    .form-input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .booking-vehicles-section {
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .vehicles-section {
        min-width: 0;
        overflow-x: hidden;
    }
    
    .vehicles-title {
        font-size: 1.25rem;
    }
    
    .vehicle-selection {
        min-width: 0;
        overflow-x: hidden;
    }
    
    .vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        min-width: 0;
    }
    
    .vehicle-card {
        padding: 0.75rem 0.4rem;
        min-width: 0;
        overflow: hidden;
        flex-direction: column;
    }
    
    .vehicle-card .vehicle-icon {
        width: 2.5rem;
        height: 2.5rem;
        flex-shrink: 0;
    }
    
    .vehicle-card span {
        font-size: 0.7rem;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
        text-align: center;
    }
    
    #vehicles-list {
        min-width: 0;
        overflow-x: hidden;
    }
    
    .added-vehicle-item {
        padding: 0.875rem;
        flex-wrap: wrap;
        min-width: 0;
        overflow: hidden;
    }
    
    .vehicle-info {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }
    
    .vehicle-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .add-vehicle-btn,
    .continue-btn,
    .submit-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .price-section {
        padding: 1.25rem 1rem;
    }
    
    .price-display {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .added-vehicle-item {
        padding: 0.875rem;
        flex-wrap: wrap;
    }
    
    .vehicle-info {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .vehicle-quantity {
        width: 100%;
        justify-content: flex-end;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .language-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    #cookie-consent {
        padding: 1.25rem 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red-hover);
}
