/* ================================
   ROLLS-ROYCE PHANTOM PAGE
================================ */

:root {
    --black: #0c0b09;
    --deep-black: #070706;
    --soft-black: #15130f;
    --gold: #c8a45d;
    --light-gold: #e2c98f;
    --ivory: #f5f0e7;
    --soft-white: #d8d2c7;
    --border: rgba(200, 164, 93, 0.25);
    --overlay: rgba(0, 0, 0, 0.58);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--black);
    color: var(--ivory);
    font-family: "Jost", sans-serif;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    outline: none;
    font: inherit;
}


/* ================================
   HEADER
================================ */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0)
    );
}

.page-header.header-scrolled {
    position: fixed;
    height: 74px;
    background: rgba(7, 7, 6, 0.96);
    border-bottom: 1px solid rgba(200, 164, 93, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-logo {
    position: relative;
    z-index: 1002;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 76px;
    height: 58px;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.menu-button {
    position: relative;
    z-index: 1002;

    width: 46px;
    height: 46px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: rgba(12, 11, 9, 0.7);
    border: 1px solid rgba(200, 164, 93, 0.42);
    border-radius: 50%;
    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 1px;
    background: var(--ivory);
    transition: 0.35s ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-navigation {
    position: fixed;
    top: 0;
    right: -100%;

    z-index: 1001;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;

    background:
        linear-gradient(rgba(7, 7, 6, 0.94), rgba(7, 7, 6, 0.97)),
        url("chauffeering/rolceroyce2/front.jpg") center / cover;

    transition: right 0.45s ease;
}

.main-navigation.active {
    right: 0;
}

.main-navigation a {
    position: relative;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ivory);
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}


/* ================================
   HERO
================================ */

.car-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;

    display: flex;
    align-items: flex-end;
}

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.25) 35%,
            rgba(0, 0, 0, 0.88) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 0 20px 100px;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 14px;

    color: var(--light-gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 360px;
    margin-bottom: 18px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 15vw, 72px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -1px;
}

.hero-content h1 strong {
    display: block;
    color: var(--gold);
    font-weight: 600;
}

.hero-content p {
    max-width: 440px;
    margin-bottom: 30px;

    color: var(--soft-white);
    font-size: 14px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.primary-button,
.secondary-button {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.primary-button {
    background: var(--gold);
    color: var(--deep-black);
}

.primary-button:hover {
    background: var(--light-gold);
}

.secondary-button {
    border: 1px solid rgba(245, 240, 231, 0.5);
    background: rgba(0, 0, 0, 0.15);
    color: var(--ivory);
}

.secondary-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;

    transform: translateX(-50%);
}

.scroll-indicator span {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(
        to bottom,
        var(--gold),
        transparent
    );
}


/* ================================
   GENERAL SECTION HEADING
================================ */

.section-heading span,
.gallery-heading span,
.information-label,
.cinematic-content span,
.booking-content span {
    display: block;
    margin-bottom: 12px;

    color: var(--gold);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-heading h2,
.gallery-heading h2,
.information-details h2,
.cinematic-content h2,
.booking-content h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    line-height: 1;
}


/* ================================
   INTRODUCTION
================================ */

.introduction-section {
    padding: 80px 20px;
    background: var(--black);
}

.section-heading {
    margin-bottom: 44px;
}

.section-heading h2 {
    max-width: 360px;
    font-size: 43px;
}

.introduction-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 55px;
}

.introduction-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.introduction-text p {
    color: #bcb6ab;
    font-size: 14px;
    line-height: 1.9;
}

.introduction-text .large-text {
    color: var(--ivory);
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    line-height: 1.3;
}

.vehicle-highlights {
    display: flex;
    flex-direction: column;
}

.highlight-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;

    padding: 25px 0;
    border-top: 1px solid var(--border);
}

.highlight-item:last-child {
    border-bottom: 1px solid var(--border);
}

.highlight-number {
    color: var(--gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
}

.highlight-item h3 {
    margin-bottom: 8px;

    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 600;
}

.highlight-item p {
    color: #aaa398;
    font-size: 13px;
    line-height: 1.7;
}


/* ================================
   CINEMATIC SECTION
================================ */

.cinematic-section {
    position: relative;
    min-height: 680px;
    overflow: hidden;

    display: flex;
    align-items: flex-end;
}

.cinematic-section > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.cinematic-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.9)
    );
}

.cinematic-content {
    position: relative;
    z-index: 2;

    padding: 60px 20px;
}

.cinematic-content h2 {
    max-width: 390px;
    margin-bottom: 18px;

    font-size: 44px;
}

.cinematic-content p {
    max-width: 400px;

    color: var(--soft-white);
    font-size: 14px;
    line-height: 1.8;
}


/* ================================
   VEHICLE INFORMATION
================================ */

.vehicle-information {
    padding: 70px 16px;
    background: var(--deep-black);
}

.information-card {
    padding: 34px 20px;

    background: linear-gradient(
        145deg,
        rgba(200, 164, 93, 0.07),
        rgba(255, 255, 255, 0.02)
    );

    border: 1px solid var(--border);
}

.information-details h2 {
    margin-bottom: 30px;
    font-size: 42px;
}

.specification-list {
    list-style: none;
}

.specification-list li {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 17px 0;
    border-top: 1px solid rgba(200, 164, 93, 0.16);
}

.specification-list li:last-child {
    border-bottom: 1px solid rgba(200, 164, 93, 0.16);
}

.specification-list span {
    color: #918a7f;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.specification-list strong {
    color: var(--ivory);
    font-size: 13px;
    font-weight: 400;
}

.information-description {
    margin-top: 34px;
}

.information-description p {
    margin-bottom: 18px;

    color: #aaa398;
    font-size: 14px;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 12px;
    padding-bottom: 7px;

    border-bottom: 1px solid var(--gold);

    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.text-link span {
    font-size: 18px;
}


/* ================================
   GALLERY
================================ */

.gallery-section {
    padding: 80px 16px;
    background: var(--black);
}

.gallery-heading {
    margin-bottom: 35px;
}

.gallery-heading h2 {
    margin-bottom: 18px;
    font-size: 50px;
}

.gallery-heading p {
    max-width: 400px;

    color: #aaa398;
    font-size: 13px;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.gallery-item {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;
    background: var(--soft-black);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65),
        transparent 45%
    );
}

.gallery-item span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;

    color: var(--ivory);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-item:hover img {
    transform: scale(1.04);
}


/* ================================
   BOOKING SECTION
================================ */

.booking-section {
    position: relative;
    min-height: 590px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;

    background:
        url("chauffeering/rolceroyce2/front.jpg")
        center / cover no-repeat;
}

.booking-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 4, 0.82);
}

.booking-content {
    position: relative;
    z-index: 2;

    max-width: 480px;
    text-align: center;
}

.booking-content h2 {
    margin-bottom: 20px;
    font-size: 48px;
}

.booking-content p {
    margin-bottom: 30px;

    color: var(--soft-white);
    font-size: 14px;
    line-height: 1.8;
}

.booking-content .primary-button {
    max-width: 290px;
    margin: 0 auto;
}


/* ================================
   IMAGE MODAL
================================ */

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease,
                visibility 0.3s ease;
}

.image-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
}

.modal-image-container {
    position: relative;
    z-index: 2;

    width: calc(100% - 28px);
    max-width: 1100px;
}

.modal-image-container img {
    width: 100%;
    max-height: 80vh;

    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(18, 17, 14, 0.9);
    border: 1px solid rgba(200, 164, 93, 0.45);
    border-radius: 50%;

    color: var(--ivory);
    font-size: 28px;
    cursor: pointer;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 42px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(10, 10, 9, 0.8);
    border: 1px solid rgba(200, 164, 93, 0.3);

    color: var(--ivory);
    font-size: 35px;
    cursor: pointer;

    transform: translateY(-50%);
}

.modal-previous {
    left: 6px;
}

.modal-next {
    right: 6px;
}

.modal-counter {
    position: absolute;
    left: 50%;
    bottom: -38px;

    color: var(--soft-white);
    font-size: 11px;
    letter-spacing: 2px;

    transform: translateX(-50%);
}


/* ================================
   FOOTER
================================ */

.page-footer {
    padding: 55px 20px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: var(--deep-black);
    border-top: 1px solid rgba(200, 164, 93, 0.15);

    text-align: center;
}

.footer-logo {
    width: 105px;
    margin-bottom: 22px;
}

.footer-logo img {
    width: 100%;
    object-fit: contain;
}

.page-footer p {
    max-width: 410px;
    margin-bottom: 26px;

    color: #938d83;
    font-size: 12px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 22px;

    margin-bottom: 30px;
}

.footer-links a {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.copyright {
    color: #68635b;
    font-size: 9px;
    letter-spacing: 1px;
}


/* ================================
   TABLET
================================ */

@media (min-width: 650px) {

    .page-header {
        padding-inline: 30px;
    }

    .site-logo {
        width: 92px;
        height: 62px;
    }

    .hero-content {
        padding: 0 45px 115px;
    }

    .hero-actions {
        flex-direction: row;
    }

    .primary-button,
    .secondary-button {
        width: auto;
        min-width: 190px;
    }

    .introduction-section,
    .gallery-section {
        padding-inline: 40px;
    }

    .cinematic-content {
        padding-inline: 45px;
    }

    .vehicle-information {
        padding-inline: 40px;
    }

    .information-card {
        padding: 45px 36px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-large {
        grid-column: span 2;
        height: 470px;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }
}


/* ================================
   DESKTOP
================================ */

@media (min-width: 950px) {

    .page-header {
        position: absolute;
        height: 100px;
        padding: 18px 55px;
    }

    .site-logo {
        width: 105px;
        height: 68px;
    }

    .menu-button {
        display: none;
    }

    .main-navigation {
        position: static;

        width: auto;
        height: auto;

        flex-direction: row;
        justify-content: flex-end;
        gap: 34px;

        background: none;
    }

    .main-navigation a {
        font-family: "Jost", sans-serif;
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 1.7px;
        text-transform: uppercase;
    }

    .hero-content {
        max-width: 800px;
        padding: 0 70px 100px;
    }

    .hero-content h1 {
        max-width: 700px;
        font-size: 90px;
    }

    .introduction-section {
        padding: 120px 7%;
    }

    .section-heading h2 {
        max-width: 600px;
        font-size: 62px;
    }

    .introduction-grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }

    .cinematic-section {
        min-height: 800px;
    }

    .cinematic-content {
        padding: 80px 7%;
    }

    .cinematic-content h2 {
        max-width: 620px;
        font-size: 68px;
    }

    .vehicle-information {
        padding: 110px 7%;
    }

    .information-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 90px;

        padding: 65px;
    }

    .information-description {
        margin-top: 50px;
    }

    .gallery-section {
        padding: 120px 7%;
    }

    .gallery-heading {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

    .gallery-heading h2 {
        margin-bottom: 0;
        font-size: 70px;
    }

    .gallery-heading p {
        max-width: 330px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .gallery-item {
        height: 450px;
    }

    .gallery-item-large {
        grid-row: span 2;
        grid-column: span 1;
        height: 918px;
    }

    .gallery-item-wide {
        grid-column: span 2;
        height: 570px;
    }

    .booking-content h2 {
        font-size: 72px;
    }

    .modal-previous {
        left: 30px;
    }

    .modal-next {
        right: 30px;
    }
}


/* ================================
   VERY SMALL MOBILE
================================ */

@media (max-width: 380px) {

    .page-header {
        padding-inline: 14px;
    }

    .site-logo {
        width: 68px;
    }

    .hero-content {
        padding-inline: 16px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .section-heading h2,
    .cinematic-content h2,
    .information-details h2,
    .booking-content h2 {
        font-size: 39px;
    }

    .gallery-item {
        height: 260px;
    }
}