/* Base & Utilities */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Gold metallic gradient text effect */
.gold-gradient {
    background: linear-gradient(135deg, #f0d68a 0%, #d4a843 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll reveal base - content visible by default */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* Animated states - only applied when JS adds the class */
.animate-on-scroll.reveal-up {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
}

.animate-on-scroll.reveal-right {
    opacity: 0;
    transform: translateX(30px);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(3, 8, 4, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer effect */
@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a843, #b8860b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f0d68a, #d4a843);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #faf8f4;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Mobile link hover */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Image lazy load fade */
img {
    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;
    }
    
    .animate-on-scroll.reveal-up,
    .animate-on-scroll.reveal-left,
    .animate-on-scroll.reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Aspect ratio utilities */
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

.aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
}
