/* Custom styles for Moose Lodge Lindenhurst */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4bab0;
    border-radius: 5px;
}

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

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #c4a496;
    outline-offset: 2px;
}

/* Ensure proper image rendering */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Header scroll effect */
#header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(180, 134, 118, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .font-display {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    #back-to-top,
    #mobile-menu-btn {
        display: none;
    }
}
