/* ── Base & Utilities ── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #C0603C;
    color: #FDFBF7;
}

/* ── Navbar ── */
#navbar {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 171, 106, 0.15);
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    box-shadow: 0 4px 30px rgba(140, 63, 42, 0.08);
}

.nav-link {
    position: relative;
}

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

.mobile-link {
    position: relative;
}

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

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

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Product Cards ── */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #D4AB6A;
    border-radius: 4px;
}

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

/* ── Focus Styles ── */
input:focus,
textarea:focus {
    outline: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #C0603C;
    outline-offset: 2px;
    border-radius: 9999px;
}

/* ── Animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

.hero-animate {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-delay-1 { animation-delay: 0.1s; opacity: 0; }
.hero-delay-2 { animation-delay: 0.2s; opacity: 0; }
.hero-delay-3 { animation-delay: 0.3s; opacity: 0; }
.hero-delay-4 { animation-delay: 0.4s; opacity: 0; }
