/* =========================================
   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");


/* =========================================
   GLOBAL SETTINGS
========================================= */

:root {
    --background: #0c0b09;
    --background-soft: #15130f;
    --card-background: #191712;
    --gold: #c8a45d;
    --gold-light: #e0c27f;
    --ivory: #f3efe6;
    --text-muted: #b9b2a7;
    --border: rgba(200, 164, 93, 0.28);
    --header-height: 82px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
    color: var(--ivory);
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HEADER / NAVBAR
========================================= */

.page-header {
    width: 100%;
    min-height: var(--header-height);
    padding: 0 6%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: linear-gradient(
        to bottom,
        rgba(7, 7, 6, 0.9),
        rgba(7, 7, 6, 0.25),
        transparent
    );

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: 2.5px;
    white-space: nowrap;
}

.page-header nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
}

.page-header nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.page-header nav a::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -7px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.page-header nav a:hover {
    color: var(--gold-light);
}

.page-header nav a:hover::after {
    width: 100%;
}


/* =========================================
   HERO SECTION
========================================= */

.car-hero {
    width: 100%;
    min-height: 100svh;
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: flex-end;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.lamborghini-urus-yellow-hero {
    background-image: url("images/lamborghini-urus-yellow/front.jpg");
}

.car-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 4, 0.88) 0%,
            rgba(5, 5, 4, 0.58) 40%,
            rgba(5, 5, 4, 0.12) 75%
        ),
        linear-gradient(
            to top,
            rgba(5, 5, 4, 0.94) 0%,
            rgba(5, 5, 4, 0.22) 58%,
            rgba(5, 5, 4, 0.35) 100%
        );
}

.car-hero-content {
    width: min(760px, 88%);
    margin-left: 6%;
    padding: 180px 0 95px;
}

.car-hero-content span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.car-hero-content h1 {
    max-width: 750px;
    margin-bottom: 22px;
    color: var(--ivory);
    font-family: "Playfair Display", serif;
    font-size: clamp(46px, 6.5vw, 94px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -2px;
    text-wrap: balance;
}

.car-hero-content p {
    max-width: 660px;
    color: rgba(243, 239, 230, 0.82);
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 300;
    line-height: 1.8;
}


/* =========================================
   CAR DETAILS SECTION
========================================= */

.car-details {
    width: 100%;
    padding: 105px 6%;
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(200, 164, 93, 0.08),
            transparent 32%
        ),
        var(--background);
}

.car-details-box {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: clamp(30px, 5vw, 65px);

    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
    gap: clamp(45px, 7vw, 100px);
    align-items: center;

    background: linear-gradient(
        145deg,
        rgba(27, 24, 18, 0.96),
        rgba(15, 14, 11, 0.96)
    );

    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.car-specs-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1px;
    overflow: hidden;

    background: var(--border);
    border: 1px solid var(--border);
}

.mini-spec {
    min-height: 135px;
    padding: 26px 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--background-soft);
}

.mini-spec span {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mini-spec h4 {
    color: var(--ivory);
    font-family: "Cinzel", serif;
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 500;
    line-height: 1.45;
}

.car-details-text span {
    display: block;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

.car-details-text h2 {
    max-width: 570px;
    margin-bottom: 24px;
    color: var(--ivory);
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 600;
    line-height: 1.12;
}

.car-details-text p {
    max-width: 660px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.95;
}


/* =========================================
   PHOTO GALLERY
========================================= */

.car-gallery {
    padding: 105px 6%;
    text-align: center;
    background: #11100d;
}

.car-gallery > span {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
}

.car-gallery > h2 {
    max-width: 850px;
    margin: 0 auto 55px;
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 600;
    line-height: 1.18;
}

.gallery-grid {
    width: min(1320px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(290px, 36vw, 520px);
    gap: 14px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--card-background);
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.gallery-grid img:first-child {
    grid-column: 1 / -1;
}

.gallery-grid img:hover {
    transform: scale(1.012);
    filter: brightness(1.08);
}


/* =========================================
   HIGHLIGHTS / SPECS
========================================= */

.car-specs {
    padding: 105px 6%;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(200, 164, 93, 0.07),
            transparent 32%
        ),
        var(--background);
}

.car-specs h2 {
    margin-bottom: 50px;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 600;
}

.specs-grid {
    width: min(1200px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.spec-box {
    min-height: 190px;
    padding: 34px 27px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(
        145deg,
        rgba(28, 25, 19, 0.94),
        rgba(17, 16, 13, 0.94)
    );

    border: 1px solid rgba(200, 164, 93, 0.2);
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.spec-box:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 164, 93, 0.6);
}

.spec-box h3 {
    margin-bottom: 13px;
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-box p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}


/* =========================================
   BOOKING SECTION
========================================= */

.booking-section {
    min-height: 510px;
    padding: 100px 6%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;

    background-image: url("images/lamborghini-urus-yellow/front.jpg");
    background-size: cover;
    background-position: center 65%;
}

.booking-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: rgba(7, 7, 6, 0.79);
}

.booking-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 7, 0.85),
            rgba(8, 8, 7, 0.36),
            rgba(8, 8, 7, 0.85)
        ),
        linear-gradient(
            to top,
            rgba(8, 8, 7, 0.88),
            transparent,
            rgba(8, 8, 7, 0.5)
        );
}

.booking-section h2 {
    max-width: 850px;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 600;
    line-height: 1.12;
    text-wrap: balance;
}

.booking-section p {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(243, 239, 230, 0.75);
    font-size: 16px;
    font-weight: 300;
}

.hero-btn {
    min-width: 180px;
    min-height: 56px;
    padding: 16px 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #11100d;
    background: var(--gold);

    border: 1px solid var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.hero-btn:hover {
    color: var(--gold-light);
    background: transparent;
    transform: translateY(-3px);
}


/* =========================================
   TABLET VIEW
========================================= */

@media (max-width: 1000px) {

    .page-header {
        padding-inline: 4%;
    }

    .car-hero-content {
        margin-left: 5%;
    }

    .car-details-box {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .car-specs-mini {
        max-width: 680px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================
   MOBILE VIEW
========================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 72px;
    }

    .page-header {
        min-height: auto;
        padding: 17px 20px;
        position: absolute;
        align-items: flex-start;
        gap: 15px;
    }

    .logo {
        max-width: 120px;
        font-size: 14px;
        line-height: 1.35;
        letter-spacing: 1.5px;
        white-space: normal;
    }

    .page-header nav {
        max-width: 215px;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 9px 16px;
    }

    .page-header nav a {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .page-header nav a::after {
        display: none;
    }

    .car-hero {
        min-height: 100svh;
        align-items: flex-end;
        background-position: 62% center;
    }

    .car-hero-overlay {
        background:
            linear-gradient(
                to top,
                rgba(5, 5, 4, 0.98) 0%,
                rgba(5, 5, 4, 0.67) 42%,
                rgba(5, 5, 4, 0.18) 72%
            ),
            linear-gradient(
                90deg,
                rgba(5, 5, 4, 0.45),
                transparent
            );
    }

    .car-hero-content {
        width: 100%;
        margin: 0;
        padding: 145px 22px 55px;
    }

    .car-hero-content span {
        margin-bottom: 13px;
        font-size: 10px;
        letter-spacing: 3px;
    }

    .car-hero-content h1 {
        max-width: 430px;
        margin-bottom: 17px;
        font-size: clamp(40px, 12vw, 58px);
        line-height: 1.02;
        letter-spacing: -1.2px;
    }

    .car-hero-content p {
        max-width: 470px;
        font-size: 14px;
        line-height: 1.75;
    }

    .car-details,
    .car-gallery,
    .car-specs {
        padding: 75px 20px;
    }

    .car-details-box {
        padding: 22px;
        gap: 45px;
    }

    .car-specs-mini {
        grid-template-columns: 1fr 1fr;
    }

    .mini-spec {
        min-height: 112px;
        padding: 18px 15px;
    }

    .mini-spec span {
        margin-bottom: 8px;
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .mini-spec h4 {
        font-size: 13px;
    }

    .car-details-text h2 {
        margin-bottom: 20px;
        font-size: 36px;
    }

    .car-details-text p {
        font-size: 13px;
        line-height: 1.9;
    }

    .car-gallery > h2 {
        margin-bottom: 35px;
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 10px;
    }

    .gallery-grid img,
    .gallery-grid img:first-child {
        grid-column: auto;
        height: clamp(245px, 78vw, 390px);
        object-fit: cover;
    }

    .gallery-grid img:first-child {
        height: clamp(280px, 90vw, 470px);
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spec-box {
        min-height: 145px;
        padding: 25px 22px;
    }

    .spec-box:hover {
        transform: none;
    }

    .booking-section {
        min-height: 490px;
        padding: 80px 22px;
        background-position: 62% center;
    }

    .booking-section h2 {
        font-size: 39px;
    }

    .booking-section p {
        margin-bottom: 30px;
        font-size: 14px;
    }

    .hero-btn {
        width: 100%;
        max-width: 340px;
        min-height: 56px;
    }
}


/* =========================================
   SMALL MOBILE VIEW
========================================= */

@media (max-width: 390px) {

    .page-header {
        padding-inline: 15px;
    }

    .logo {
        max-width: 105px;
        font-size: 12px;
    }

    .page-header nav {
        gap: 8px 12px;
    }

    .page-header nav a {
        font-size: 8px;
    }

    .car-hero-content {
        padding-inline: 17px;
    }

    .car-hero-content h1 {
        font-size: 38px;
    }

    .car-details,
    .car-gallery,
    .car-specs {
        padding-inline: 15px;
    }

    .car-details-box {
        padding: 16px;
    }

    .mini-spec {
        padding: 15px 11px;
    }

    .mini-spec h4 {
        font-size: 12px;
    }

    .car-details-text h2,
    .car-gallery > h2 {
        font-size: 32px;
    }

    .booking-section h2 {
        font-size: 34px;
    }
}


/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}