/* TEMPORARY: Fall Fest 2026 home page hero (see partials/fallfest_hero.php). Delete after Oct 18, 2026. */

.ff-hero {
    --ff-wood-dark: #2b180c;
    --ff-wood: #3b2214;
    --ff-orange: #e8862a;
    --ff-orange-bright: #f5a53a;
    --ff-red: #b5301c;
    --ff-cream: #fbf4e8;
    --ff-display: "Graduate", Georgia, serif;
    position: relative;
    overflow: hidden;
    padding: 0;
    color: var(--ff-cream);
    background: var(--ff-wood-dark);
    isolation: isolate;
}

/* Scene photo on its own layer so it can be softly blurred like a shallow depth of field */
.ff-hero .ff-bg {
    position: absolute;
    inset: -20px;
    z-index: -2;
    background: url("../images/fallfest-2026-scene.jpg") center bottom / cover no-repeat;
    filter: blur(4px);
}

/* Warm wood overlay: heavy on the left for the banner, lets the scene glow through on the right */
.ff-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 55% 70% at 25% 50%, rgba(245, 165, 58, .28), transparent 70%),
        linear-gradient(180deg, rgba(43, 24, 12, .55) 0%, rgba(43, 24, 12, 0) 30%, rgba(43, 24, 12, .2) 75%, rgba(43, 24, 12, .9) 100%),
        linear-gradient(100deg, rgba(43, 24, 12, .9) 0%, rgba(59, 34, 20, .78) 45%, rgba(59, 34, 20, .6) 100%);
}

.ff-hero .ff-inner {
    position: relative;
    z-index: 2;
    padding: 60px 0 55px;
}

/* ---------- Banner card ---------- */
.ff-hero .ff-banner-wrap {
    position: relative;
    padding: 0 10px;
}

.ff-hero .ff-banner {
    display: block;
    position: relative;
    border: 8px solid var(--ff-cream);
    border-radius: 6px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .15);
    transform: rotate(-3deg);
    transition: transform .4s cubic-bezier(.2, .9, .3, 1.3), box-shadow .4s;
}

.ff-hero .ff-banner:hover,
.ff-hero .ff-banner:focus-visible {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .15);
}

.ff-hero .ff-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* "This Sunday" stamp */
.ff-hero .ff-stamp {
    position: absolute;
    top: -38px;
    right: -6px;
    z-index: 3;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--ff-red);
    color: var(--ff-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--ff-display);
    line-height: 1;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .45), inset 0 0 0 5px var(--ff-red), inset 0 0 0 7px rgba(251, 244, 232, .8);
    transform: rotate(12deg);
    animation: ff-stamp-wobble 4s ease-in-out infinite;
    pointer-events: none;
}

.ff-hero .ff-stamp small {
    font-size: 14px;
    letter-spacing: 2px;
    opacity: .9;
}

.ff-hero .ff-stamp strong {
    font-size: 25px;
    font-weight: 400;
    margin: 3px 0;
}

@keyframes ff-stamp-wobble {
    0%, 100% { transform: rotate(12deg) scale(1); }
    50% { transform: rotate(6deg) scale(1.06); }
}

/* ---------- Copy ---------- */
.ff-hero .ff-copy {
    padding-left: 30px;
}

.ff-hero .ff-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(245, 165, 58, .55);
    border-radius: 50px;
    background: rgba(245, 165, 58, .12);
    color: var(--ff-orange-bright);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ff-hero .ff-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 56px;
    line-height: 1.02;
    text-transform: uppercase;
    color: var(--ff-cream);
    margin: 0 0 18px;
    text-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}

.ff-hero .ff-title span {
    display: block;
    font-size: .68em;
    background: linear-gradient(90deg, #f7c04a, var(--ff-orange-bright) 40%, #ef6a1f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35));
}

.ff-hero .ff-lead {
    color: #f3e6d8;
    font-size: 19px;
    line-height: 1.55;
    margin-bottom: 26px;
    max-width: 540px;
}

/* Schedule cards */
.ff-hero .ff-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    max-width: 560px;
}

.ff-hero .ff-times li {
    padding: 14px 12px;
    border: 1px solid rgba(251, 244, 232, .18);
    border-radius: 12px;
    background: rgba(251, 244, 232, .08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    text-align: center;
}

.ff-hero .ff-times i {
    display: block;
    color: var(--ff-orange-bright);
    font-size: 20px;
    margin-bottom: 6px;
}

.ff-hero .ff-times small {
    display: block;
    color: #f5c27a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ff-hero .ff-times strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 21px;
    color: #fff;
    margin-top: 2px;
}

/* Countdown */
.ff-hero .ff-countdown {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 30px;
}

.ff-hero .ff-countdown-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5c27a;
}

.ff-hero .ff-countdown-units {
    display: flex;
    gap: 8px;
}

.ff-hero .ff-countdown-units div {
    min-width: 58px;
    padding: 6px 4px 5px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .35);
    border-bottom: 3px solid var(--ff-orange);
    text-align: center;
    line-height: 1;
}

.ff-hero .ff-countdown-units b {
    display: block;
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 26px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.ff-hero .ff-countdown-units span {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e9d6c0;
}

.ff-hero .ff-countdown-live {
    font-family: var(--ff-display);
    font-size: 22px;
    color: var(--ff-orange-bright);
}

/* CTA */
.ff-hero .ff-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 38px;
    border-radius: 60px;
    background: linear-gradient(135deg, #f5a53a 0%, #e8862a 45%, #d4561a 100%);
    color: #fff;
    font-family: var(--ff-display);
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 6px 0 #8e3410, 0 18px 35px -8px rgba(232, 134, 42, .7);
    transition: transform .15s, box-shadow .15s;
    animation: ff-glow 2.4s ease-in-out infinite;
}

.ff-hero .ff-cta i {
    transition: transform .2s;
}

.ff-hero .ff-cta:hover,
.ff-hero .ff-cta:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #8e3410, 0 24px 45px -8px rgba(232, 134, 42, .85);
}

.ff-hero .ff-cta:hover i {
    transform: translateX(5px);
}

.ff-hero .ff-cta:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #8e3410, 0 10px 20px -8px rgba(232, 134, 42, .7);
}

@keyframes ff-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

.ff-hero .ff-fineprint {
    margin: 18px 0 0;
    font-size: 15px;
    color: #e9d6c0;
}

.ff-hero .ff-fineprint i {
    color: var(--ff-orange-bright);
    margin-right: 4px;
}

/* ---------- Food ticker ---------- */
.ff-hero .ff-ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: linear-gradient(90deg, #b5301c, #d4561a 50%, #b5301c);
    border-top: 3px solid var(--ff-orange-bright);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
    white-space: nowrap;
}

.ff-hero .ff-ticker-track {
    display: inline-flex;
    animation: ff-ticker 45s linear infinite;
}

.ff-hero .ff-ticker-track span {
    padding: 13px 0;
    font-family: var(--ff-display);
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ff-cream);
}

.ff-hero .ff-ticker-track span::after {
    content: "\2726";
    margin: 0 22px;
    color: #f7c04a;
}

@keyframes ff-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Falling leaves ---------- */
.ff-hero .ff-leaves {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ff-hero .ff-leaf {
    position: absolute;
    top: -60px;
    left: var(--x);
    width: var(--s);
    height: var(--s);
    color: var(--c);
    opacity: 0;
    animation: ff-fall var(--d) linear var(--delay) infinite;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3));
}

.ff-hero .ff-leaf svg {
    width: 100%;
    height: 100%;
    animation: ff-sway calc(var(--d) / 4) ease-in-out infinite alternate;
}

@keyframes ff-fall {
    0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
    8% { opacity: .9; }
    85% { opacity: .9; }
    100% { opacity: 0; transform: translate3d(var(--drift), 900px, 0) rotate(var(--r)); }
}

@keyframes ff-sway {
    from { transform: translateX(-18px) rotate(-25deg); }
    to { transform: translateX(18px) rotate(25deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .ff-hero .ff-title { font-size: 48px; }
    .ff-hero .ff-copy { padding-left: 15px; }
}

@media (max-width: 991px) {
    .ff-hero::before {
        background:
            radial-gradient(ellipse 80% 40% at 50% 22%, rgba(245, 165, 58, .25), transparent 70%),
            linear-gradient(180deg, rgba(43, 24, 12, .9) 0%, rgba(59, 34, 20, .82) 55%, rgba(43, 24, 12, .92) 100%);
    }

    .ff-hero .ff-inner { padding: 55px 0 40px; text-align: center; }
    .ff-hero .ff-copy { max-width: 600px; margin: 0 auto; }
    .ff-hero .ff-banner-wrap { max-width: 560px; margin: 0 auto; }
    .ff-hero .ff-copy { padding: 40px 0 0; }
    .ff-hero .ff-lead { margin-left: auto; margin-right: auto; }
    .ff-hero .ff-times { margin-left: auto; margin-right: auto; }
    .ff-hero .ff-countdown { justify-content: center; }
}

@media (max-width: 575px) {
    .ff-hero .ff-inner { padding: 50px 0 30px; }
    .ff-hero .ff-banner { border-width: 5px; transform: rotate(-2deg); }
    .ff-hero .ff-stamp { width: 88px; height: 88px; top: -26px; right: -2px; }
    .ff-hero .ff-stamp small { font-size: 10px; letter-spacing: 1px; }
    .ff-hero .ff-stamp strong { font-size: 18px; }
    .ff-hero .ff-copy { padding-top: 30px; }
    .ff-hero .ff-eyebrow { font-size: 10px; letter-spacing: 1px; padding: 6px 12px; }
    .ff-hero .ff-title { font-size: 40px; }
    .ff-hero .ff-title span { font-size: .66em; margin-top: 4px; }
    .ff-hero .ff-lead { font-size: 17px; }
    .ff-hero .ff-times { gap: 8px; }
    .ff-hero .ff-times li { padding: 10px 6px; }
    .ff-hero .ff-times i { font-size: 17px; }
    .ff-hero .ff-times small { font-size: 9px; letter-spacing: .3px; }
    .ff-hero .ff-times strong { font-size: 16px; }
    .ff-hero .ff-countdown { flex-direction: column; gap: 8px; }
    .ff-hero .ff-countdown-units div { min-width: 54px; }
    .ff-hero .ff-countdown-units b { font-size: 22px; }
    .ff-hero .ff-cta { display: flex; justify-content: center; width: 100%; padding: 18px 20px; font-size: 19px; }
    .ff-hero .ff-ticker-track span { font-size: 15px; padding: 11px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ff-hero .ff-leaves { display: none; }
    .ff-hero .ff-stamp,
    .ff-hero .ff-cta,
    .ff-hero .ff-ticker-track { animation: none; }
    .ff-hero .ff-banner { transition: none; }
}
