/* ==========================================================================
   Home Hero (redesign) — immersive rotating food photography, ink + orange.
   Self-contained .rvhero-* namespace; does not touch the theme .hero-1 rules.
   ========================================================================== */
.rvhero {
    --rvh-gold: var(--theme-color, #FA8507);
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    background: radial-gradient(125% 125% at 18% 0%, #1a140c 0%, #0c0a08 46%, #050403 100%);
}

/* warm decorative glow behind the floating dishes */
.rvhero-glow {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 640px;
    height: 640px;
    max-width: 60vw;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(250, 133, 7, .24) 0%, rgba(250, 133, 7, 0) 66%);
    z-index: 1;
    pointer-events: none;
}

/* ---- Layout ---- */
.rvhero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.rvhero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
}

.rvhero-content {
    flex: 1 1 46%;
    max-width: 600px;
    padding: 130px 0;
}

.rvhero-content > * {
    opacity: 0;
    transform: translateY(26px);
    animation: rvhUp .9s cubic-bezier(.2, .7, .2, 1) forwards;
}

.rvhero-content > *:nth-child(1) { animation-delay: .15s; }
.rvhero-content > *:nth-child(2) { animation-delay: .30s; }
.rvhero-content > *:nth-child(3) { animation-delay: .45s; }
.rvhero-content > *:nth-child(4) { animation-delay: .60s; }
.rvhero-content > *:nth-child(5) { animation-delay: .75s; }

@keyframes rvhUp {
    to { opacity: 1; transform: none; }
}

.rvhero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--style-font, cursive);
    font-size: 26px;
    line-height: 1;
    color: var(--rvh-gold);
    margin-bottom: 20px;
}

.rvhero-eyebrow-line {
    width: 46px;
    height: 2px;
    background: var(--rvh-gold);
    display: inline-block;
}

.rvhero-title {
    color: #fff;
    font-size: 118px;
    line-height: .95;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0 0 22px;
    text-shadow: 0 6px 34px rgba(0, 0, 0, .5);
}

    .rvhero-title span {
        color: var(--rvh-gold);
        display: block;
    }

.rvhero-lead {
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 34px;
    max-width: 500px;
}

/* ---- Actions ---- */
.rvhero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.rvhero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    border: 2px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

    .rvhero-btn i { font-size: 17px; }

.rvhero-btn-primary {
    background: linear-gradient(135deg, var(--rvh-gold), #ffb44d);
    color: #201400;
    box-shadow: 0 14px 34px -12px rgba(250, 133, 7, .8);
}

    .rvhero-btn-primary:hover {
        color: #201400;
        transform: translateY(-3px);
        box-shadow: 0 20px 40px -12px rgba(250, 133, 7, .9);
    }

.rvhero-btn-ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    backdrop-filter: blur(4px);
}

    .rvhero-btn-ghost:hover {
        background: #fff;
        border-color: #fff;
        color: #1a1a1a;
        transform: translateY(-3px);
    }

/* ---- Fact chips ---- */
.rvhero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 0;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.rvhero-fact {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
}

    .rvhero-fact i { color: var(--rvh-gold); font-size: 15px; }

.rvhero-fact-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.rvhero-fact.is-open {
    color: #8df3ab;
}

    .rvhero-fact.is-open .rvhero-fact-dot {
        background: #38d36b;
        box-shadow: 0 0 0 4px rgba(56, 211, 107, .18);
        animation: rvhPulse 1.8s ease-in-out infinite;
    }

.rvhero-fact.is-closed {
    color: #ffb0b0;
}

    .rvhero-fact.is-closed .rvhero-fact-dot {
        background: #ff7a7a;
        box-shadow: 0 0 0 4px rgba(255, 122, 122, .18);
    }

@keyframes rvhPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 211, 107, .5); }
    50% { box-shadow: 0 0 0 7px rgba(56, 211, 107, 0); }
}

/* ---- Vertical social ---- */
.rvhero-social {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

    .rvhero-social::before,
    .rvhero-social::after {
        content: "";
        width: 1px;
        height: 60px;
        background: rgba(255, 255, 255, .25);
    }

    .rvhero-social a {
        color: #fff;
        font-size: 15px;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 50%;
        transition: all .25s ease;
    }

        .rvhero-social a:hover {
            background: var(--rvh-gold);
            border-color: var(--rvh-gold);
            color: #201400;
            transform: translateY(-3px);
        }

/* ---- Scroll cue ---- */
.rvhero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 4;
}

.rvhero-scroll-mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 14px;
    position: relative;
}

    .rvhero-scroll-mouse > span {
        position: absolute;
        left: 50%;
        top: 8px;
        width: 4px;
        height: 8px;
        margin-left: -2px;
        border-radius: 2px;
        background: var(--rvh-gold);
        animation: rvhScroll 1.6s ease-in-out infinite;
    }

@keyframes rvhScroll {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ---- Floating signature dishes (right half) ---- */
.rvhero-dishes {
    flex: 1 1 56%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 640px;
    margin-left: auto;
    padding: 20px 0;
    align-items: start;
}

.rvhero-dish {
    opacity: 0;
    animation: rvhFadeIn .8s ease forwards, rvhFloat 6s ease-in-out infinite;
    will-change: transform;
}

    /* 3-column zig-zag: the middle column (2, 5) floats lower */
    .rvhero-dish:nth-child(1) { animation-delay: .40s, 0s; }
    .rvhero-dish:nth-child(2) { animation-delay: .50s, .9s; margin-top: 42px; }
    .rvhero-dish:nth-child(3) { animation-delay: .60s, .4s; }
    .rvhero-dish:nth-child(4) { animation-delay: .70s, 1.2s; }
    .rvhero-dish:nth-child(5) { animation-delay: .80s, .6s; margin-top: 42px; }
    .rvhero-dish:nth-child(6) { animation-delay: .90s, 1.5s; }

    /* trim the reused signature card for the smaller hero cluster cards */
    .rvhero-dish .sig-card-v2 .rgal-name { font-size: 13px; line-height: 1.25; }
    .rvhero-dish .sig-card-v2 .rgal-price { font-size: 12.5px; }
    .rvhero-dish .sig-card-v2 .rgal-viewmenu { font-size: 9.5px; }
    .rvhero-dish .sig-card-v2 .sig-ribbon { font-size: 9px; padding: 4px 9px; }
    .rvhero-dish .sig-card-v2 .rgal-imginfo { padding: 12px 10px; }

@keyframes rvhFadeIn {
    to { opacity: 1; }
}

@keyframes rvhFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
    .rvhero-dish { animation: rvhFadeIn .6s ease forwards; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399px) {
    .rvhero-title { font-size: 92px; }
    .rvhero-dishes { gap: 20px; }
}

@media (max-width: 1199px) {
    .rvhero-title { font-size: 78px; }
    .rvhero-content { flex-basis: 48%; }
    .rvhero-social { right: 16px; }
    /* reduce to 4 dishes in 2 columns */
    .rvhero-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 440px; }
    .rvhero-dish:nth-child(n+5) { display: none; }
    .rvhero-dish:nth-child(5), .rvhero-dish:nth-child(3) { margin-top: 0; }
    .rvhero-dish:nth-child(2), .rvhero-dish:nth-child(4) { margin-top: 36px; }
    .rvhero-dish .sig-card-v2 .rgal-name { font-size: 14.5px; }
    .rvhero-dish .sig-card-v2 .rgal-price { font-size: 14px; }
}

@media (max-width: 991px) {
    .rvhero { min-height: 640px; }
    .rvhero-grid { gap: 30px; }
    .rvhero-title { font-size: 66px; }
    .rvhero-content { padding: 118px 0; flex-basis: 52%; }
    /* reduce to 2 dishes */
    .rvhero-dish:nth-child(n+3) { display: none; }
    .rvhero-dish:nth-child(2) { margin-top: 34px; }
    .rvhero-social {
        right: auto;
        left: 20px;
        top: auto;
        bottom: 22px;
        transform: none;
        flex-direction: row;
    }
        .rvhero-social::before,
        .rvhero-social::after { display: none; }
    .rvhero-scroll { display: none; }
}

@media (max-width: 767px) {
    .rvhero { min-height: 0; text-align: center; }
    .rvhero-grid { flex-direction: column; gap: 8px; }
    .rvhero-content {
        max-width: 100%;
        padding: 120px 0 20px;
        margin: 0 auto;
    }
    .rvhero-eyebrow { justify-content: center; font-size: 22px; }
    .rvhero-title { font-size: 60px; }
        .rvhero-title span { display: inline; }
    .rvhero-lead { margin-left: auto; margin-right: auto; }
    .rvhero-actions { justify-content: center; }
    .rvhero-facts { justify-content: center; }
    .rvhero-social { left: 50%; transform: translateX(-50%); }
    /* dishes drop below the text — 2 across, no masonry offset */
    .rvhero-dishes {
        flex: 1 1 auto;
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
        padding: 6px 0 90px;
        gap: 16px;
    }
    .rvhero-dish { animation: rvhFadeIn .7s ease forwards; }
    .rvhero-dish:nth-child(2) { margin-top: 0; }
    .rvhero-glow { right: 50%; transform: translate(50%, -50%); top: 60%; }
}

@media (max-width: 480px) {
    .rvhero-title { font-size: 46px; }
    .rvhero-eyebrow { font-size: 20px; }
    .rvhero-lead { font-size: 16px; }
    .rvhero-btn { padding: 14px 26px; font-size: 15px; }
    .rvhero-content { padding: 104px 0 16px; }
    .rvhero-dishes { gap: 12px; }
}

@media (max-width: 360px) {
    .rvhero-title { font-size: 40px; }
    .rvhero-actions { flex-direction: column; }
    .rvhero-btn { width: 100%; justify-content: center; }
}
