/* ============================================
   Wildflower Boba & Tea — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    top: 40%;
    right: 5%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}

.geo-rect--1 {
    width: 120px;
    height: 120px;
    background: #15803d;
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    opacity: 0.03;
}

.geo-triangle--1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #15803d;
    top: 60%;
    right: 8%;
    animation: spin-slow 25s linear infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   Navigation
   ============================================ */
.nav-header {
    background: rgba(255, 254, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(21, 128, 61, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-header.scrolled {
    box-shadow: 0 4px 30px rgba(21, 128, 61, 0.1);
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: #15803d;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: #16a34a;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #15803d;
    color: #fffef8;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(21, 128, 61, 0.3);
}

.cta-btn:hover {
    background: #166534;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(21, 128, 61, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 254, 248, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(21, 128, 61, 0.08);
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #15803d;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(21, 128, 61, 0.06);
}

.mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #15803d;
    color: #fffef8;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 0.5rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(134, 239, 172, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 40%);
}

.hero-badge {
    animation: fade-in-up 0.8s ease forwards;
}

.hero h1 {
    animation: fade-in-up 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero p {
    animation: fade-in-up 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero .flex {
    animation: fade-in-up 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #22c55e;
    color: #fffef8;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fffef8;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 254, 248, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 254, 248, 0.1);
    border-color: rgba(255, 254, 248, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   Section Labels
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #15803d;
    background: rgba(21, 128, 61, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(21, 128, 61, 0.15);
}

/* ============================================
   Feature Items
   ============================================ */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

/* ============================================
   Menu Cards
   ============================================ */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

.menu-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86efac;
    background: rgba(34, 197, 94, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 .italic {
        font-size: 1.5rem;
    }

    .geo-circle--1,
    .geo-circle--2,
    .geo-circle--3 {
        display: none;
    }

    .geo-rect--1,
    .geo-triangle--1 {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 .italic {
        font-size: 1.25rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .font-display.text-4xl {
        font-size: 2.25rem;
    }
}
