/* ============================================
   Bubble Tea Magic Euless — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #C05A43;
    color: white;
}

/* --- Hero Background Clip --- */
.clip-hero-bg {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* --- Floating Card Animation --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* --- Scroll Line Animation --- */
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 0.8; transform: scaleY(1); }
}

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Section Labels --- */
.section-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C05A43;
    margin-bottom: 16px;
    font-weight: 500;
}

/* --- Section Titles --- */
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    font-weight: 300;
    line-height: 1.1;
    color: #2A1F1A;
    margin-bottom: 0;
}

/* --- Menu Cards --- */
.menu-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(42, 31, 26, 0.06);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(42, 31, 26, 0.08);
}

/* --- Reveal Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), 
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* --- Hero Animations --- */
@media (prefers-reduced-motion: no-preference) {
    .hero-subtitle {
        transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
    }
    .hero-title {
        transition: opacity 0.8s ease 0.4s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
    }
    .hero-desc {
        transition: opacity 0.8s ease 0.6s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
    }
    .hero-cta {
        transition: opacity 0.8s ease 0.8s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s;
    }
    .hero-stats {
        transition: opacity 0.8s ease 1s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s;
    }

    .hero-subtitle.hero-animate {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-title.hero-animate {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-desc.hero-animate {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-cta.hero-animate {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-stats.hero-animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Navbar Scroll State --- */
nav.scrolled {
    background: rgba(253, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(42, 31, 26, 0.06);
}

nav.scrolled .nav-logo-text {
    color: #2A1F1A;
}

/* --- Mobile Menu --- */
.mobile-menu-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    transition: opacity 0.3s ease;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FDF9F4;
}

::-webkit-scrollbar-thumb {
    background: #d9be8e;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C05A43;
}

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C05A43;
    outline-offset: 2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .clip-hero-bg {
        clip-path: none;
        opacity: 0.4;
    }
}
