/* Custom styles for Hazy 8 Motel */

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

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2dd4a0;
}

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

/* Button hover lift effect */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Subtle gradient for hero text */
h1 {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

/* Card hover effects */
.bg-white\\/5:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

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