/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility and navigation refinements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-menu-toggle {
    display: none;
}

.hero-title {
    margin: 0 0 0.35rem;
    color: #f5c518;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #1565c0;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility: hidden by default for mobile extras */
.hidden {
    display: none !important;
}
/* Mobile-only extras: hidden by default on wide screens */
.mobile-extra {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header/Navigation
   ======================================== */
.header {
    background: linear-gradient(135deg, #E6B800 0%, #D9A400 100%);
    color: #3a2f00;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-brand {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #3a2f00;
    transition: font-size 180ms ease;
}

.fi {
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.header-location,
.header-subtitle {
    color: #3a2f00;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: #3a2f00;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.7;
}

/* Contact button style in header (matches call-button appearance) */
.contact-button {
    background-color: #ffffff;
    color: #E6A400 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: none; /* keep contact button hidden by default (only show on mobile) */
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Smooth font-size transitions for header elements */
.tagline,
.header-location,
.header-subtitle,
.nav a {
    transition: font-size 180ms ease, color 160ms ease;
}

.call-button {
    background-color: #ffffff;
    color: #0d0d0d !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.call-button:hover {
    background-color: #f0f0f0;
    color: #0d0d0d !important;
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
    position: relative;
}

.lang-switcher-toggle {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 0.9rem;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #3a2f00;
    font-weight: 600;
}

.language-country-flag {
    display: block;
    width: 1.35rem;
    height: 1rem;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-switcher-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 150px;
    display: none;
    flex-direction: column;
    z-index: 200;
}

.lang-switcher.open .lang-switcher-menu {
    display: flex;
}

.lang-switcher-menu button {
    background: none;
    border: none;
    padding: 0.7rem 1rem;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #333;
}

.lang-switcher-menu button:hover {
    background-color: #FFF8E1;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background: #0d0d0d;
    color: #ffffff;
    text-align: center;
    min-height: 500px;
}

.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 480px;
    width: 90%;
    height: auto;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease;
}

.hero-content .location {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-content > p:nth-of-type(2) {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    display: none;
}

/* ========================================
   Buttons
   ======================================== */
.cta-button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #ee5a5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    color: #ffffff;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Make call-styled CTA match header color when combined with .cta-button (hero on dark bg) */
.cta-button.call-button {
    background: linear-gradient(135deg, #E6B800 0%, #D9A400 100%);
    color: #0d0d0d;
    box-shadow: 0 4px 15px rgba(230, 184, 0, 0.25);
    /* match regular CTA button size (contact submit) */
    padding: 1rem 2.5rem;
    min-height: 48px;
}

.cta-button.call-button:hover {
    background: linear-gradient(135deg, #D9A400 0%, #CC9900 100%);
    color: #0d0d0d;
}

/* Ensure vertical centering of text inside call buttons */
.cta-button.call-button,
.nav .call-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 2rem 0 4rem;
    background-color: #f8f9fa;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #E6A400;
}

.about > .container > p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Drivers Section
   ======================================== */
.drivers-section {
    padding: 4rem 0;
    background: white;
}

.drivers-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #E6A400;
}

.drivers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.driver-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.driver-card:hover {
    transform: translateY(-5px);
}

.driver-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #FFC107;
}

.driver-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD600 0%, #FFC107 100%);
    color: #3a2f00;
    font-size: 3rem;
    font-weight: bold;
    border: 4px solid #FFC107;
}

.driver-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.driver-quote {
    font-style: italic;
    color: #666;
    margin-top: 0.6rem;
    position: relative;
}

.driver-about {
    color: #666;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #E6A400;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    flex: 1 1 220px;
    max-width: 300px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #333;
}

.service-card p {
    color: #666;
}

/* ========================================
   Cars Gallery Section
   ======================================== */
.cars-section {
    padding: 4rem 0;
    background: white;
}

.cars-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #E6A400;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.car-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.car-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.car-photos img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.car-photos img:hover {
    transform: scale(1.03);
}

.car-card-info {
    padding: 1.5rem;
}

.car-card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.car-card-info ul {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.car-card-info li {
    padding: 0.4rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #555;
}

.car-card-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E6A400;
    font-weight: bold;
}

/* ========================================
   Pricing Sections (Airport transfers + general)
   ======================================== */
.pricing-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pricing-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #E6A400;
}

.pricing-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
}

.price-table {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.price-row:last-child {
    border-bottom: none;
}

.price-route {
    font-weight: 600;
    color: #333;
}

.price-value {
    font-weight: 700;
    color: #E6A400;
    font-size: 1.1rem;
}

.general-pricing {
    background: white;
}

.price-summary {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.price-summary-item {
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.price-summary-item .price-value {
    font-size: 1.8rem;
    display: block;
}

.price-summary-item .price-label {
    color: #666;
    margin-top: 0.3rem;
}

/* ========================================
   Order Section
   ======================================== */
.order-section {
    padding: 4rem 0;
    background: white;
}

.order-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #E6A400;
}

.order-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
}

.order-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-form input,
.order-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.order-form input:focus,
.order-form textarea:focus {
    outline: none;
    border-color: #E6A400;
}

.order-time-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-time-row input[type="datetime-local"] {
    flex: 1 1 220px;
}

.order-time-row input[type="datetime-local"]:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.order-asap-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.order-asap-toggle input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #E6A400;
    cursor: pointer;
}

.order-submit-button {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.order-submit-button:hover {
    background-color: #1EBE5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.order-icon {
    font-size: 1.2rem;
    margin-top: -12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.order-status {
    text-align: center;
    font-weight: 600;
    min-height: 1.5rem;
    opacity: 0;
    transition: opacity 200ms ease;
}

.order-status.order-status-visible {
    opacity: 1;
}

.order-status.order-status-success {
    color: #1EBE5A;
}

.order-status.order-status-error {
    color: #d9534f;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 4rem 0;
    background: white;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #E6A400;
}

.form-title {
    font-size: 1.25rem;
    margin-left: 0.2rem;
    color: #333;
    font-weight: 600;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-info:first-child h3 {
    margin-top: 0;
}

.contact-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #E6A400;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #C98500;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFC107;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #FFD600 0%, #FFC107 100%);
    color: #3a2f00;
    text-align: center;
    padding: 1rem 0;
}

/* ========================================
   Animations
   ======================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Responsive Design - Tablets
   ======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-logo {
        max-width: 320px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-button {
        width: 100%;
    }

    .nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .drivers {
        grid-template-columns: 1fr;
    }

    .price-summary {
        gap: 1.5rem;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
        gap: 0;
    }

    .header.mobile-expanded .container {
        gap: 1rem;
    }

    /* Mobile: animate header padding; allow height to auto-size with children */
    .header {
        transition: padding 220ms ease;
        padding: 0.6rem 0;
    }

    .header.mobile-expanded {
        padding: 1rem 0;
    }

    /* When header is expanded (at top on mobile) make text slightly larger */
    .header.mobile-expanded .logo {
        font-size: 1.9rem;
    }

    .header.mobile-expanded .header-location,
    .header.mobile-expanded .header-subtitle {
        font-size: 1.05rem;
    }

    .header.mobile-expanded .nav a {
        font-size: 1.05rem;
    }

    .header.mobile-expanded .call-button,
    .header.mobile-expanded .contact-button {
        font-size: 1.2rem;
        padding: 0.9rem 1.5rem !important;
    }

    .header-brand {
        text-align: center;
        align-items: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 10%;
        font-size: 0.85rem;
        width: 100%;
    }

    .call-button {
        padding: 0.5rem 1rem !important;
    }

    /* Place header call button on its own line below other links */
    .nav a:not(.call-button) {
        order: 1;
    }

    .nav a.call-button,
    .nav a.contact-button {
        order: 3;
        flex-basis: 100%;
        display: inline-flex;
        justify-content: center;
        padding: 0.9rem 1rem !important;
        min-height: 56px;
        font-size: 1.05rem;
        width: 100% !important;
    }

    .nav .lang-switcher {
        order: 2;
        flex-basis: 100%;
        display: flex;
        justify-content: center;
    }

    .hero {
        padding: 1.5rem 0;
        display: none !important;
        visibility: hidden;
        height: 0;
        overflow: hidden;
    }

    /* Mobile extras (location / subtitle / contact) - fade and collapse vertically */
    .mobile-extra {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-6px);
        transition: opacity 220ms ease, transform 220ms ease, max-height 240ms ease;
        display: block;
        pointer-events: none;
    }

    .mobile-extra.mobile-visible {
        opacity: 1;
        transform: none;
        max-height: 120px;
        pointer-events: auto;
    }

    /* ensure contact-button displays as inline-flex when visible on mobile */
    .mobile-extra.mobile-visible.contact-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .about h2,
    .services h2,
    .drivers-section h2,
    .cars-section h2,
    .pricing-section h2,
    .order-section h2,
    .contact h2 {
        font-size: 2rem;
    }

    .order-form-grid {
        grid-template-columns: 1fr;
    }

    .about > .container > p {
        font-size: 1rem;
    }

    .service-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .car-photos {
        grid-template-columns: 1fr 1fr;
    }

    .car-photos img {
        height: 140px;
    }

    .price-row {
        padding: 1rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }
}

/* Final responsive overrides */
@media (max-width: 760px) {
    .header { padding: 0; }
    .header .container {
        min-height: 68px;
        padding-block: 10px;
        display: grid;
        grid-template-columns: 1fr auto;
        flex-direction: initial;
        gap: 10px;
    }
    .header-brand { align-items: flex-start; text-align: left; }
    .mobile-extra { display: none !important; }
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        display: grid;
        place-content: center;
        gap: 5px;
        border: 0;
        border-radius: 10px;
        background: rgba(255,255,255,.55);
        cursor: pointer;
    }
    .mobile-menu-toggle span { width: 22px; height: 2px; border-radius: 2px; background: #2a2300; }
    .nav {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        padding: 10px 0 4px;
        gap: 8px;
        align-items: stretch;
    }
    .nav.open { display: grid; grid-template-columns: 1fr 1fr; }
    .nav a,
    .nav a:not(.call-button) { order: initial; padding: 10px; border-radius: 8px; text-align: center; }
    .nav a.call-button,
    .nav a.contact-button {
        order: initial;
        grid-column: 1 / -1;
        flex-basis: auto;
        min-height: 48px;
        padding: 0.7rem 1rem !important;
        font-size: 1rem;
    }
    .nav .contact-button { display: none !important; }
    .nav .lang-switcher { order: initial; grid-column: 1 / -1; flex-basis: auto; justify-content: center; }
    .hero {
        display: flex !important;
        visibility: visible;
        height: auto;
        min-height: calc(100svh - 68px);
        padding: 3rem 20px;
    }
    .hero-logo { width: min(100%, 420px); margin-bottom: 1rem; }
    .hero-content > p:nth-of-type(2) { margin-bottom: 1.4rem; }
    .order-time-row { align-items: stretch; }
}
