/* ============================================
   AMY'S SNOW CONES — Style System
   Palette: Burgundy (#800020) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Jost
   ============================================ */

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

:root {
    --burgundy: #800020;
    --burgundy-deep: #5c0017;
    --burgundy-light: #a0344a;
    --blush: #F5E6E0;
    --blush-light: #FBF5F2;
    --blush-mid: #E8D0C8;
    --cream: #FFFAF8;
    --white: #FFFFFF;
    --text-dark: #1A0A0E;
    --text-mid: #4A2030;
    --text-light: #7A5060;
    --text-muted: #A08090;
    --line: #E8D0C8;
    --line-light: #F0E0DA;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
    
    --nav-h: 72px;
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(255, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a,
.nav.scrolled .nav-cta {
    color: var(--text-dark);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.nav-logo-icon {
    color: var(--blush);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 250, 248, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
}

.nav.scrolled .nav-links a:hover {
    color: var(--burgundy);
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    color: var(--white) !important;
    background: var(--burgundy);
    padding: 10px 24px;
    border-radius: 100px;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--burgundy-deep);
    transform: translateY(-1px);
}

.nav.scrolled .nav-cta {
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.nav.scrolled .nav-toggle span {
    background: var(--text-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 14, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 10, 14, 0.45) 0%,
        rgba(128, 0, 32, 0.55) 50%,
        rgba(26, 10, 14, 0.75) 100%
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 10, 14, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--blush);
}

.hero-sub {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 250, 248, 0.8);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 250, 248, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 0.875rem;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 250, 248, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--burgundy);
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 560px;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    padding: 120px 0;
    background: var(--cream);
}

.menu-section .container {
    text-align: center;
}

.menu-section .section-subtitle {
    margin: 0 auto 64px;
}

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

.menu-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(128, 0, 32, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(128, 0, 32, 0.12);
}

.menu-card-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.menu-card-visual 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-visual img {
    transform: scale(1.05);
}

.menu-card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--burgundy);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

.menu-card-body {
    padding: 28px 28px 32px;
}

.menu-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.menu-card-body p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 120px 0;
    background: var(--blush-light);
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: var(--burgundy);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.1;
}

.about-content .section-title {
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--line);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 120px 0;
    background: var(--cream);
}

.process-section .container {
    text-align: center;
}

.process-section .section-subtitle {
    margin: 0 auto 72px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left;
}

.process-step {
    padding: 36px 28px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}

.process-step:hover {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(128, 0, 32, 0.08);
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--burgundy);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0.6;
}

.step-icon {
    width: 48px;
    height: 48px;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   VISIT SECTION
   ============================================ */
.visit-section {
    padding: 120px 0;
    background: var(--blush-light);
}

.visit-section .container {
    text-align: center;
}

.visit-section .section-subtitle {
    margin: 0 auto 64px;
}

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

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

.visit-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 16px rgba(128, 0, 32, 0.05);
    transition: transform var(--transition);
}

.visit-card:hover {
    transform: translateX(4px);
}

.visit-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    border-radius: var(--radius-sm);
}

.visit-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.visit-card p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

.visit-card a {
    color: var(--burgundy);
    transition: color var(--transition);
}

.visit-card a:hover {
    color: var(--burgundy-deep);
    text-decoration: underline;
}

.visit-map {
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(128, 0, 32, 0.08);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 0, 23, 0.88) 0%,
        rgba(128, 0, 32, 0.82) 100%
    );
}

.cta-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.section-eyebrow-light {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 16px;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-headline em {
    font-style: italic;
    color: var(--blush);
}

.cta-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 250, 248, 0.75);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 40px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: rgba(255, 250, 248, 0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 250, 248, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--blush);
}

.footer-tagline {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h5,
.footer-contact h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 250, 248, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--blush);
}

.footer-contact p {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--blush);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 250, 248, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links a {
        color: var(--text-dark) !important;
        font-size: 1rem;
    }
    
    .nav-links a:hover {
        color: var(--burgundy) !important;
    }
    
    .nav-cta {
        color: var(--white) !important;
    }
    
    .nav-overlay {
        display: block;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        height: 400px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-divider svg {
        width: 80px;
    }
}
