/* ===== BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: #500724;
    color: #fbbf24;
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(80, 7, 36, 0.06);
}

#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(80, 7, 36, 0.08);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== COLLECTION CARDS ===== */
.collection-card {
    transition: transform 0.4s ease;
}

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

/* ===== WHY US ITEMS ===== */
.why-item {
    opacity: 1;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== BUTTON FOCUS ===== */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* ===== INPUT FOCUS ===== */
input:focus,
textarea:focus {
    border-bottom-color: #d97706 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .font-serif {
        line-height: 1.1;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .collection-card:hover {
        transform: none;
    }
    
    .overflow-hidden img {
        transition: none;
    }
}
