/* =========================================
   ROLLS-ROYCE CULLINAN
   Royal VIP Cars
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');


/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0c0b09;
    color: #f4efe5;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   HEADER
========================================= */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 90px;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0)
    );
}

.page-header .logo {
    position: relative;
    z-index: 102;
}

.page-header .logo img {
    width: 105px;
    height: auto;
    object-fit: contain;
}

.page-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-header nav a {
    position: relative;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    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
========================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 130px 7% 85px;
    background-image: url("chauffeering/rolceroyce1/front.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(5, 5, 5, 0.92) 0%,
            rgba(5, 5, 5, 0.42) 48%,
            rgba(5, 5, 5, 0.3) 100%
        ),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.68),
            rgba(0, 0, 0, 0.05)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
}

.hero-content span {
    display: inline-block;
    margin-bottom: 16px;
    color: #c8a45d;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(54px, 8vw, 105px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -2px;
    color: #ffffff;
}

.hero-content p {
    max-width: 590px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 195px;
    min-height: 54px;
    padding: 15px 28px;
    border: 1px solid #c8a45d;
    background: #c8a45d;
    color: #0c0b09;
    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 {
    background: transparent;
    color: #c8a45d;
    transform: translateY(-2px);
}


/* =========================================
   CAR INFORMATION
========================================= */

.car-info {
    padding: 110px 7%;
    background:
        radial-gradient(
            circle at top right,
            rgba(200, 164, 93, 0.07),
            transparent 35%
        ),
        #0c0b09;
}

.info-card {
    max-width: 1150px;
    margin: 0 auto;
    padding: 65px;
    border: 1px solid rgba(200, 164, 93, 0.35);
    background: rgba(255, 255, 255, 0.015);
}

.info-card::before {
    content: "ROLLS-ROYCE CULLINAN";
    display: block;
    margin-bottom: 22px;
    color: #c8a45d;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
}

.info-card h2 {
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.05;
    color: #f8f3e9;
}

.info-card p {
    max-width: 850px;
    color: rgba(244, 239, 229, 0.68);
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
}


/* =========================================
   GALLERY
========================================= */

.gallery {
    padding: 40px 5% 120px;
    background: #0c0b09;
}

.gallery > h2 {
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 75px);
    font-weight: 500;
    color: #f8f3e9;
}

.gallery > h2::before {
    content: "THE INTERIOR";
    display: block;
    margin-bottom: 12px;
    color: #c8a45d;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 5px;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    cursor: pointer;
    filter: brightness(0.85);
    transition:
        filter 0.4s ease,
        transform 0.4s ease;
}

.gallery-grid img:hover {
    filter: brightness(1);
    transform: scale(1.008);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(6) {
    grid-column: span 2;
    height: 650px;
}


/* =========================================
   BOOKING SECTION
========================================= */

.booking {
    position: relative;
    padding: 130px 7%;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(6, 6, 6, 0.87),
            rgba(6, 6, 6, 0.94)
        ),
        url("chauffeering/rolceroyce1/front.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.booking::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 70px;
    background: #c8a45d;
}

.booking h2,
.booking p,
.booking .book-btn {
    position: relative;
    z-index: 2;
}

.booking h2 {
    max-width: 850px;
    margin: 0 auto 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.05;
    color: #ffffff;
}

.booking p {
    max-width: 620px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 205px;
    min-height: 56px;
    padding: 15px 30px;
    border: 1px solid #c8a45d;
    color: #c8a45d;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.book-btn:hover {
    background: #c8a45d;
    color: #0c0b09;
    transform: translateY(-2px);
}


/* =========================================
   IMAGE MODAL
========================================= */

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    width: auto;
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    animation: modalImageOpen 0.35s ease;
}

.image-modal .close {
    position: absolute;
    top: 24px;
    right: 34px;
    z-index: 2;
    color: #ffffff;
    font-size: 44px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.image-modal .close:hover {
    color: #c8a45d;
    transform: rotate(90deg);
}

@keyframes modalImageOpen {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .page-header {
        padding: 16px 5%;
    }

    .page-header nav {
        gap: 18px;
    }

    .page-header nav a {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .hero {
        min-height: 92vh;
        padding: 130px 6% 70px;
        background-position: 58% center;
    }

    .info-card {
        padding: 50px 40px;
    }

    .gallery-grid img {
        height: 380px;
    }

    .gallery-grid img:nth-child(1),
    .gallery-grid img:nth-child(6) {
        height: 500px;
    }

    .booking {
        background-attachment: scroll;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

   .page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header .logo {
    position: static;
    margin: 0;
    flex-shrink: 0;
}

.page-header .logo img {
    width: 75px;
}

.page-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.page-header nav a {
    font-size: 8px;
    letter-spacing: 0.7px;
    white-space: nowrap;
}
    .hero {
        min-height: 100svh;
        align-items: flex-end;
        padding: 110px 22px 55px;
        background-position: 62% center;
    }

    .overlay {
        background:
            linear-gradient(
                to top,
                rgba(5, 5, 5, 0.96) 0%,
                rgba(5, 5, 5, 0.5) 58%,
                rgba(5, 5, 5, 0.3) 100%
            );
    }

    .hero-content span {
        margin-bottom: 13px;
        font-size: 9px;
        letter-spacing: 3.5px;
    }

    .hero-content h1 {
        margin-bottom: 17px;
        font-size: clamp(47px, 15vw, 67px);
        line-height: 0.95;
        letter-spacing: -1px;
    }

    .hero-content p {
        margin-bottom: 27px;
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-btn {
        width: 100%;
        min-height: 53px;
        font-size: 11px;
    }

    .car-info {
        padding: 75px 18px;
    }

    .info-card {
        padding: 35px 24px;
    }

    .info-card::before {
        margin-bottom: 17px;
        font-size: 8px;
        line-height: 1.7;
        letter-spacing: 2.8px;
    }

    .info-card h2 {
        margin-bottom: 20px;
        font-size: 41px;
    }

    .info-card p {
        font-size: 13px;
        line-height: 1.85;
    }

    .gallery {
        padding: 15px 12px 80px;
    }

    .gallery > h2 {
        margin-bottom: 30px;
        font-size: 49px;
    }

    .gallery > h2::before {
        font-size: 8px;
        letter-spacing: 4px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-grid img,
    .gallery-grid img:nth-child(1),
    .gallery-grid img:nth-child(6) {
        grid-column: span 1;
        height: 290px;
    }

    .booking {
        padding: 110px 20px 85px;
        background-position: center;
    }

    .booking::before {
        height: 50px;
    }

    .booking h2 {
        font-size: 46px;
    }

    .booking p {
        font-size: 13px;
        line-height: 1.8;
    }

    .book-btn {
        width: 100%;
        min-height: 54px;
    }

    .image-modal {
        padding: 15px;
    }

    .image-modal img {
        max-width: 100%;
        max-height: 82vh;
    }

    .image-modal .close {
        top: 17px;
        right: 20px;
        font-size: 38px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 44px;
    }

    .info-card h2 {
        font-size: 36px;
    }

    .gallery-grid img,
    .gallery-grid img:nth-child(1),
    .gallery-grid img:nth-child(6) {
        height: 250px;
    }

    .booking h2 {
        font-size: 40px;
    }
}