/* =========================
   GOOGLE FONT
========================= */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap");


/* =========================
   GENERAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0c0b09;
    color: #f3eee5;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}


/* =========================
   HEADER
========================= */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;

    width: 100%;
    padding: 24px 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0)
    );
}

.logo {
    color: #c8a45d;
    font-family: "Cinzel", serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 3px;
}

.page-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-header nav a {
    position: relative;
    color: #f3eee5;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.page-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #c8a45d;
    transition: width 0.3s ease;
}

.page-header nav a:hover {
    color: #c8a45d;
}

.page-header nav a:hover::after {
    width: 100%;
}


/* =========================
   HERO SECTION
========================= */

.car-hero {
    position: relative;

    min-height: 100vh;
    padding: 130px 7% 70px;

    display: flex;
    align-items: flex-end;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.car-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25) 40%,
            rgba(8, 7, 5, 0.96)
        ),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.08)
        );
}

.car-hero-content {
    position: relative;
    z-index: 2;

    width: min(720px, 100%);
}

.car-hero-content span {
    display: block;
    margin-bottom: 14px;

    color: #c8a45d;

    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
}

.car-hero-content h1 {
    margin-bottom: 18px;

    font-family: "Playfair Display", serif;
    font-size: clamp(46px, 7vw, 88px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
}

.car-hero-content p {
    max-width: 570px;
    margin-bottom: 32px;

    color: rgba(243, 238, 229, 0.78);

    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
}


/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 55px;
    padding: 15px 30px;

    border: 1px solid #c8a45d;
    background: #c8a45d;
    color: #0c0b09;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.whatsapp-btn:hover {
    background: transparent;
    color: #c8a45d;
    transform: translateY(-2px);
}


/* =========================
   GALLERY SECTION
========================= */

.car-gallery {
    padding: 105px 7%;
    background: #0c0b09;
}

.car-gallery h2,
.car-info > h2,
.booking-section h2 {
    margin-bottom: 45px;

    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 5vw, 55px);
    font-weight: 600;
    text-align: center;
}

.car-gallery h2::after,
.car-info > h2::after,
.booking-section h2::after {
    content: "";
    display: block;

    width: 60px;
    height: 1px;
    margin: 18px auto 0;

    background: #c8a45d;
}

.gallery-grid {
    max-width: 1350px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.gallery-grid img {
    height: 360px;

    grid-column: span 6;

    object-fit: cover;
    object-position: center;

    border: 1px solid rgba(200, 164, 93, 0.18);
    background: #181611;

    transition:
        transform 0.5s ease,
        border-color 0.4s ease,
        filter 0.4s ease;
}

.gallery-grid img:first-child {
    grid-column: span 8;
    height: 510px;
}

.gallery-grid img:nth-child(2) {
    grid-column: span 4;
    height: 510px;
}

.gallery-grid img:last-child {
    grid-column: span 12;
    height: 560px;
}

.gallery-grid img:hover {
    transform: scale(1.015);
    border-color: rgba(200, 164, 93, 0.65);
    filter: brightness(1.08);
}


/* =========================
   VEHICLE HIGHLIGHTS
========================= */

.car-info {
    padding: 105px 7%;

    background:
        linear-gradient(
            rgba(15, 14, 11, 0.96),
            rgba(15, 14, 11, 0.96)
        );
}

.highlights-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.highlight-card {
    min-height: 210px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid rgba(200, 164, 93, 0.25);
    background: #12110e;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.highlight-card:hover {
    border-color: #c8a45d;
    background: #171510;
}

.highlight-card h3 {
    margin-bottom: 14px;

    color: #c8a45d;

    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
}

.highlight-card p {
    color: rgba(243, 238, 229, 0.68);

    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}


/* =========================
   BOOKING SECTION
========================= */

.booking-section {
    position: relative;

    min-height: 520px;
    padding: 100px 7%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(7, 7, 6, 0.88),
            rgba(7, 7, 6, 0.95)
        ),
        url("images/mercedes-white/front.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.booking-section h2 {
    margin-bottom: 20px;
}

.booking-section p {
    max-width: 620px;
    margin-bottom: 32px;

    color: rgba(243, 238, 229, 0.72);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   TABLET VIEW
========================= */

@media (max-width: 900px) {

    .page-header {
        padding: 22px 4%;
    }

    .page-header nav {
        gap: 18px;
    }

    .car-hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .gallery-grid img,
    .gallery-grid img:first-child,
    .gallery-grid img:nth-child(2),
    .gallery-grid img:last-child {
        grid-column: span 6;
        height: 360px;
    }

    .gallery-grid img:last-child {
        grid-column: span 12;
    }
}


/* =========================
   MOBILE VIEW
========================= */

@media (max-width: 650px) {

    .page-header {
        position: absolute;
        padding: 20px 18px;

        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
    }

    .logo {
        font-size: 16px;
        letter-spacing: 2.5px;
    }

    .page-header nav {
        width: 100%;
        gap: 0;

        justify-content: space-between;
    }

    .page-header nav a {
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .page-header nav a::after {
        display: none;
    }


    /* HERO */

    .car-hero {
        min-height: 100svh;
        padding: 150px 20px 55px;

        align-items: flex-end;

        background-position: 62% center;
    }

    .car-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.25),
                rgba(0, 0, 0, 0.15) 35%,
                rgba(8, 7, 5, 0.98) 90%
            );
    }

    .car-hero-content span {
        margin-bottom: 12px;

        font-size: 10px;
        letter-spacing: 3px;
    }

    .car-hero-content h1 {
        margin-bottom: 15px;

        font-size: clamp(39px, 12vw, 54px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .car-hero-content p {
        margin-bottom: 25px;

        font-size: 14px;
        line-height: 1.7;
    }

    .whatsapp-btn {
        width: 100%;
        min-height: 54px;
        padding: 14px 20px;

        font-size: 11px;
    }


    /* GALLERY */

    .car-gallery {
        padding: 75px 16px;
    }

    .car-gallery h2,
    .car-info > h2,
    .booking-section h2 {
        margin-bottom: 32px;
        font-size: 35px;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;

        gap: 12px;
        padding-bottom: 12px;

        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-grid img,
    .gallery-grid img:first-child,
    .gallery-grid img:nth-child(2),
    .gallery-grid img:last-child {
        flex: 0 0 88%;
        width: 88%;
        height: 440px;

        object-fit: cover;

        scroll-snap-align: center;
    }


    /* HIGHLIGHTS */

    .car-info {
        padding: 75px 16px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .highlight-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .highlight-card h3 {
        font-size: 15px;
    }

    .highlight-card p {
        font-size: 13px;
    }


    /* BOOKING */

    .booking-section {
        min-height: 500px;
        padding: 80px 20px;

        background-position: 65% center;
    }

    .booking-section p {
        margin-bottom: 28px;

        font-size: 14px;
    }
}


/* =========================
   SMALL MOBILE VIEW
========================= */

@media (max-width: 380px) {

    .page-header nav a {
        font-size: 9px;
    }

    .car-hero-content h1 {
        font-size: 37px;
    }

    .gallery-grid img,
    .gallery-grid img:first-child,
    .gallery-grid img:nth-child(2),
    .gallery-grid img:last-child {
        flex-basis: 91%;
        width: 91%;
        height: 390px;
    }
}