/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }

/* ===== NAVBAR ===== */
#navbar { background: transparent; }
#navbar.scrolled { background: rgba(161, 47, 18, 0.95); backdrop-blur-xl; box-shadow: 0 4px 30px rgba(0,0,0,0.15); }
#navbar.scrolled .mobile-link { border-color: rgba(255,255,255,0.08) !important; }

/* ===== HERO SHAPES ===== */
.hero-shape { animation: float 6s ease-in-out infinite; }
.hero-shape:nth-child(2) { animation-delay: -1s; animation-duration: 7s; }
.hero-shape:nth-child(3) { animation-delay: -2s; animation-duration: 8s; }
.hero-shape:nth-child(4) { animation-delay: -3s; animation-duration: 5s; }
.hero-shape:nth-child(5) { animation-delay: -1.5s; animation-duration: 9s; }
.hero-shape:nth-child(6) { animation-delay: -4s; animation-duration: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
#mobileMenu { animation: slideDown 0.3s ease; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CUSTOM SELECT ===== */
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-shape { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .reveal.revealed { opacity: 1; transform: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== SELECTION ===== */
::selection { background: #dc5521; color: white; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1f2937; }
::-webkit-scrollbar-thumb { background: #dc5521; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c44017; }
