/* Custom styles for Motel 6 Monroe */

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

/* Stat card animations */
.stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 2s;
}

.stat-card:nth-child(4) {
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Room card hover effects */
.room-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.1);
}

/* Amenity card hover effects */
.amenity-card {
    transition: all 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.1);
}

/* Reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Button hover effects */
a[href^="tel:"] {
    position: relative;
    overflow: hidden;
}

a[href^="tel:"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

a[href^="tel:"]:hover::after {
    width: 80%;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .stat-card {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
