/* Dormer Motel — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #15202e;
}
::-webkit-scrollbar-thumb {
    background: #d46a44;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c25333;
}

/* Selection color */
::selection {
    background: #d46a44;
    color: #ffffff;
}

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d46a44;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure fixed nav doesn't overlap content */
body {
    padding-top: 0;
}

/* Hero image optimization */
#hero img {
    will-change: transform;
}

/* Card hover effects */
.rounded-2xl {
    transition: box-shadow 0.3s ease;
}
