/* Custom styles for Lost Arrow Archery */

/* Base reset and smooth scrolling */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: rgba(234, 179, 8);
    color: #102a43;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(234, 179, 8, 0.1);
}

/* Service card stagger animation */
.service-card {
    opacity: 1;
}

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

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fde047 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #102a43;
}

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

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

/* 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;
    }
    
    .reveal.hidden {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #eab308;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}
