/* =========================================
   LAMBORGHINI GREEN — 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: #f1ede4;
    font-family: "Jost", sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   GLOBAL SECTION SETTINGS
========================================= */

section {
    width: 100%;
}

.car-about,
.car-gallery,
.car-specs,
.booking-section {
    padding-left: 20px;
    padding-right: 20px;
}

.car-about h2,
.car-gallery h2,
.car-specs h2,
.booking-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 7vw, 62px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1px;
}


/* =========================================
   HEADER
========================================= */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;

    width: 100%;
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 5%;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0)
    );
}

.logo {
    color: #c8a45d;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2.5px;
    white-space: nowrap;
}

.page-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.page-header nav a {
    position: relative;

    color: #f4efe6;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.7px;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        opacity 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: 100svh;

    display: flex;
    align-items: flex-end;

    overflow: hidden;
    background: #050505;
}

.car-hero::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.94) 0%,
            rgba(0, 0, 0, 0.45) 45%,
            rgba(0, 0, 0, 0.15) 75%,
            rgba(0, 0, 0, 0.45) 100%
        );
}

.car-hero::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 3;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58),
        transparent 58%
    );

    pointer-events: none;
}

.car-hero > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.car-hero-content {
    position: relative;
    z-index: 4;

    width: min(760px, 90%);
    margin-left: 6%;
    padding-bottom: clamp(65px, 10vh, 110px);
}

.car-hero-content span {
    display: block;

    margin-bottom: 16px;

    color: #c8a45d;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.car-hero-content h1 {
    max-width: 850px;

    color: #f4efe6;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(58px, 9vw, 118px);
    font-weight: 500;
    line-height: 0.86;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.car-hero-content p {
    max-width: 570px;

    margin-top: 25px;

    color: rgba(244, 239, 230, 0.78);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 1.8;
}


/* =========================================
   ABOUT SECTION
========================================= */

.car-about {
    position: relative;

    max-width: 1300px;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 120px;

    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(350px, 1.2fr);
    gap: 100px;
    align-items: start;
}

.car-about::before {
    content: "LAMBORGHINI";

    position: absolute;
    top: 50px;
    right: 20px;

    color: rgba(255, 255, 255, 0.025);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(70px, 12vw, 170px);
    font-weight: 700;
    letter-spacing: 7px;

    pointer-events: none;
}

.car-about h2 {
    position: relative;
    z-index: 2;

    color: #f4efe6;
}

.car-about h2::before {
    content: "THE EXPERIENCE";

    display: block;
    margin-bottom: 18px;

    color: #c8a45d;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
}

.car-about p {
    position: relative;
    z-index: 2;

    color: rgba(241, 237, 228, 0.68);
    font-size: 17px;
    font-weight: 300;
    line-height: 2;
}


/* =========================================
   GALLERY SECTION
========================================= */

.car-gallery {
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 70px;
    padding-bottom: 130px;
}

.car-gallery h2 {
    margin-bottom: 50px;
    padding-left: 3%;

    color: #f4efe6;
}

.car-gallery h2::before {
    content: "VISUAL JOURNEY";

    display: block;
    margin-bottom: 15px;

    color: #c8a45d;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
}

.car-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 270px;
    gap: 14px;
}

.car-gallery-grid img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #171612;
    filter: brightness(0.88);

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}

.car-gallery-grid img:hover {
    filter: brightness(1);
    transform: scale(1.015);
}

/* Gallery layout */

.car-gallery-grid img:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
}

.car-gallery-grid img:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
}

.car-gallery-grid img:nth-child(3) {
    grid-column: span 4;
}

.car-gallery-grid img:nth-child(4) {
    grid-column: span 4;
}

.car-gallery-grid img:nth-child(5) {
    grid-column: span 4;
}

.car-gallery-grid img:nth-child(6) {
    grid-column: span 6;
}

.car-gallery-grid img:nth-child(7) {
    grid-column: span 6;
}


/* =========================================
   VEHICLE HIGHLIGHTS
========================================= */

.premium-highlights {
    position: relative;

    padding-top: 120px;
    padding-bottom: 140px;

    background:
        linear-gradient(
            rgba(12, 11, 9, 0.94),
            rgba(12, 11, 9, 0.98)
        ),
        radial-gradient(
            circle at top right,
            rgba(40, 90, 35, 0.25),
            transparent 45%
        );

    border-top: 1px solid rgba(200, 164, 93, 0.16);
    border-bottom: 1px solid rgba(200, 164, 93, 0.16);
}

.premium-highlights > h2 {
    max-width: 1250px;
    margin: 0 auto 55px;

    color: #f4efe6;
}

.premium-highlights > h2::before {
    content: "SIGNATURE DETAILS";

    display: block;
    margin-bottom: 17px;

    color: #c8a45d;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
}

.premium-specs-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(200, 164, 93, 0.25);
    border-left: 1px solid rgba(200, 164, 93, 0.25);
}

.premium-spec-box {
    min-height: 310px;
    padding: 38px 30px;

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.018);

    border-right: 1px solid rgba(200, 164, 93, 0.25);
    border-bottom: 1px solid rgba(200, 164, 93, 0.25);

    transition:
        background 0.35s ease,
        transform 0.35s ease;
}

.premium-spec-box:hover {
    background: rgba(200, 164, 93, 0.055);
    transform: translateY(-4px);
}

.premium-spec-box span {
    display: block;

    margin-bottom: auto;

    color: #c8a45d;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    letter-spacing: 2px;
}

.premium-spec-box h3 {
    margin-top: 60px;
    margin-bottom: 15px;

    color: #f4efe6;
    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.1;
}

.premium-spec-box p {
    color: rgba(241, 237, 228, 0.58);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
}


/* =========================================
   BOOKING SECTION
========================================= */

.booking-section {
    position: relative;

    min-height: 570px;
    padding-top: 130px;
    padding-bottom: 130px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(5, 5, 4, 0.84),
            rgba(5, 5, 4, 0.94)
        ),
        url("images/lamborghini-green/front.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.booking-section::before {
    content: "";

    position: absolute;
    inset: 30px;

    border: 1px solid rgba(200, 164, 93, 0.3);

    pointer-events: none;
}

.booking-section h2,
.booking-section p,
.booking-section .book-btn {
    position: relative;
    z-index: 2;
}

.booking-section h2 {
    max-width: 800px;

    color: #f4efe6;
    font-size: clamp(44px, 7vw, 82px);
}

.booking-section h2::before {
    content: "ROYAL VIP CARS";

    display: block;
    margin-bottom: 17px;

    color: #c8a45d;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 5px;
}

.booking-section p {
    max-width: 600px;

    margin-top: 23px;

    color: rgba(241, 237, 228, 0.7);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

.book-btn {
    min-width: 220px;
    margin-top: 38px;
    padding: 17px 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #0c0b09;
    background: #c8a45d;

    border: 1px solid #c8a45d;

    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;
}

.book-btn:hover {
    color: #c8a45d;
    background: transparent;
    transform: translateY(-3px);
}


/* =========================================
   TABLET VIEW
========================================= */

@media (max-width: 1000px) {

    .page-header {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-header nav {
        gap: 22px;
    }

    .car-about {
        gap: 50px;
    }

    .premium-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-gallery-grid {
        grid-auto-rows: 220px;
    }
}


/* =========================================
   MOBILE VIEW
========================================= */

@media (max-width: 768px) {

    /* Header */

    .page-header {
        min-height: 72px;

        align-items: flex-start;
        flex-direction: column;
        gap: 16px;

        padding: 18px 20px 14px;

        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.25),
            transparent
        );
    }

    .logo {
        font-size: 19px;
        letter-spacing: 2px;
    }

    .page-header nav {
        width: 100%;
        gap: 0;

        justify-content: space-between;
    }

    .page-header nav a {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .page-header nav a::after {
        display: none;
    }


    /* Hero */

    .car-hero {
        min-height: 100svh;
    }

    .car-hero > img {
        object-position: 58% center;
    }

    .car-hero::after {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.35),
            transparent
        );
    }

    .car-hero-content {
        width: auto;
        margin-left: 0;
        padding: 0 20px 55px;
    }

    .car-hero-content span {
        margin-bottom: 13px;

        font-size: 9px;
        letter-spacing: 3.5px;
    }

    .car-hero-content h1 {
        max-width: 330px;

        font-size: clamp(48px, 15vw, 68px);
        line-height: 0.88;
        letter-spacing: -2px;
    }

    .car-hero-content p {
        max-width: 340px;

        margin-top: 20px;

        font-size: 13px;
        line-height: 1.7;
    }


    /* Global sections */

    .car-about,
    .car-gallery,
    .car-specs,
    .booking-section {
        padding-left: 16px;
        padding-right: 16px;
    }


    /* About */

    .car-about {
        padding-top: 85px;
        padding-bottom: 85px;

        grid-template-columns: 1fr;
        gap: 30px;
    }

    .car-about::before {
        top: 30px;
        right: 10px;

        font-size: 55px;
        letter-spacing: 3px;
    }

    .car-about h2 {
        font-size: 44px;
    }

    .car-about h2::before {
        margin-bottom: 12px;

        font-size: 9px;
        letter-spacing: 3px;
    }

    .car-about p {
        font-size: 14px;
        line-height: 1.85;
    }


    /* Gallery */

    .car-gallery {
        padding-top: 35px;
        padding-bottom: 90px;
    }

    .car-gallery h2 {
        margin-bottom: 30px;
        padding-left: 0;

        font-size: 44px;
    }

    .car-gallery h2::before {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .car-gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 10px;
    }

    .car-gallery-grid img,
    .car-gallery-grid img:nth-child(1),
    .car-gallery-grid img:nth-child(2),
    .car-gallery-grid img:nth-child(3),
    .car-gallery-grid img:nth-child(4),
    .car-gallery-grid img:nth-child(5),
    .car-gallery-grid img:nth-child(6),
    .car-gallery-grid img:nth-child(7) {
        grid-column: auto;
        grid-row: auto;

        height: auto;
        aspect-ratio: 4 / 3;
    }

    .car-gallery-grid img:nth-child(1) {
        aspect-ratio: 3 / 4;
    }

    .car-gallery-grid img:hover {
        transform: none;
    }


    /* Highlights */

    .premium-highlights {
        padding-top: 85px;
        padding-bottom: 90px;
    }

    .premium-highlights > h2 {
        margin-bottom: 35px;

        font-size: 44px;
    }

    .premium-highlights > h2::before {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .premium-specs-grid {
        grid-template-columns: 1fr;
    }

    .premium-spec-box {
        min-height: 250px;
        padding: 28px 24px;
    }

    .premium-spec-box:hover {
        transform: none;
    }

    .premium-spec-box h3 {
        margin-top: 45px;

        font-size: 27px;
    }


    /* Booking */

    .booking-section {
        min-height: 520px;
        padding-top: 100px;
        padding-bottom: 100px;

        background-attachment: scroll;
        background-position: 60% center;
    }

    .booking-section::before {
        inset: 15px;
    }

    .booking-section h2 {
        max-width: 330px;

        font-size: 48px;
        line-height: 0.95;
    }

    .booking-section h2::before {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .booking-section p {
        max-width: 310px;

        font-size: 13px;
        line-height: 1.7;
    }

    .book-btn {
        width: min(100%, 290px);
        min-width: 0;

        padding: 16px 24px;

        font-size: 11px;
    }
}


/* =========================================
   SMALL MOBILE VIEW
========================================= */

@media (max-width: 390px) {

    .page-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo {
        font-size: 17px;
    }

    .page-header nav a {
        font-size: 8px;
    }

    .car-hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .car-hero-content h1 {
        font-size: 46px;
    }

    .car-about h2,
    .car-gallery h2,
    .premium-highlights > h2 {
        font-size: 39px;
    }

    .booking-section h2 {
        font-size: 43px;
    }
}


/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}