/* Base resets and custom animations */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Scroll line animation */
@keyframes scrollLine {
    0% { top: -16px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}
.scroll-line { animation: scrollLine 2s ease-in-out infinite; }

/* Stat cards floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.stat-card {
    animation: float 4s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -1.3s; }
.stat-card:nth-child(3) { animation-delay: -2.6s; }

/* Room card hover glow */
.room-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 1px rgba(255, 107, 90, 0);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
}
.room-card:hover::after {
    box-shadow: 0 0 0 1px rgba(255, 107, 90, 0.3);
}

/* Mobile menu transitions */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    transform: rotate(-45deg);
}

/* Smooth section reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F5F5F0; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FF6B5A; }
