/* Custom styles for Tropical Dreams */

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 252, 248, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08) !important;
}

.nav-scrolled .nav-link {
    color: #57534e !important;
}

.nav-scrolled .nav-link:hover {
    color: #C67B5C !important;
    background: #fdf0e8 !important;
}

.nav-scrolled .font-display {
    color: #964c38 !important;
}

/* Room cards */
.room-card {
    transform: translateY(0);
}

.room-card:hover {
    transform: translateY(-6px);
}

/* Amenity cards */
.amenity-card {
    transform: translateY(0);
}

.amenity-card:hover {
    transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile link hover */
.mobile-link {
    display: block;
}

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

::-webkit-scrollbar-track {
    background: #fdf6ec;
}

::-webkit-scrollbar-thumb {
    background: #C67B5C;
    border-radius: 4px;
}

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

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

/* Selection color */
::selection {
    background: #f4c0a0;
    color: #65362b;
}

/* Date input styling */
input[type="date"] {
    color-scheme: light;
}
