/* Custom styles for Hogansville Masonic Lodge */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1b1f;
}
::-webkit-scrollbar-thumb {
    background: #373940;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF7043;
}

/* Selection color */
::selection {
    background: #FF7043;
    color: white;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 14, 17, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.float-3 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

/* Fade in animations (below the fold only) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
    .float-1, .float-2, .float-3 {
        animation: none;
    }
}
