/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ===== NAV ===== */
#nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#nav.scrolled {
    background: rgba(253, 246, 227, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(61, 31, 14, 0.08);
}

/* ===== BUTTONS ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary:hover::after { opacity: 1; }

/* ===== CARDS ===== */
.card {
    transform: translateY(0);
    will-change: transform, box-shadow;
}

/* ===== HERO ANIMATIONS ===== */
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}
h1 {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}
.hero p {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}
.hero .flex-col {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}
.hero .mt-10 {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

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

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s 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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem !important;
    transition: background 0.2s ease, color 0.2s ease;
}
.mobile-link:hover {
    background: rgba(200, 90, 40, 0.08);
    color: #c85a28 !important;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf6e3; }
::-webkit-scrollbar-thumb { background: #e4ad52; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c85a28; }

/* ===== SELECTION ===== */
::selection { background: rgba(200, 90, 40, 0.2); color: #3d1f0e; }
