/* Custom styles for Wolfehaven */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B1D3A;
}
::-webkit-scrollbar-thumb {
    background: #D4A017;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F0C040;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Mobile links animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Parallax-like subtle movement */
@media (prefers-reduced-motion: no-preference) {
    .hero-float {
        animation: float 6s ease-in-out infinite;
    }
    .hero-float-delay {
        animation: float 6s ease-in-out infinite;
        animation-delay: 2s;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Geometric shape decorations */
.geo-shape-1 {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 160, 23, 0.15);
    border-radius: 20px;
    transform: rotate(45deg);
    pointer-events: none;
}

.geo-shape-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 160, 23, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #fff;
}

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

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* Select styling */
select option {
    background: #0B1D3A;
    color: #fff;
}
