/* Custom styles for Redwing Motel */

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(15, 33, 64, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero section gradient animation */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f2140;
}
::-webkit-scrollbar-thumb {
    background: #1a3a6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #152d56;
}

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

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

/* Subtle hover glow on room cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Ensure all text has proper contrast */
.text-midnight-600 {
    color: #1a3a6e;
}
.text-midnight-700 {
    color: #152d56;
}
.text-midnight-800 {
    color: #0f2140;
}
.text-midnight-900 {
    color: #0a1628;
}

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