/* =============================================
   Bianca Home — Luxe layer
   Polished motion + ornament layer for the landing page.
   Requires luxe-shared.css (keyframes, reveal, back-to-top).
   Loaded after style.css, scoped to .page-home where it
   could otherwise leak to other pages.
   ============================================= */

/* ---------------------------------------------
   1. Keyframes
   --------------------------------------------- */
@keyframes luxeKenburnsDesk {
    from {
        transform: scale(1.06);
    }
    to {
        transform: scale(1.14);
    }
}

@keyframes luxeKenburnsMob {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes luxeCueDrop {
    0% {
        top: -45%;
    }
    100% {
        top: 115%;
    }
}

@keyframes luxeMarquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------------------------------------------
   2. Hero — entrance, shimmer, Ken Burns
   --------------------------------------------- */
.page-home .hero__title-visual {
    background-image: linear-gradient(
        105deg,
        var(--maroon) 0%,
        var(--maroon) 40%,
        #8a4a2f 47%,
        var(--gold) 50%,
        #8a4a2f 53%,
        var(--maroon) 60%,
        var(--maroon) 100%
    );
    background-size: 240% 100%;
    background-position: 130% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        luxeRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both,
        luxeShimmer 7s ease-in-out 1.4s infinite;
}

.page-home .hero__tagline {
    animation: luxeRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.page-home .hero__desc {
    animation: luxeRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.page-home .hero__actions {
    animation: luxeRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.54s both;
}

/* slow drift on the active slide for cinematic depth */
.hero-slider--desktop .hero-slider__slide.is-active .hero-slider__image--desktop {
    animation: luxeKenburnsDesk 8.5s linear both;
}

@media (max-width: 768px) {
    .hero-slider--mobile .hero-slider__slide.is-active .hero-slider__image--mobile {
        animation: luxeKenburnsMob 8.5s linear both;
    }
}

/* ---------------------------------------------
   3. Hero — scroll cue + slide dots
   --------------------------------------------- */
.hero-scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.hero-scroll-cue.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-scroll-cue__diamond {
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(196, 149, 106, 0.75);
}

.hero-scroll-cue__line {
    width: 1.5px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(196, 149, 106, 0.85), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll-cue__line::after {
    content: '';
    position: absolute;
    top: -45%;
    left: 0;
    width: 100%;
    height: 45%;
    background: var(--maroon);
    animation: luxeCueDrop 1.9s ease-in-out infinite;
}

.hero-dots {
    position: absolute;
    z-index: 3;
    left: 34px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.hero-dots__dot {
    width: 7px;
    height: 7px;
    background: rgba(253, 249, 243, 0.4);
    border: 1px solid rgba(253, 249, 243, 0.75);
    transform: rotate(45deg);
    transition:
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.45s ease;
}

.hero-dots__dot.is-active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(196, 149, 106, 0.9);
    transform: rotate(45deg) scale(1.35);
}

@media (max-width: 768px) {
    .hero-scroll-cue,
    .hero-dots {
        display: none;
    }
}

/* ---------------------------------------------
   4. Header — scrolled state
   --------------------------------------------- */
.page-home .site-header {
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.page-home .site-header.is-scrolled {
    background: rgba(253, 249, 243, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -12px rgba(44, 24, 16, 0.2);
}

/* ---------------------------------------------
   6. About — offset gold frame
   --------------------------------------------- */
.page-home .about__media {
    position: relative;
}

.page-home .about__image-wrap {
    position: relative;
    z-index: 1;
}

.page-home .about__media::before {
    content: '';
    position: absolute;
    inset-block-start: 18px;
    inset-block-end: -18px;
    inset-inline-start: -18px;
    inset-inline-end: 18px;
    border: 1.5px solid rgba(196, 149, 106, 0.55);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.page-home .about__media::after {
    content: '';
    position: absolute;
    inset-block-end: -22px;
    inset-inline-start: -22px;
    width: 9px;
    height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
    pointer-events: none;
}

@media (max-width: 768px) {
    .page-home .about__media::before,
    .page-home .about__media::after {
        display: none;
    }
}

/* ---------------------------------------------
   7. Brand marquee divider
   --------------------------------------------- */
.luxe-marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 22px 0;
    margin: 4px 0 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    direction: ltr;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}

.luxe-marquee__track {
    display: flex;
    width: max-content;
    animation: luxeMarquee 32s linear infinite;
}

.luxe-marquee:hover .luxe-marquee__track {
    animation-play-state: paused;
}

.luxe-marquee__group {
    display: flex;
    align-items: center;
    gap: 38px;
    padding-inline-end: 38px;
}

.luxe-marquee__brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: 0.22em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(92, 18, 21, 0.5);
    white-space: nowrap;
    line-height: 1;
}

.luxe-marquee__word {
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 600;
    color: rgba(92, 18, 21, 0.72);
    white-space: nowrap;
}

.luxe-marquee__diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ---------------------------------------------
   8. Offers — card columns + item micro-interactions
   --------------------------------------------- */
.page-home .offers__column {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 24px 20px;
    box-shadow: 0 4px 22px rgba(92, 18, 21, 0.06);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.page-home .offers__column:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(92, 18, 21, 0.12);
}

.page-home .offers__column::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-home .offers__item-thumb {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .offers__item-link:hover .offers__item-thumb {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.25);
}

.page-home .offers__item-thumb img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .offers__item-link:hover .offers__item-thumb img {
    transform: scale(1.12);
}

.page-home .offers__item-price {
    color: var(--maroon);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-home .offers__column {
        border-bottom: 1px solid var(--border);
        margin-bottom: 18px;
        padding: 22px 18px 16px;
    }

    .page-home .offers__column:last-child {
        margin-bottom: 0;
    }
}

/* ---------------------------------------------
   9. Buttons — sheen sweep
   --------------------------------------------- */
.page-home .btn--primary,
.page-home .btn--white {
    position: relative;
    overflow: hidden;
}

.page-home .btn--primary::before,
.page-home .btn--white::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-20deg);
    transition: inset-inline-start 0.6s ease;
    pointer-events: none;
}

.page-home .btn--primary:hover::before,
.page-home .btn--white:hover::before {
    inset-inline-start: 130%;
}

/* ---------------------------------------------
   10. Reduced motion — switch everything off
   --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .page-home .hero__title-visual,
    .page-home .hero__tagline,
    .page-home .hero__desc,
    .page-home .hero__actions,
    .hero-slider__slide .hero-slider__image--desktop,
    .hero-slider__slide .hero-slider__image--mobile,
    .luxe-marquee__track,
    .hero-scroll-cue__line::after {
        animation: none !important;
    }

    .page-home .offers__column,
    .page-home .offers__item-thumb img {
        transition: none;
    }
}
