:root {
    --color-bg: #0a0a0a;
    --color-surface: #121212;
    --color-surface-hover: #1e1e1e;
    --color-text: #f4f4f5;
    --color-text-muted: #a1a1aa;
    --color-gold: #d4af37;
    --color-gold-hover: #b4942d;
    --color-silver: #c0c0c0;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --container-width: 1200px;
    --radius: 4px;
    --header-height: 80px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 400;
}

.logo {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--color-text);
}

.logo__dot {
    color: var(--color-gold);
}

/* Components */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-bg);
}

.btn--gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn--outline {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn--outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* Header */
.header {
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.nav__link:hover {
    color: var(--color-gold);
}

/* Footer */
.footer {
    background-color: var(--color-surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-gold);
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Hero */
.hero {
    min-height: 100vh;
    /* Allow it to grow, ensure full screen impact */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('/static/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0;
    /* Add vertical padding to prevent clipping */
}

.hero__content {
    text-align: left;
    max-width: 600px;
    margin-bottom: 0;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

/* Booking Widget */
.booking-widget {
    background-color: rgba(18, 18, 18, 0.85);
    /* Glassmorphism base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Mobile Booking Widget Adjustment */
@media (max-width: 600px) {
    .booking-widget {
        padding: 1.5rem;
        background-color: rgba(18, 18, 18, 0.95);
        /* More opaque on mobile for readability */
    }

    .form-input,
    .form-select {
        padding: 1rem;
        /* Larger touch target */
        font-size: 1rem;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-body);
}

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

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.vehicle-card {
    background-color: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.vehicle-image {
    width: 100%;
    height: 250px;
    background-color: #222;
    /* Placeholder */
    object-fit: cover;
}

.vehicle-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vehicle-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Responsive Design */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Mobile & Tablet Portrait */
@media (max-width: 960px) {
    .header__container {
        /* flex-direction: column;  <-- REMOVED to keep it as ROW */
        gap: 1rem;
        padding: 0 1.5rem;
        /* Ensure consistent padding */
    }

    .nav__list {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        /* Force Stack */
        padding-top: 120px;
        /* Space for stacked header */
    }

    .hero>.container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .booking-widget {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
}

/* Mobile Phones */
@media (max-width: 600px) {
    :root {
        --header-height: auto;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
        /* Prevent overflow */
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vehicle-image {
        height: 200px;
        /* Slightly smaller on mobile */
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .booking-widget {
        padding: 1.5rem;
    }
}

/* --- Mobile Menu Overlay System --- */

/* Toggle Button (Hidden on Desktop) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    /* Above overlay */
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Mobile Menu Logic */
@media (max-width: 960px) {
    .mobile-toggle {
        display: flex;
        order: 5;
        /* Force to right side */
    }

    .nav__list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
        /* Premium Gradient */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        /* Hidden top */
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        padding-top: 60px;
    }

    /* Active State */
    .nav__list.active {
        transform: translateY(0);
    }

    /* Animate Links */
    /* Animate Links, Button, and Lang Switcher */
    .nav__list.active .nav__link,
    .nav__list.active .mobile-only .btn,
    .nav__list.active .lang-switcher {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .nav__list .nav__link,
    .nav__list .mobile-only .btn,
    .nav__list .lang-switcher {
        opacity: 0;
        transform: translateY(20px);
        transition: none;
        /* Reset when closing */
    }

    /* Stagger Delays */
    .nav__list.active li:nth-child(1) .nav__link {
        transition-delay: 0.1s;
    }

    .nav__list.active li:nth-child(2) .nav__link {
        transition-delay: 0.2s;
    }

    .nav__list.active li:nth-child(3) .nav__link {
        transition-delay: 0.3s;
    }

    .nav__list.active li:nth-child(4) .nav__link {
        transition-delay: 0.4s;
    }

    .nav__list.active li:nth-child(5) .nav__link {
        transition-delay: 0.5s;
    }

    .nav__list.active li:nth-child(6) .btn {
        transition-delay: 0.6s;
    }

    .nav__list.active li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .nav__link {
        font-family: var(--font-body);
        /* Revert to Sans-Serif */
        font-size: 2rem;
        font-weight: 500;
        /* Slightly bolder for sans */
        color: var(--color-text);
        text-transform: uppercase;
        /* Revert to Uppercase */
    }

    .nav__link:hover {
        color: var(--color-gold);
        font-style: italic;
        /* Elegant touch */
    }

    /* Toggle Animation (Hamburger to X) */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--color-gold);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: var(--color-gold);
    }
}

/* --- Header Alignment Fixes --- */

.header__container {
    justify-content: space-between;
    align-items: center;
    /* Vertical Center */
}

/* Visibility Utilities */
.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-block;
}

/* Nav List Desktop Alignment */
.nav__list {
    align-items: center;
    margin: 0 auto;
    /* Center the nav if possible, or usually space-between handles it */
}

/* Mobile Adjustments */
@media (max-width: 960px) {
    .header__container {
        padding: 0 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 1rem;
    }

    /* Ensure NavList Overlay is correctly positioned */
    .nav__list {
        margin: 0;
        padding-top: 80px;
        /* More space from top */
    }
}

/* --- Services Page Styles --- */

.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/images/services_bg.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-row.reverse {
    direction: rtl;
    /* visual swap */
}

.service-row.reverse .service-content {
    direction: ltr;
    /* fix text direction */
}

.service-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.service-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 3rem;
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.inclusion-item {
    text-align: center;
}

.inclusion-item i {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* Mobile adjustments for Services */
@media (max-width: 960px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .service-row.reverse {
        direction: ltr;
        /* Reset for mobile stack */
    }

    .service-image {
        height: 250px;
    }

    .service-content h2 {
        font-size: 2rem;
    }
}

/* --- Contact Page Styles --- */

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

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

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
}

/* Mobile Contact Styles */
@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 3rem;
    }

    .contact-info {
        order: 2;
        /* Info below form or above? Let's keep info above usually, or form first. Standard is info first. */
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }
}

/* Language Switcher */
.lang-switcher a {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin: 0 0.2rem;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--color-gold);
}