/* ===================================
   SPANKY'S — Smooth, Confident, Bold
   Inspired by Rocky's Hot Honey
   =================================== */

:root {
    --color-yellow: #ffc71f;
    --color-red: #ff4051;
    --color-dark: #070505;
    --color-cream: #fff3dc;
    --color-orange: #ff9a2c;
    --color-white: #ffffff;

    --font-retro: 'Luckiest Guy', cursive;
    --font-display: 'Lilita One', cursive;
    --font-body: 'Space Grotesk', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-cream);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== SCROLL REVEAL — smooth, confident ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional reveals */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale reveal — grows in smoothly */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children — each child delays slightly */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    background: rgba(255, 243, 220, 0.0);
    backdrop-filter: blur(0px);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
    background: rgba(255, 243, 220, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(7,5,5,0.08);
}

.nav__logo {
    font-family: var(--font-retro);
    font-size: 1.5rem;
    color: var(--color-red);
    transition: transform 0.4s var(--ease-out);
}
.nav__logo:hover { transform: scale(1.05); }

.nav__links {
    display: flex;
    gap: 36px;
}
.nav__links a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--color-dark);
    position: relative;
    transition: color 0.3s;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--color-red); }
.nav__links a:hover::after { width: 100%; }

.nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s var(--ease-out);
}
.nav__mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav__mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--color-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu__link {
    font-family: var(--font-retro);
    font-size: 2.2rem;
    color: var(--color-dark);
    transition: color 0.3s;
}
.mobile-menu__link:hover { color: var(--color-red); }

/* ===== HERO — Fullscreen video ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

/* Video fills entire viewport, cropped to cover */
.hero__video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Dark overlay so title pops against video */
.hero__video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    /* Scale up slightly to crop out any black borders in the video itself */
    transform: scale(1.15);
}

/* Title overlaid on video */
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 32px;
    opacity: 0;
    animation: heroReveal 1.2s 0.3s var(--ease-out) forwards;
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__title {
    font-family: var(--font-retro);
    font-size: clamp(4rem, 14vw, 10rem);
    line-height: 1;
    color: var(--color-red);
    letter-spacing: 0.04em;
    text-shadow:
        0 4px 0 #c0202f,
        0 8px 40px rgba(0,0,0,0.5);
    -webkit-text-stroke: 2px #c0202f;
}

.hero__tagline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    color: rgba(255,243,220,0.7);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,243,220,0.5);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: scrollHintFade 1s 1.8s var(--ease-out) forwards;
}
@keyframes scrollHintFade {
    to { opacity: 1; }
}

.hero__scroll-dot {
    animation: scrollDotBounce 2s ease-in-out infinite;
}
@keyframes scrollDotBounce {
    0%, 100% { cy: 10; }
    50% { cy: 20; }
}

/* ===== PUG MASCOT SECTION ===== */
.pug-section {
    background: var(--color-cream);
    padding: 60px 0 40px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.pug-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pug-section__character {
    position: relative;
    transition: transform 0.4s var(--ease-out);
}

/* Jump animation on click */
.pug-section__character.jumping {
    animation: pugJump 0.8s var(--ease-out);
}

@keyframes pugJump {
    0%   { transform: translateY(0) scale(1); }
    15%  { transform: translateY(10px) scale(1.05, 0.92); }
    35%  { transform: translateY(-80px) scale(0.95, 1.08); }
    55%  { transform: translateY(-80px) scale(1); }
    75%  { transform: translateY(5px) scale(1.04, 0.94); }
    100% { transform: translateY(0) scale(1); }
}

/* Speech bubble */
.pug-section__speech {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--color-red);
    color: var(--color-cream);
    font-family: var(--font-retro);
    font-size: 1.6rem;
    padding: 10px 24px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: none;
}

.pug-section__speech::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--color-red);
}

.pug-section__speech.show {
    animation: speechPop 1.6s var(--ease-out) forwards;
}

@keyframes speechPop {
    0%   { opacity: 0; transform: translateX(-50%) scale(0) translateY(0); }
    15%  { opacity: 1; transform: translateX(-50%) scale(1.15) translateY(-10px); }
    25%  { opacity: 1; transform: translateX(-50%) scale(1) translateY(-10px); }
    75%  { opacity: 1; transform: translateX(-50%) scale(1) translateY(-10px); }
    100% { opacity: 0; transform: translateX(-50%) scale(0.8) translateY(-20px); }
}

/* Big fun button */
.pug-section__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-retro);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--color-cream);
    background: var(--color-red);
    padding: 18px 40px;
    border-radius: 999px;
    border: 3px solid var(--color-red);
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    box-shadow: 0 6px 0 #c0202f, 0 10px 30px rgba(255,64,81,0.3);
    position: relative;
    top: 0;
}

.pug-section__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #c0202f, 0 16px 40px rgba(255,64,81,0.4);
}

.pug-section__btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #c0202f, 0 4px 12px rgba(255,64,81,0.3);
}

.pug-section__btn-icon {
    font-size: 1.4em;
    display: inline-block;
    transition: transform 0.3s var(--ease-out);
}
.pug-section__btn:hover .pug-section__btn-icon {
    transform: rotate(-10deg) scale(1.15);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 16px 36px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    text-transform: uppercase;
}

.btn--primary {
    background: var(--color-yellow);
    color: var(--color-dark);
    border-color: var(--color-yellow);
}
.btn--primary:hover {
    background: var(--color-cream);
    border-color: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--outline {
    background: transparent;
    color: var(--color-cream);
    border-color: rgba(255,243,220,0.4);
}
.btn--outline:hover {
    background: var(--color-cream);
    color: var(--color-dark);
    border-color: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--yellow {
    background: var(--color-yellow);
    color: var(--color-dark);
    border-color: var(--color-yellow);
}
.btn--yellow:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,199,31,0.3);
}

.btn--full { width: 100%; text-align: center; }

/* ===== SECTION HELPERS ===== */
.section-title {
    font-family: var(--font-retro);
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-title--dark { color: var(--color-cream); }
.section-title--light { color: var(--color-yellow); }

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 56px;
    opacity: 0.6;
    font-weight: 400;
}
.section-subtitle--dark { color: var(--color-cream); }
.section-subtitle--light { color: rgba(255,243,220,0.6); }

.section-wave {
    position: relative;
    line-height: 0;
    margin-top: -1px;
}
.section-wave svg { width: 100%; height: 120px; }

/* ===== MENU — Showcase Layout ===== */
.menu {
    background: var(--color-cream);
    padding: 100px 0 0;
    position: relative;
}

.menu__showcase {
    display: flex;
    flex-direction: column;
}

.showcase-item {
    display: flex;
    align-items: stretch;
    min-height: 520px;
    overflow: hidden;
}
.showcase-item:nth-child(even) { flex-direction: row-reverse; }

.showcase-item:nth-child(odd) { background: var(--color-cream); }
.showcase-item:nth-child(even) { background: var(--color-white); }

.showcase-item__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    position: relative;
    overflow: hidden;
}

/* Colorful image backgrounds */
.showcase-item:nth-child(1) .showcase-item__image { background: var(--color-yellow); }
.showcase-item:nth-child(2) .showcase-item__image { background: var(--color-red); }
.showcase-item:nth-child(3) .showcase-item__image { background: var(--color-orange); }
.showcase-item:nth-child(4) .showcase-item__image { background: #f0c8ff; }
.showcase-item:nth-child(5) .showcase-item__image { background: var(--color-yellow); }
.showcase-item:nth-child(6) .showcase-item__image { background: var(--color-red); }

.showcase-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s var(--ease-out);
}
.showcase-item:hover .showcase-item__image img {
    transform: scale(1.03);
}

.showcase-item__text {
    flex: 1;
    padding: 72px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-item__number {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: rgba(7,5,5,0.12);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.showcase-item__category {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 12px;
}

.showcase-item__name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.showcase-item__description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 440px;
}

.showcase-item__price {
    font-family: var(--font-retro);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    color: var(--color-red);
}

.showcase-item__unavailable {
    display: inline-block;
    background: rgba(7,5,5,0.06);
    color: #999;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-left: 12px;
    vertical-align: middle;
}

.menu__empty {
    text-align: center;
    padding: 80px 20px;
    font-size: 1.2rem;
    color: #999;
}

/* ===== EVENTS ===== */
.events {
    background: var(--color-yellow);
    padding: 100px 0 0;
    position: relative;
}

.events__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background: var(--color-dark);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 28px;
    align-items: center;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.event-card__date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--color-red);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-card__month {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,243,220,0.7);
}
.event-card__day {
    font-family: var(--font-retro);
    font-size: 1.6rem;
    color: var(--color-yellow);
    line-height: 1;
}

.event-card__info { flex: 1; }
.event-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-cream);
    margin-bottom: 4px;
}
.event-card__location {
    font-size: 0.9rem;
    color: var(--color-yellow);
    margin-bottom: 4px;
    font-weight: 500;
}
.event-card__time {
    font-size: 0.8rem;
    color: rgba(255,243,220,0.45);
}
.event-card__description {
    font-size: 0.85rem;
    color: rgba(255,243,220,0.35);
    margin-top: 8px;
    line-height: 1.5;
}

.events__empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: var(--color-dark);
    opacity: 0.5;
}

/* ===== SIGNUP ===== */
.signup {
    background: var(--color-red);
    padding: 100px 0 0;
    position: relative;
}

.signup__card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--color-dark);
    border-radius: 28px;
    padding: 56px 44px;
    text-align: center;
}

.signup__emoji {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.signup__title {
    font-family: var(--font-retro);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--color-yellow);
    margin-bottom: 12px;
}

.signup__text {
    color: rgba(255,243,220,0.55);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.signup__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signup__status, .contact__status {
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    min-height: 24px;
}
.signup__status { color: var(--color-yellow); }
.contact__status { color: var(--color-yellow); }

/* ===== INPUTS ===== */
.input {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1.5px solid rgba(7,5,5,0.12);
    background: var(--color-cream);
    color: var(--color-dark);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}
.input:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255,64,81,0.1);
}
.input::placeholder { color: #aaa; }

.input--dark {
    background: rgba(255,243,220,0.06);
    color: var(--color-cream);
    border-color: rgba(255,243,220,0.1);
}
.input--dark:focus {
    border-color: var(--color-yellow);
    box-shadow: 0 0 0 3px rgba(255,199,31,0.1);
}
.input--dark::placeholder { color: rgba(255,243,220,0.3); }

.input--textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--color-dark);
    padding: 100px 0 80px;
}
.contact__form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(255,243,220,0.06);
    padding: 48px 0;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.footer__logo {
    font-family: var(--font-retro);
    font-size: 1.3rem;
    color: var(--color-red);
}
.footer__tagline {
    color: rgba(255,243,220,0.35);
    font-size: 0.85rem;
    margin-top: 4px;
}
.footer__links {
    display: flex;
    gap: 28px;
}
.footer__links a {
    color: rgba(255,243,220,0.45);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}
.footer__links a:hover { color: var(--color-yellow); }
.footer__copy {
    color: rgba(255,243,220,0.2);
    font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 810px) {
    .nav__links { display: none; }
    .nav__mobile-toggle { display: flex; }

    .showcase-item,
    .showcase-item:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }
    .showcase-item__image {
        min-height: 320px;
        width: 100%;
        font-size: 100px;
    }
    .showcase-item__text {
        padding: 40px 28px;
        text-align: center;
    }
    .showcase-item__description { max-width: 100%; }

    .pug-section__btn { font-size: 1rem; padding: 16px 28px; }

    .event-card { flex-direction: column; text-align: center; padding: 28px; }

    .signup__card { padding: 40px 28px; }
}

@media (max-width: 480px) {
    .nav { padding: 14px 20px; }
    .nav__logo { font-size: 1.2rem; }

    .btn { width: 100%; text-align: center; }
}
