/* Custom styles for Enchanted Oaks BNB */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
    background: #FF6F61;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF8C72;
}

/* Hero animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Room card hover effect */
.room-card {
    will-change: transform;
}

/* Feature items */
.feature-item {
    transition: transform 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-4px);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll reveal base state (progressive enhancement) */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .room-card {
        transition: none;
    }
    .room-card:hover {
        transform: none;
    }
    .feature-item {
        transition: none;
    }
    .feature-item:hover {
        transform: none;
    }
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(0); }
    }
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}
