/* =========================================
   MERCEDES GLE 53 BLACK
   Mobile-first responsive design
========================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #0c0b09;
    color: #f4efe6;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HEADER
========================================= */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;

    width: 100%;
    padding: 20px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0)
    );
}

.logo {
    max-width: 145px;

    color: #c8a45d;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}

.page-header nav {
    display: none;
}


/* =========================================
   HERO SECTION
========================================= */

.car-hero {
    position: relative;

    min-height: 100svh;
    padding: 120px 20px 60px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    background-image: url("images/mercedes-gle53/front.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.car-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.92) 100%
        );
}

.car-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 650px;
    text-align: center;
}

.car-hero-content span {
    display: block;
    margin-bottom: 12px;

    color: #c8a45d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
}

.car-hero-content h1 {
    margin-bottom: 12px;

    color: #ffffff;
    font-size: clamp(38px, 11vw, 62px);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.05;
}

.car-hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    letter-spacing: 2px;
}


/* =========================================
   GENERAL SECTION STYLES
========================================= */

.car-intro,
.car-gallery,
.car-highlights,
.why-choose,
.car-specs,
.booking-section {
    width: 100%;
    padding: 70px 18px;
}

.car-intro h2,
.car-gallery h2,
.car-highlights h2,
.why-choose h2,
.car-specs h2,
.booking-section h2 {
    margin-bottom: 22px;

    color: #f7f1e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 8vw, 45px);
    font-weight: 500;
    line-height: 1.15;
}

.car-intro h2::after,
.car-gallery h2::after,
.car-highlights h2::after,
.why-choose h2::after,
.car-specs h2::after {
    content: "";
    display: block;

    width: 48px;
    height: 2px;
    margin-top: 16px;

    background: #c8a45d;
}


/* =========================================
   INTRO SECTION
========================================= */

.car-intro {
    text-align: center;
    background: #0c0b09;
}

.car-intro h2::after {
    margin-right: auto;
    margin-left: auto;
}

.car-intro p {
    max-width: 720px;
    margin: 0 auto;

    color: rgba(244, 239, 230, 0.7);
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
   GALLERY
========================================= */

.car-gallery {
    background: #11100e;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.gallery-grid img {
    height: 260px;
    border-radius: 4px;
    object-fit: cover;

    background: #1a1815;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.gallery-grid img:first-child {
    height: 340px;
}


/* =========================================
   HIGHLIGHTS
========================================= */

.car-highlights {
    background: #0c0b09;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.highlight-card {
    min-height: 74px;
    padding: 20px;

    display: flex;
    align-items: center;

    border: 1px solid rgba(200, 164, 93, 0.28);
    border-radius: 4px;
    background: linear-gradient(
        135deg,
        rgba(200, 164, 93, 0.08),
        rgba(255, 255, 255, 0.02)
    );

    color: #eee7dc;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.highlight-card::before {
    content: "";
    flex-shrink: 0;

    width: 7px;
    height: 7px;
    margin-right: 14px;

    border-radius: 50%;
    background: #c8a45d;
    box-shadow: 0 0 12px rgba(200, 164, 93, 0.55);
}


/* =========================================
   WHY CHOOSE
========================================= */

.why-choose {
    background: #11100e;
}

.choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.choose-card {
    position: relative;
    overflow: hidden;

    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: #161410;
}

.choose-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: #c8a45d;
}

.choose-card h3 {
    margin-bottom: 10px;

    color: #f3e8d6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
}

.choose-card p {
    color: rgba(244, 239, 230, 0.65);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   SPECIFICATIONS
========================================= */

.car-specs {
    background: #0c0b09;
}

.specs-box {
    overflow: hidden;

    border: 1px solid rgba(200, 164, 93, 0.32);
    border-radius: 4px;
    background: #12110f;
}

.specs-box p {
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(244, 239, 230, 0.72);
    font-size: 14px;
}

.specs-box p:last-child {
    border-bottom: none;
}

.specs-box strong {
    color: #c8a45d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================
   BOOKING SECTION
========================================= */

.booking-section {
    padding-top: 90px;
    padding-bottom: 90px;

    text-align: center;

    background:
        linear-gradient(
            rgba(7, 7, 7, 0.86),
            rgba(7, 7, 7, 0.94)
        ),
        url("images/mercedes-gle53/interior1.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.booking-section h2 {
    margin-bottom: 15px;
    color: #ffffff;
}

.booking-section p {
    max-width: 500px;
    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.whatsapp-btn {
    width: 100%;
    max-width: 360px;
    min-height: 56px;
    padding: 16px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c8a45d;
    border-radius: 3px;
    background: #c8a45d;

    color: #0c0b09;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.whatsapp-btn:active {
    transform: scale(0.98);
}


/* =========================================
   TABLET
========================================= */

@media (min-width: 600px) {

    .page-header {
        padding: 24px 30px;
    }

    .logo {
        max-width: none;
        font-size: 17px;
    }

    .car-hero {
        padding-right: 30px;
        padding-left: 30px;
    }

    .car-intro,
    .car-gallery,
    .car-highlights,
    .why-choose,
    .car-specs,
    .booking-section {
        padding-right: 30px;
        padding-left: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img,
    .gallery-grid img:first-child {
        height: 300px;
    }

    .gallery-grid img:first-child {
        grid-column: 1 / -1;
        height: 430px;
    }

    .highlight-grid,
    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-box p {
        padding: 20px 24px;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}


/* =========================================
   LAPTOP AND DESKTOP
========================================= */

@media (min-width: 900px) {

    .page-header {
        position: absolute;
        padding: 28px 6%;
    }

    .page-header nav {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .page-header nav a {
        position: relative;

        color: rgba(255, 255, 255, 0.82);
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .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::after {
        width: 100%;
    }

    .car-hero {
        align-items: center;
        justify-content: flex-start;

        padding: 140px 8% 70px;
        background-position: center;
    }

    .car-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.48) 45%,
                rgba(0, 0, 0, 0.12) 100%
            ),
            linear-gradient(
                to top,
                rgba(0, 0, 0, 0.65),
                transparent 55%
            );
    }

    .car-hero-content {
        max-width: 680px;
        text-align: left;
    }

    .car-hero-content h1 {
        font-size: 70px;
    }

    .car-intro,
    .car-gallery,
    .car-highlights,
    .why-choose,
    .car-specs,
    .booking-section {
        padding: 100px 8%;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 260px;
    }

    .gallery-grid img,
    .gallery-grid img:first-child {
        height: 100%;
    }

    .gallery-grid img:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-grid img:nth-child(2) {
        grid-column: span 2;
    }

    .gallery-grid img:hover {
        transform: scale(1.015);
        opacity: 0.9;
    }

    .highlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .choose-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .choose-card {
        min-height: 230px;
    }

    .specs-box {
        max-width: 850px;
    }

    .whatsapp-btn {
        width: auto;
        min-width: 280px;
    }

    .whatsapp-btn:hover {
        background: transparent;
        color: #c8a45d;
    }
}


/* =========================================
   EXTRA LARGE SCREENS
========================================= */

@media (min-width: 1300px) {

    .car-hero-content h1 {
        font-size: 82px;
    }

    .car-intro,
    .car-gallery,
    .car-highlights,
    .why-choose,
    .car-specs,
    .booking-section {
        padding-right: 10%;
        padding-left: 10%;
    }

    .gallery-grid {
        grid-auto-rows: 300px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}