/* Custom styles for Lowery Social Club-Sasser's */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdf4;
}
::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6ee7b7;
}

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Scroll reveal base - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Scroll reveal with animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero text shadow for readability */
.hero-text-shadow {
    text-shadow: 0 1px 2px rgba(6, 78, 59, 0.1);
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(6, 78, 59, 0.08);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background-color: #d1fae5;
}

/* Ensure all text has proper contrast */
.text-emerald-700 { color: #047857; }
.text-emerald-600 { color: #059669; }
.text-emerald-500 { color: #10b981; }
.text-emerald-400 { color: #34d399; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-100 { color: #d1fae5; }
.text-emerald-800 { color: #065f46; }
.text-emerald-900 { color: #064e3b; }

/* Card hover effects */
.group:hover .group-hover\\:bg-emerald-200 {
    background-color: #a7f3d0;
}

/* Mobile link hover */
.mobile-link:hover {
    background-color: #ecfdf5;
}

/* Map container */
iframe {
    filter: saturate(0.8) contrast(1.05);
}

/* Print styles */
@media print {
    nav, .scroll-reveal { display: none; }
    body { background: white; }
}
