:root {
    --color-ink: #1a120e;
    --color-cream: #f3ebe0;
    --color-ember: #c43c1a;
    --hero-logo-size: clamp(10rem, 58vw, 16rem);
    --font-display: "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-display);
    background: var(--color-ink);
    color: var(--color-cream);
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* —— Hero —— */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000;
}

.hero__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__track {
    display: flex;
    height: 100%;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}

.hero__track.is-ready {
    animation: hero-marquee var(--slide-duration, 420s) linear infinite;
}

.hero__slide {
    position: relative;
    flex: 0 0 auto;
    height: 100%;
    width: calc(100dvh * 9 / 16);
    min-width: 70vw;
    background: #0a0a0a;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero__brand {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0) 60%
    );
}

.hero__logo {
    width: var(--hero-logo-size);
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(1rem, 3.5vh, 2rem);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero__scroll.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.hero__scroll-icon {
    width: 2rem;
    height: 2rem;
    border-right: 4px solid rgba(243, 235, 224, 0.92);
    border-bottom: 4px solid rgba(243, 235, 224, 0.92);
    transform: rotate(45deg);
    animation: scroll-bob 1.4s ease-in-out infinite;
    filter:
        drop-shadow(0 2px 2px rgba(0, 0, 0, 0.95))
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85))
        drop-shadow(0 0 12px rgba(0, 0, 0, 0.7));
}

@keyframes hero-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes scroll-bob {
    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(0.35rem) rotate(45deg);
    }
}

/* —— About (scroll target) —— */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 4rem 0;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at top, rgba(196, 60, 26, 0.18), transparent 55%),
        var(--color-ink);
}

.about__content {
    max-width: 40rem;
    width: 100%;
    padding: 0 1.5rem;
    text-align: center;
}

.about__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.85rem, 5.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.about__text {
    margin: 0 0 1.15rem;
    font-size: clamp(1.05rem, 3.2vw, 1.2rem);
    line-height: 1.55;
    font-weight: 400;
    color: rgba(243, 235, 224, 0.92);
}

.about__text--spaced {
    margin-top: 2.5rem;
    margin-bottom: 0.4rem;
}

.btn-waze {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.5rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid #1fb8e8;
    background: #33ccff;
    color: #06324a;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-waze i {
    font-size: 1.25em;
    line-height: 1;
}

.btn-waze:hover,
.btn-waze:focus-visible {
    background: #1fb8e8;
    border-color: #1499c7;
    color: #042536;
    outline: none;
}

.about__address {
    margin: 1rem 0 0;
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    line-height: 1.45;
    font-weight: 400;
    color: rgba(243, 235, 224, 0.78);
}

.about__phone {
    margin: 0.85rem 0 0;
    font-size: clamp(1.05rem, 3vw, 1.15rem);
    line-height: 1.45;
    font-weight: 500;
    color: rgba(243, 235, 224, 0.92);
}

.about__phone a {
    color: var(--color-cream);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.about__phone a:hover,
.about__phone a:focus-visible {
    color: #33ccff;
    outline: none;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1.75rem;
    width: 100%;
    overflow: hidden;
}

.gallery__row {
    overflow: hidden;
    width: 100%;
}

.gallery__track {
    display: flex;
    width: max-content;
    gap: 0.45rem;
    will-change: transform;
    backface-visibility: hidden;
}

.gallery__track.is-ready.gallery__track--ltr {
    animation: gallery-ltr var(--gallery-duration, 120s) linear infinite;
}

.gallery__track.is-ready.gallery__track--rtl {
    animation: gallery-rtl var(--gallery-duration, 120s) linear infinite;
}

.gallery__item {
    margin: 0;
    flex: 0 0 auto;
    width: clamp(7.5rem, 28vw, 11rem);
    aspect-ratio: 1;
    overflow: hidden;
    background: #0a0a0a;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-open[hidden] {
    display: flex;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100dvh - 4.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.lightbox__hint {
    font-size: 0.9rem;
    color: rgba(243, 235, 224, 0.7);
}

body.is-lightbox-open {
    overflow: hidden;
}

.about__extra {
    position: relative;
    margin-top: 2rem;
    width: 100%;
    padding: 3.5rem 1.5rem;
    background:
        linear-gradient(rgba(10, 6, 4, 0.72), rgba(10, 6, 4, 0.78)),
        url("../img/extra-bg.jpeg") center / cover no-repeat;
}

.about__extra-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.about__extra .about__text {
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.site-footer {
    padding: 3rem 1.5rem 2rem;
    background: #100c09;
    border-top: 1px solid rgba(243, 235, 224, 0.08);
}

.site-footer__inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.site-footer__line {
    margin: 0 0 0.75rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
    line-height: 1.5;
    color: rgba(243, 235, 224, 0.9);
}

.site-footer__line a {
    color: var(--color-cream);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.site-footer__line a:hover,
.site-footer__line a:focus-visible {
    color: #33ccff;
    outline: none;
}

.site-footer__map {
    margin-top: 1.5rem;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0a0a;
}

.site-footer__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@keyframes gallery-rtl {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes gallery-ltr {
    from {
        transform: translate3d(-50%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (min-width: 600px) {
    .gallery {
        gap: 0.55rem;
    }

    .gallery__track {
        gap: 0.55rem;
    }

    .gallery__item {
        width: clamp(9rem, 18vw, 13rem);
    }
}

@media (min-width: 900px) {
    :root {
        --hero-logo-size: clamp(14rem, 28vw, 20rem);
    }

    .hero__slide {
        min-width: 0;
        width: calc(100dvh * 9 / 16);
    }
}
