/* ========================================
   MERCEDES-BENZ S-CLASS
   MOBILE-FIRST PREMIUM SHOWROOM
======================================== */

:root {
    --background: #0c0b09;
    --background-soft: #15130f;
    --panel: #1b1813;

    --gold: #c8a45d;
    --gold-soft: #e0c58d;

    --text-main: #f3eee5;
    --text-soft: #b8b0a3;
    --text-dark: #0c0b09;

    --border: rgba(200, 164, 93, 0.25);
    --white-border: rgba(255, 255, 255, 0.12);

    --serif: "Cormorant Garamond", serif;
    --sans: "Jost", sans-serif;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text-main);
    font-family: var(--sans);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}


/* ========================================
   COMMON STYLES
======================================== */

.eyebrow {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 620px;
}

.section-heading h2 {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(2.25rem, 12vw, 4rem);
    font-weight: 400;
    line-height: 0.98;
}

.section-heading > p:last-child {
    color: var(--text-soft);
    font-size: 0.96rem;
    font-weight: 300;
    line-height: 1.8;
}

.button {
    min-height: 52px;
    padding: 0 22px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.button-primary {
    background: var(--gold);
    color: var(--text-dark);
    border: 1px solid var(--gold);
}

.button-secondary {
    background: rgba(12, 11, 9, 0.28);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}


/* ========================================
   HEADER
======================================== */

.site-header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    min-height: 76px;
    padding: 0 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    position: relative;
    z-index: 1002;
}

.brand-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;

    font-family: var(--serif);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.brand-text {
    max-width: 86px;
    color: var(--text-main);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.17em;
    line-height: 1.45;
    text-transform: uppercase;
}

.menu-toggle {
    width: 44px;
    height: 44px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;

    position: relative;
    z-index: 1002;
}

.menu-toggle span {
    height: 1px;
    background: var(--text-main);
    transition:
        transform 0.3s ease,
        width 0.3s ease,
        opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    width: 26px;
}

.menu-toggle span:nth-child(2) {
    width: 20px;
}

.menu-toggle span:nth-child(3) {
    width: 26px;
}

.menu-toggle.active span:nth-child(1) {
    width: 25px;
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    width: 25px;
    transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   MOBILE MENU
======================================== */

.mobile-menu {
    width: 100%;
    min-height: 100vh;
    padding: 120px 24px 40px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    position: fixed;
    inset: 0;

    background:
        linear-gradient(
            rgba(12, 11, 9, 0.94),
            rgba(12, 11, 9, 0.98)
        ),
        url("chauffeering/mercedes2/interior1.jpg");

    background-size: cover;
    background-position: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu a {
    padding: 18px 0;
    border-bottom: 1px solid var(--white-border);

    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
}


/* ========================================
   HERO
======================================== */

.car-hero {
    min-height: 100svh;
    position: relative;

    display: flex;
    align-items: flex-end;

    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(12, 11, 9, 0.25) 0%,
            rgba(12, 11, 9, 0.08) 28%,
            rgba(12, 11, 9, 0.6) 68%,
            rgba(12, 11, 9, 0.98) 100%
        );
}

.hero-content {
    width: 100%;
    padding: 0 20px 92px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    max-width: 520px;
    margin-bottom: 18px;

    font-family: var(--serif);
    font-size: clamp(3.2rem, 16vw, 6.5rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.8;
}

.hero-content h1 span {
    display: block;
    color: var(--gold-soft);
    font-style: italic;
}

.hero-description {
    max-width: 470px;
    margin-bottom: 28px;

    color: rgba(243, 238, 229, 0.82);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.65;
}

.hero-actions {
    display: grid;
    gap: 12px;
}

.scroll-indicator {
    display: none;
}


/* ========================================
   VEHICLE OVERVIEW
======================================== */

.vehicle-overview {
    padding: 88px 20px;
    background: var(--background);
}

.specification-grid {
    margin-top: 48px;
    display: grid;
    gap: 14px;
}

.specification-card {
    min-height: 225px;
    padding: 26px 22px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        );

    border: 1px solid var(--border);
}

.specification-number {
    position: absolute;
    top: 20px;
    right: 20px;

    color: rgba(200, 164, 93, 0.55);
    font-family: var(--serif);
    font-size: 2.4rem;
}

.specification-card h3 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.specification-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}


/* ========================================
   GALLERY
======================================== */

.gallery-section {
    padding: 82px 0;
    background: var(--background-soft);
    overflow: hidden;
}

.gallery-heading {
    padding: 0 20px;
}

.gallery-slider {
    margin-top: 42px;
    position: relative;
}

.gallery-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    touch-action: pan-y;
}

.gallery-slide {
    min-width: 100%;
    padding: 0 14px;
}

.gallery-slide img {
    height: clamp(320px, 112vw, 520px);
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--white-border);
}

.gallery-arrow {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    position: absolute;
    top: 50%;
    z-index: 5;

    background: rgba(12, 11, 9, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;

    font-size: 1rem;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
}

.gallery-arrow-left {
    left: 24px;
}

.gallery-arrow-right {
    right: 24px;
}

.gallery-controls {
    padding: 22px 22px 0;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;

    color: var(--text-soft);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
}

.gallery-progress {
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.gallery-progress-bar {
    width: 12.5%;
    height: 100%;
    background: var(--gold);
    transition: width 0.4s ease;
}


/* ========================================
   SERVICE SECTION
======================================== */

.service-section {
    padding: 88px 20px;
    background: var(--background);
}

.service-list {
    margin-top: 48px;
    border-top: 1px solid var(--border);
}

.service-item {
    padding: 28px 0;

    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;

    border-bottom: 1px solid var(--border);
}

.service-item > span {
    padding-top: 4px;
    color: var(--gold);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.service-item h3 {
    margin-bottom: 9px;
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 400;
}

.service-item p {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}


/* ========================================
   BOOKING SECTION
======================================== */

.booking-section {
    min-height: 620px;
    padding: 90px 20px;

    display: flex;
    align-items: flex-end;

    position: relative;

    background:
        linear-gradient(
            to bottom,
            rgba(12, 11, 9, 0.2),
            rgba(12, 11, 9, 0.9)
        ),
        url("chauffeering/mercedes2/interior8.jpg");

    background-size: cover;
    background-position: center;
}

.booking-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(12, 11, 9, 0.74),
            rgba(12, 11, 9, 0.18)
        );
}

.booking-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.booking-content h2 {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(2.8rem, 13vw, 5rem);
    font-weight: 400;
    line-height: 0.95;
}

.booking-content > p:not(.eyebrow) {
    margin-bottom: 28px;
    color: rgba(243, 238, 229, 0.76);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

.booking-button {
    width: 100%;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 54px 20px 28px;

    background: #080705;
    border-top: 1px solid var(--border);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-brand span {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;

    font-family: var(--serif);
}

.site-footer > p {
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
}

.footer-links {
    margin: 30px 0;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    width: fit-content;

    color: var(--text-main);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.copyright {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 370px) {

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-heading h2 {
        font-size: 2.2rem;
    }

    .gallery-slide {
        padding: 0 10px;
    }

    .gallery-slide img {
        height: 300px;
    }

    .gallery-arrow-left {
        left: 18px;
    }

    .gallery-arrow-right {
        right: 18px;
    }

}


/* ========================================
   TABLET
======================================== */

@media (min-width: 700px) {

    .navbar {
        padding: 0 34px;
    }

    .hero-content {
        padding: 0 42px 105px;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-actions .button {
        min-width: 190px;
    }

    .vehicle-overview,
    .service-section {
        padding-left: 42px;
        padding-right: 42px;
    }

    .gallery-heading {
        padding-left: 42px;
        padding-right: 42px;
    }

    .specification-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-slide {
        padding: 0 42px;
    }

    .gallery-slide img {
        height: 580px;
    }

    .gallery-arrow-left {
        left: 58px;
    }

    .gallery-arrow-right {
        right: 58px;
    }

    .gallery-controls {
        padding-left: 44px;
        padding-right: 44px;
    }

    .booking-section {
        padding-left: 42px;
        padding-right: 42px;
    }

    .booking-button {
        width: auto;
        min-width: 210px;
    }

}


/* ========================================
   DESKTOP
======================================== */

@media (min-width: 1000px) {

    .site-header {
        position: absolute;
    }

    .navbar {
        min-height: 90px;
        padding: 0 60px;
    }

    .brand-text {
        max-width: none;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        width: auto;
        min-height: auto;
        padding: 0;

        display: flex;
        flex-direction: row;
        gap: 34px;

        position: static;

        background: none;

        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mobile-menu a {
        padding: 0;
        border: none;

        font-family: var(--sans);
        font-size: 0.68rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .car-hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 7vw 10vh;
    }

    .hero-content h1 {
        max-width: 760px;
        font-size: clamp(5.8rem, 9vw, 9rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;

        position: absolute;
        right: 50px;
        bottom: 42px;
        z-index: 2;

        color: rgba(243, 238, 229, 0.65);
        font-size: 0.63rem;
        letter-spacing: 0.22em;
        text-transform: uppercase;
    }

    .scroll-line {
        width: 1px;
        height: 52px;
        background: linear-gradient(
            to bottom,
            var(--gold),
            transparent
        );
    }

    .vehicle-overview,
    .service-section {
        padding: 130px 7vw;
    }

    .section-heading {
        max-width: 720px;
    }

    .section-heading h2 {
        font-size: 4.8rem;
    }

    .specification-card {
        min-height: 310px;
        padding: 34px;
    }

    .gallery-section {
        padding: 120px 0;
    }

    .gallery-heading {
        padding: 0 7vw;
    }

    .gallery-slide {
        padding: 0 7vw;
    }

    .gallery-slide img {
        height: 74vh;
        min-height: 620px;
    }

    .gallery-arrow {
        width: 54px;
        height: 54px;
    }

    .gallery-arrow-left {
        left: calc(7vw + 18px);
    }

    .gallery-arrow-right {
        right: calc(7vw + 18px);
    }

    .gallery-controls {
        padding-left: 7vw;
        padding-right: 7vw;
    }

    .service-item {
        padding: 38px 0;
        grid-template-columns: 70px 1fr;
    }

    .service-item h3 {
        font-size: 2.2rem;
    }

    .booking-section {
        min-height: 780px;
        padding: 110px 7vw;
    }

    .booking-content h2 {
        font-size: 5.6rem;
    }

    .site-footer {
        padding: 70px 7vw 35px;
    }

}


/* ========================================
   HOVER DEVICES
======================================== */

@media (hover: hover) {

    .button-primary:hover {
        background: var(--gold-soft);
        border-color: var(--gold-soft);
    }

    .button-secondary:hover {
        background: var(--text-main);
        color: var(--text-dark);
        border-color: var(--text-main);
    }

    .mobile-menu a:hover,
    .footer-links a:hover {
        color: var(--gold);
    }

    .gallery-arrow:hover {
        background: var(--gold);
        color: var(--text-dark);
        border-color: var(--gold);
    }

}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}