/* Custom styles for Sports Fan Photography */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

/* Hero scroll indicator animation */
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

.animate-scroll {
    animation: scroll-pulse 2s ease-in-out infinite;
}

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

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.15);
}

/* Mobile menu transitions */
.mobile-menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu-open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-open .mobile-menu-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-open .mobile-menu-link:nth-child(5) { transition-delay: 0.5s; }

/* Button hover shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.btn-shine:hover::after {
    transform: rotate(45deg) translate(0, 0);
}

/* Image hover zoom */
img {
    transition: transform 0.7s ease;
}

/* Selection color */
::selection {
    background: rgba(184, 134, 11, 0.3);
    color: #fff;
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
    
    .animate-scroll {
        animation: none;
    }
}

/* Mobile menu button animation */
.menu-active #menuLine1 {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-active #menuLine2 {
    opacity: 0;
}

.menu-active #menuLine3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* Form select styling */
select {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"%3E%3Cpath fill="%23b8860b" d="M6 8L1 3h10z"/%3E%3C/svg%3E');
}

select option {
    background: #0a0a0a;
    color: #fff;
}
