/* Custom styles for Alaskas Black Eagle Lodge */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a140b;
}
::-webkit-scrollbar-thumb {
    background: #285028;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #366536;
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f2f7f0;
}

/* Navbar styles */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(10, 20, 11, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(40, 80, 40, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold shimmer effect on hover for buttons */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1f3f20 0%, #0a140b 100%);
}

/* Subtle glow for gold accents */
.text-gold-500 {
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

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

/* Input focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

/* Mobile link styles */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(40, 80, 40, 0.2);
}
.mobile-link:last-child {
    border-bottom: none;
}
