@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Jost:wght@300;400;500;600&display=swap");

:root {
    --bg: #0c0b09;
    --panel: #151310;
    --panel-soft: #1b1814;
    --gold: #c8a45d;
    --gold-soft: #e4c98f;
    --ivory: #f3ede3;
    --muted: #b7ad9e;
    --line: rgba(200, 164, 93, 0.28);
    --white-line: rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ivory);
    font-family: "Jost", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* HEADER */

.showroom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 88px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(12, 11, 9, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
}

.showroom-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.showroom-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.showroom-nav a {
    position: relative;
    color: rgba(243, 237, 227, 0.72);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    transition: 0.3s ease;
}

.showroom-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: 0.3s ease;
}

.showroom-nav a:hover,
.showroom-nav a.active {
    color: var(--ivory);
}

.showroom-nav a:hover::after,
.showroom-nav a.active::after {
    width: 100%;
}

.header-booking-btn {
    min-height: 46px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.35s ease;
}

.header-booking-btn:hover {
    background: var(--gold);
    color: #0c0b09;
}

/* SHOWROOM */

.showroom {
    width: 100%;
}

.car-showcase {
    position: relative;
    min-height: 100vh;
    padding-top: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.85fr);
    background:
        radial-gradient(circle at 78% 30%, rgba(200, 164, 93, 0.08), transparent 25%),
        var(--bg);
}

/* MAIN IMAGE */

.showcase-image {
    position: relative;
    min-height: calc(100vh - 88px);
    overflow: hidden;
    background: #111;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 88px);
    display: block;
    object-fit: cover;
    object-position: center;
    transition:
        opacity 0.45s ease,
        transform 1.2s ease;
}

.showcase-image:hover img {
    transform: scale(1.025);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(12, 11, 9, 0.05) 55%,
            rgba(12, 11, 9, 0.42) 100%
        ),
        linear-gradient(
            0deg,
            rgba(12, 11, 9, 0.28) 0%,
            transparent 38%
        );
    pointer-events: none;
}

.showcase-counter {
    position: absolute;
    left: 42px;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ivory);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    z-index: 2;
}

.showcase-counter span:first-child {
    color: var(--gold-soft);
}

.counter-line {
    width: 54px;
    height: 1px;
    background: rgba(255, 255, 255, 0.38);
}

/* CONTENT */

.showcase-content {
    min-height: calc(100vh - 88px);
    padding: 70px 5vw 170px 4vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--white-line);
}

.car-category {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.24em;
}

.car-heading h1 {
    max-width: 580px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.4rem, 5vw, 6.2rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.035em;
}

.car-subtitle {
    max-width: 560px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* DETAILS */

.car-details {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-item {
    padding: 19px 0;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 28px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.detail-item:last-child {
    border-bottom: 0;
}

.detail-item span {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.detail-item strong {
    color: var(--ivory);
    font-size: 0.92rem;
    font-weight: 400;
}

/* ACTIONS */

.showcase-actions {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-showroom-btn,
.secondary-showroom-btn {
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.35s ease;
}

.primary-showroom-btn {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #0c0b09;
}

.primary-showroom-btn:hover {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
    transform: translateY(-2px);
}

.secondary-showroom-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--ivory);
}

.secondary-showroom-btn:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

/* GALLERY */

.gallery-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100% - min(37vw, 620px));
    min-height: 138px;
    padding: 20px 26px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 14px;
    background: rgba(15, 13, 11, 0.92);
    border-top: 1px solid var(--white-line);
    border-left: 1px solid var(--white-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 5;
}

.gallery-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-thumbnail {
    position: relative;
    flex: 0 0 138px;
    height: 88px;
    padding: 0;
    overflow: hidden;
    background: #111;
    border: 1px solid transparent;
    cursor: pointer;
    opacity: 0.52;
    transition: 0.3s ease;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 11, 9, 0.2);
    transition: 0.3s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--gold);
}

.gallery-thumbnail:hover::after,
.gallery-thumbnail.active::after {
    background: transparent;
}

.gallery-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: var(--ivory);
    cursor: pointer;
    transition: 0.3s ease;
}

.gallery-arrow:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

/* BOOKING SECTION */

.showroom-booking {
    min-height: 70vh;
    padding: 110px 7vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(12, 11, 9, 0.82), rgba(12, 11, 9, 0.9)),
        url("chauffeering/bentley/front.jpg") center / cover no-repeat;
    border-top: 1px solid var(--line);
}

.showroom-booking span {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.23em;
}

.showroom-booking h2 {
    max-width: 900px;
    margin-top: 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    font-weight: 600;
    line-height: 1;
}

.showroom-booking p {
    max-width: 680px;
    margin-top: 24px;
    color: var(--muted);
    line-height: 1.8;
}

.booking-contact-btn {
    min-height: 54px;
    margin-top: 34px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.35s ease;
}

.booking-contact-btn:hover {
    background: var(--gold);
    color: #0c0b09;
}

/* TABLET */

@media (max-width: 1100px) {
    .showroom-header {
        padding: 0 30px;
    }

    .showroom-nav {
        gap: 22px;
    }

    .car-showcase {
        grid-template-columns: 1fr;
    }

    .showcase-image {
        min-height: 68vh;
    }

    .showcase-image img {
        min-height: 68vh;
    }

    .showcase-content {
        min-height: auto;
        padding: 70px 7vw 210px;
        border-left: 0;
        border-top: 1px solid var(--white-line);
    }

    .gallery-wrapper {
        width: 100%;
        border-left: 0;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .showroom-header {
        min-height: 72px;
        padding: 0 18px;
    }

    .showroom-logo {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .showroom-nav {
        display: none;
    }

    .header-booking-btn {
        min-height: 40px;
        padding: 0 15px;
        font-size: 0.62rem;
    }

    .car-showcase {
        padding-top: 72px;
    }

    .showcase-image {
        min-height: 58vh;
    }

    .showcase-image img {
        min-height: 58vh;
    }

    .showcase-counter {
        left: 20px;
        bottom: 20px;
    }

    .showcase-content {
        padding: 52px 20px 180px;
    }

    .car-heading h1 {
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .car-subtitle {
        font-size: 0.94rem;
    }

    .detail-item {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .showcase-actions {
        flex-direction: column;
    }

    .primary-showroom-btn,
    .secondary-showroom-btn {
        width: 100%;
    }

    .gallery-wrapper {
        min-height: 124px;
        padding: 16px 12px;
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 8px;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-thumbnail {
        flex-basis: 108px;
        height: 72px;
    }

    .showroom-booking {
        min-height: 62vh;
        padding: 85px 20px;
    }
}
.gallery-track {
    transition:
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.gallery-highlight {
    box-shadow: 0 0 0 1px var(--gold);
    transform: translateY(-4px);
}