/* Custom Styles for Bailey Motel */

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

/* Hero Section */
.hero {
    position: relative;
}

.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.5) 0%,
        rgba(26, 26, 26, 0.7) 100%
    );
}

/* Scroll Indicator Animation */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* Room Cards */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(26, 26, 26, 0.9);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Typography Enhancements */
.font-serif {
    font-feature-settings: 'liga' 1, 'calt' 1;
}

/* Custom Selection Color */
::selection {
    background-color: #FF6B4A;
    color: white;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .scroll-indicator {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
