/* ========================================
   LolliPop's Sno Cone Shop - Styles
   ======================================== */

/* CSS Custom Properties */
:root {
    --forest-dark: #1a3c2a;
    --forest-primary: #2d5a3f;
    --forest-medium: #3d7a54;
    --forest-light: #5a9e72;
    --forest-pale: #e8f5e9;
    --forest-ghost: #f1f8f3;
    --off-white: #faf9f6;
    --cream: #f5f3ee;
    --warm-gray: #6b6560;
    --dark-text: #1a1a18;
    --medium-text: #3d3d38;
    --light-text: #6b6560;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(26, 60, 42, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 60, 42, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 60, 42, 0.12);
    --shadow-xl: 0 16px 60px rgba(26, 60, 42, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--dark-text);
}

/* Section Label */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-medium);
    background: var(--forest-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--forest-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(45, 90, 63, 0.3);
}

.btn-primary:hover {
    background: var(--forest-medium);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(45, 90, 63, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--forest-primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--forest-pale);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--forest-primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--forest-pale);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 90, 63, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-primary);
}

.logo-icon {
    font-size: 1.6rem;
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--medium-text);
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--forest-primary);
    background: var(--forest-pale);
}

.nav-cta {
    background: var(--forest-primary) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
}

.nav-cta:hover {
    background: var(--forest-medium) !important;
    color: var(--white) !important;
}

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest-primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--forest-primary);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(45, 90, 63, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(90, 158, 114, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(45, 90, 63, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-medium);
    background: var(--forest-pale);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--forest-medium);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline br {
    display: block;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--forest-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--light-text);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(45, 90, 63, 0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-main img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--off-white);
}

.hero-image-accent img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.floating-card-icon {
    font-size: 1.8rem;
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.floating-card-text strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--dark-text);
}

.floating-card-text span {
    font-size: 0.8rem;
    color: var(--light-text);
}

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

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

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

.about-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-image-floating {
    position: absolute;
    bottom: -20px;
    right: -20px;
}

.floating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--forest-primary);
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.floating-badge-icon {
    font-size: 1.4rem;
}

.floating-badge span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.about-content {
    max-width: 500px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--medium-text);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--forest-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-primary);
}

.feature-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.5;
}

/* ========================================
   Flavors Section
   ======================================== */
.flavors {
    padding: 100px 0;
    background: var(--forest-ghost);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.flavor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.flavor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.flavor-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flavor-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: var(--transition);
}

.flavor-card:hover .flavor-emoji {
    transform: scale(1.15) rotate(-5deg);
}

.flavor-info {
    padding: 24px;
}

.flavor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.flavor-desc {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 14px;
}

.flavor-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-primary);
    background: var(--forest-pale);
    padding: 4px 12px;
    border-radius: 50px;
}

.flavors-note {
    margin-top: 40px;
}

.flavors-note p {
    font-size: 1rem;
    color: var(--medium-text);
}

.flavors-note strong {
    color: var(--forest-primary);
}

/* ========================================
   Process Section
   ======================================== */
.process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--forest-ghost);
    transition: var(--transition);
}

.process-step:hover {
    background: var(--forest-pale);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--forest-light);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.step-visual {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.step-visual img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: var(--transition);
}

.process-step:hover .step-visual img {
    transform: scale(1.05);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.7;
}

/* ========================================
   Visit Section
   ======================================== */
.visit {
    padding: 100px 0;
    background: var(--forest-ghost);
}

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

.visit-info {
    padding-right: 20px;
}

.visit-text {
    font-size: 1.05rem;
    color: var(--medium-text);
    line-height: 1.85;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--forest-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-primary);
}

.visit-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--forest-primary);
}

.visit-cta {
    margin-top: 8px;
}

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

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--forest-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-emoji {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

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

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

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Scroll Reveal (Progressive Enhancement)
   ======================================== */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subheadline {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image-main img {
        height: 480px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .flavors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-info {
        padding-right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 8px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 16px;
        width: 100%;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .hero-image-accent {
        left: -10px;
        bottom: -15px;
    }
    
    .hero-image-accent img {
        width: 140px;
        height: 140px;
    }
    
    .hero-floating-card {
        top: 20px;
        right: 0;
        padding: 12px 16px;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
