/* ============================================
   JB's Snowball STAND — Stylesheet
   Palette: Plum (#7B3F6E) + Amber (#D4913B)
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --plum-900: #2D1525;
    --plum-800: #4A1942;
    --plum-700: #6B2D5B;
    --plum-600: #7B3F6E;
    --plum-500: #9B5090;
    --plum-400: #B87AB0;
    --plum-300: #D4A5CC;
    --plum-200: #E8C8E0;
    --plum-100: #F5E1F0;
    --plum-50:  #FBF3FA;

    --amber-700: #B8742A;
    --amber-600: #D4913B;
    --amber-500: #E8A84C;
    --amber-400: #F0BF6E;
    --amber-300: #F5D49A;
    --amber-200: #F9E8C4;
    --amber-100: #FDF4E4;

    --white: #FFFFFF;
    --off-white: #FDFBF9;
    --cream: #FAF6F2;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(123, 63, 110, 0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(123, 63, 110, 0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(123, 63, 110, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(123, 63, 110, 0.14), 0 8px 20px rgba(0,0,0,0.08);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 500;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 249, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 63, 110, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(253, 251, 249, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--plum-800);
    letter-spacing: -0.02em;
}

.logo svg {
    flex-shrink: 0;
}

/* NAV */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--plum-700);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.nav-toggle:hover { background: var(--plum-100); }
.nav-toggle svg { display: block; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-list a:hover {
    color: var(--plum-700);
    background: var(--plum-50);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-600);
    color: var(--white);
    border-color: var(--plum-600);
}
.btn-primary:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum-700);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-plum {
    background: transparent;
    color: var(--plum-600);
    border-color: var(--plum-300);
}
.btn-outline-plum:hover {
    background: var(--plum-50);
    border-color: var(--plum-600);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        160deg,
        rgba(45, 21, 37, 0.82) 0%,
        rgba(74, 25, 66, 0.70) 40%,
        rgba(123, 63, 110, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-400);
    background: rgba(212, 145, 59, 0.15);
    border: 1px solid rgba(212, 145, 59, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.5);
    animation: bobble 2s ease-in-out infinite;
    transition: color var(--transition);
}
.scroll-indicator:hover { color: rgba(255,255,255,0.9); }

@keyframes bobble {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--plum-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.menu-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--plum-200);
}

.menu-card-img {
    height: 220px;
    overflow: hidden;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}

.menu-card-body {
    padding: 28px;
}
.menu-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 10px;
}
.menu-card-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}
.about-content p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 18px;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--plum-50) 0%, var(--cream) 100%);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.visit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--white);
    border: 1px solid var(--plum-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 4px;
}

.visit-item p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gray-600);
}
.visit-item a {
    color: var(--plum-600);
    font-weight: 600;
    transition: color var(--transition);
}
.visit-item a:hover { color: var(--plum-800); }

.hours-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-style: italic;
}

.visit-map {
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-600) 60%, var(--plum-500) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 145, 59, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--plum-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--amber-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   MOBILE NAV
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 251, 249, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
    }

    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-list .btn {
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid,
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .features-grid,
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrap { order: -1; }

    .visit-grid {
        grid-template-columns: 1fr;
    }

    .visit-map { min-height: 280px; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links { justify-content: center; }

    .hero-content { padding: 100px 20px 80px; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; max-width: 280px; }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
    .header-inner { height: 64px; }
    .nav-list { top: 64px; }

    .features,
    .menu,
    .about,
    .visit { padding: 72px 0; }

    .cta { padding: 72px 0; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .scroll-indicator { animation: none; }
}
