/* Creative Chaos — Custom Styles */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    background-color: #0a1f0a;
    color: #f8f6f0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1f0a; }
::-webkit-scrollbar-thumb { background: #143d14; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1a521a; }

/* Selection */
::selection { background: #c9a84c; color: #0a1f0a; }

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 31, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
nav.scrolled .logo-text { color: #c9a84c; }

/* Hero image parallax feel */
#hero img {
    transform: translateZ(0);
    will-change: transform;
}

/* Card hover effects */
.group:hover img {
    transform: scale(1.05);
}

/* Gold shimmer on hover for buttons */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Form focus ring */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

/* Tablet */
@media (max-width: 768px) {
    html { font-size: 15px; }
}

/* Small phones */
@media (max-width: 360px) {
    html { font-size: 14px; }
}
