/* Custom styles for H.D Lounge In Ontario */

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

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

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

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .font-display {
    color: #0e3773 !important;
}

/* Hero gradient override */
#hero {
    background-color: #0e3773;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4a366;
    border-radius: 4px;
}

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

/* Focus styles */
*:focus-visible {
    outline: 2px solid #d4522b;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.bg-sand-50.rounded-2xl {
    will-change: transform, box-shadow;
}

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

/* Ensure all text has proper contrast */
.text-trust-600 {
    color: #3b5998;
}

.text-trust-700 {
    color: #1e3a5f;
}

.text-trust-800 {
    color: #0a2540;
}

.text-trust-900 {
    color: #051424;
}

/* Animation keyframes for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Stagger animation delays for stat cards */
.mt-8 {
    animation-delay: 0.2s;
}

/* Print styles */
@media print {
    nav, .reveal, #experience, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
