/* ═══════════════════ BASE & RESET ═══════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: #040a14;
    color: #f5f0e8;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: rgba(184, 134, 11, 0.3);
    color: #f5f0e8;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* ═══════════════════ NAVBAR ═══════════════════ */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(4, 10, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(184, 134, 11, 0.1), 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════ MOBILE MENU ═══════════════════ */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════ HERO CARDS ═══════════════════ */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotate, 2deg)); }
    50% { transform: translateY(-12px) rotate(var(--rotate, 2deg)); }
}

/* ═══════════════════ PRODUCT CARDS ═══════════════════ */
.group:hover .group-hover\:scale-105 {
    will-change: transform;
}

/* ═══════════════════ GOLD GRADIENT TEXT ═══════════════════ */
.text-transparent.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* ═══════════════════ SECTION DIVIDERS ═══════════════════ */
.absolute.top-0.left-0.w-full.h-px {
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.2), transparent);
}

/* ═══════════════════ FOCUS STYLES ═══════════════════ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #b8860b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    /* Tablet adjustments */
}

/* ═══════════════════ ACCESSIBILITY ═══════════════════ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ═══════════════════ PRINT ═══════════════════ */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
