/* =========================================
   MERCEDES GLE 63 GREY
   ROYAL VIP CARS
   MOBILE + LAPTOP RESPONSIVE DESIGN
========================================= */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap");

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0c0b09;
    color: #f3efe6;
    font-family: "Jost", sans-serif;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   HEADER
========================================= */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 85px;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(200, 164, 93, 0.22);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72),
        rgba(0, 0, 0, 0.05)
    );
}

.logo {
    color: #c8a45d;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 3px;
    white-space: nowrap;
}

.page-header nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

.page-header nav a {
    position: relative;
    color: #f3efe6;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 2px;
    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;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 130px 7% 90px;
    overflow: hidden;
}

.mercedes-grey-hero {
    background-image: url("images/mercedes-grey/front.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(5, 5, 5, 0.88) 0%,
            rgba(5, 5, 5, 0.52) 48%,
            rgba(5, 5, 5, 0.18) 100%
        ),
        linear-gradient(
            to top,
            rgba(5, 5, 5, 0.95) 0%,
            rgba(5, 5, 5, 0.16) 58%,
            rgba(5, 5, 5, 0.4) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    animation: heroFade 1.1s ease forwards;
}

.hero-content span {
    display: inline-block;
    margin-bottom: 18px;
    color: #c8a45d;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 5px;
}

.hero-content h1 {
    max-width: 850px;
    color: #f7f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.4rem, 7vw, 7rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -1px;
    text-wrap: balance;
}

.hero-content p {
    margin-top: 25px;
    max-width: 620px;
    color: rgba(243, 239, 230, 0.78);
    font-size: clamp(0.92rem, 1.4vw, 1.1rem);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 1px;
}

/* =========================================
   CAR ABOUT / VIP INFO
========================================= */

.car-about {
    padding: 110px 7%;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(200, 164, 93, 0.07),
            transparent 32%
        ),
        #0c0b09;
}

.vip-box {
    width: min(1250px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 70px;
    padding: 65px;
    border: 1px solid rgba(200, 164, 93, 0.48);
    background: rgba(255, 255, 255, 0.018);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.35),
        inset 0 0 40px rgba(255, 255, 255, 0.01);
}

.vip-specs {
    padding-right: 50px;
    border-right: 1px solid rgba(200, 164, 93, 0.25);
}

.vip-specs h3 {
    margin-bottom: 30px;
    color: #c8a45d;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 500;
}

.vip-specs ul {
    list-style: none;
}

.vip-specs li {
    padding: 15px 0;
    color: rgba(243, 239, 230, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vip-specs li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.vip-specs strong {
    color: #f3efe6;
    font-weight: 500;
}

.vip-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vip-description h2 {
    margin-bottom: 28px;
    color: #f7f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 4.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
}

.vip-description p {
    max-width: 720px;
    margin-bottom: 18px;
    color: rgba(243, 239, 230, 0.7);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
}

/* =========================================
   GALLERY
========================================= */

.car-gallery {
    padding: 110px 5%;
    background: #11100e;
}

.car-gallery > h2 {
    margin-bottom: 55px;
    color: #f7f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    text-align: center;
}

.car-gallery > h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 1px;
    margin: 20px auto 0;
    background: #c8a45d;
}

.gallery-grid {
    width: min(1450px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 14px;
}

.gallery-grid img {
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    filter: brightness(0.88);
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

.gallery-grid img:hover {
    transform: scale(1.018);
    filter: brightness(1);
}

.gallery-grid img:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
}

.gallery-grid img:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5) {
    grid-column: span 4;
}

.gallery-grid img:nth-child(6) {
    grid-column: span 7;
}

.gallery-grid img:nth-child(7) {
    grid-column: span 5;
}

/* =========================================
   BOOKING SECTION
========================================= */

.booking-section {
    position: relative;
    min-height: 500px;
    padding: 110px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(
            rgba(9, 8, 7, 0.88),
            rgba(9, 8, 7, 0.96)
        ),
        url("images/mercedes-grey/side.jpg") center / cover no-repeat;
}

.booking-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(850px, 90%);
    height: 75%;
    border: 1px solid rgba(200, 164, 93, 0.22);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.booking-section h2,
.booking-section p,
.whatsapp-btn {
    position: relative;
    z-index: 2;
}

.booking-section h2 {
    color: #f7f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1;
}

.booking-section p {
    max-width: 640px;
    margin: 25px auto 38px;
    color: rgba(243, 239, 230, 0.72);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

.whatsapp-btn {
    min-width: 220px;
    padding: 17px 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #0c0b09;
    background: #c8a45d;
    border: 1px solid #c8a45d;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.whatsapp-btn:hover {
    color: #c8a45d;
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* =========================================
   ANIMATION
========================================= */

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   TABLET VIEW
========================================= */

@media (max-width: 1000px) {

    .page-header {
        padding-inline: 4%;
    }

    .page-header nav {
        gap: 18px;
    }

    .vip-box {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 50px;
    }

    .vip-specs {
        padding-right: 0;
        padding-bottom: 40px;
        border-right: none;
        border-bottom: 1px solid rgba(200, 164, 93, 0.25);
    }

    .gallery-grid {
        grid-auto-rows: 210px;
    }
}

/* =========================================
   MOBILE VIEW
========================================= */

@media (max-width: 768px) {

    .page-header {
        position: absolute;
        min-height: auto;
        padding: 18px 20px;
        flex-direction: column;
        gap: 16px;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.08)
        );
    }

    .logo {
        font-size: 1.15rem;
        letter-spacing: 2.5px;
    }

    .page-header nav {
        width: 100%;
        justify-content: center;
        gap: 17px;
    }

    .page-header nav a {
        font-size: 0.63rem;
        letter-spacing: 1px;
    }

    .car-hero {
        min-height: 100svh;
        padding: 160px 22px 60px;
        align-items: flex-end;
    }

    .mercedes-grey-hero {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                to top,
                rgba(5, 5, 5, 0.98) 0%,
                rgba(5, 5, 5, 0.63) 40%,
                rgba(5, 5, 5, 0.15) 75%
            ),
            linear-gradient(
                to right,
                rgba(5, 5, 5, 0.62),
                rgba(5, 5, 5, 0.08)
            );
    }

    .hero-content span {
        margin-bottom: 13px;
        font-size: 0.65rem;
        letter-spacing: 3.5px;
    }

    .hero-content h1 {
        max-width: 360px;
        font-size: clamp(2.8rem, 13vw, 4.4rem);
        line-height: 0.92;
    }

    .hero-content p {
        max-width: 340px;
        margin-top: 18px;
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .car-about {
        padding: 75px 18px;
    }

    .vip-box {
        gap: 35px;
        padding: 35px 22px;
    }

    .vip-specs {
        padding-bottom: 30px;
    }

    .vip-specs h3 {
        margin-bottom: 22px;
        font-size: 1.65rem;
    }

    .vip-specs li {
        padding: 13px 0;
        font-size: 0.84rem;
    }

    .vip-description h2 {
        margin-bottom: 22px;
        font-size: clamp(2.3rem, 10vw, 3.4rem);
        line-height: 1;
    }

    .vip-description p {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .car-gallery {
        padding: 75px 14px;
    }

    .car-gallery > h2 {
        margin-bottom: 38px;
        font-size: 3.2rem;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 12px;
    }

    .gallery-grid img,
    .gallery-grid img:nth-child(1),
    .gallery-grid img:nth-child(2),
    .gallery-grid img:nth-child(3),
    .gallery-grid img:nth-child(4),
    .gallery-grid img:nth-child(5),
    .gallery-grid img:nth-child(6),
    .gallery-grid img:nth-child(7) {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: 250px;
        max-height: 420px;
        object-fit: cover;
    }

    .gallery-grid img:hover {
        transform: none;
    }

    .booking-section {
        min-height: 520px;
        padding: 90px 25px;
        background-position: center;
    }

    .booking-section::before {
        width: calc(100% - 30px);
        height: calc(100% - 65px);
    }

    .booking-section h2 {
        max-width: 320px;
        font-size: 3.4rem;
    }

    .booking-section p {
        max-width: 330px;
        margin: 22px auto 32px;
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 24px;
        font-size: 0.76rem;
    }
}

/* =========================================
   SMALL MOBILE VIEW
========================================= */

@media (max-width: 420px) {

    .page-header {
        padding-inline: 12px;
    }

    .page-header nav {
        gap: 12px;
    }

    .page-header nav a {
        font-size: 0.57rem;
    }

    .car-hero {
        padding-inline: 18px;
        padding-bottom: 48px;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .vip-box {
        padding: 30px 18px;
    }

    .gallery-grid img,
    .gallery-grid img:nth-child(1),
    .gallery-grid img:nth-child(2),
    .gallery-grid img:nth-child(3),
    .gallery-grid img:nth-child(4),
    .gallery-grid img:nth-child(5),
    .gallery-grid img:nth-child(6),
    .gallery-grid img:nth-child(7) {
        min-height: 220px;
    }

    .booking-section h2 {
        font-size: 3rem;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}