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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #B85C38;
    color: #FDF6EE;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(184, 92, 56, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 154, 106, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(184, 92, 56, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #FDF6EE 0%, #FAF0E0 50%, #F5E0C8 100%);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(184, 92, 56, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(184, 92, 56, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
}

/* ── Scroll Line Animation ── */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ── Hero Animations ── */
.hero-subtitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-desc {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #B85C38;
    color: #FDF6EE;
    font-weight: 600;
    border-radius: 9999px;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #A04E30;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(184, 92, 56, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #3D2B1F;
    font-weight: 600;
    border-radius: 9999px;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(61, 43, 31, 0.2);
}

.btn-secondary:hover {
    border-color: #B85C38;
    color: #B85C38;
    transform: translateY(-2px);
}

/* ── Section Labels & Headings ── */
.section-label {
    display: inline-block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #B85C38;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    color: #3D2B1F;
}

/* ── Form Inputs ── */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #FDF6EE;
    border: 1.5px solid rgba(61, 43, 31, 0.12);
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #3D2B1F;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(61, 43, 31, 0.35);
}

.form-input:focus {
    border-color: #B85C38;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(184, 92, 56, 0.08);
}

/* ── Navigation ── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #B85C38;
    transition: width 0.3s ease;
}

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

/* ── Navbar scroll state ── */
#navbar.scrolled {
    background: rgba(253, 246, 238, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(61, 43, 31, 0.06);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }

/* ── Drink Cards ── */
.drink-card {
    transition: transform 0.4s ease;
}

.drink-card:hover {
    transform: translateY(-8px);
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-gradient {
        background: 
            radial-gradient(ellipse 100% 80% at 50% 30%, rgba(184, 92, 56, 0.18) 0%, transparent 70%),
            linear-gradient(180deg, #FDF6EE 0%, #FAF0E0 60%, #F5E0C8 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
