/* Custom Styles for Jerusalem Lodge #19 F&AM */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

/* Button Hover Effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
}

/* Geometric Shape Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-20px) rotate(45deg);
    }
}

/* Print Styles */
@media print {
    header, footer, #contact-form {
        display: none;
    }
    
    body {
        color: #0f172a;
        background: white;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .bg-mint {
        background-color: ButtonFace;
    }
    
    .text-mint {
        color: ButtonText;
    }
}

/* Tablet and Up */
@media (min-width: 768px) {
    .reveal {
        transition-delay: 0.1s;
    }
}

/* Desktop and Up */
@media (min-width: 1024px) {
    .reveal {
        transition-delay: 0.2s;
    }
}
