/* Custom Styles for Shady Grove Motel */

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

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

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

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

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

/* Hero Image Animation */
@keyframes slowZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-bg {
    animation: slowZoom 20s ease-in-out infinite;
}

/* Text Selection Color */
::selection {
    background: #D4AF37;
    color: #0A1128;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus Styles for Accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #F4D03F;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-bg {
        animation: none;
    }
    
    .transform-group:hover {
        transform: none;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

/* Image Placeholder Fallback */
img {
    background: linear-gradient(135deg, #1A2744 0%, #2A3B5C 100%);
}

/* Loading State for Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
