/* Custom Styles for Hawaii Inn */

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

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.1);
}

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

.room-card:hover .room-card-img {
    transform: scale(1.1);
}

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

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

.amenity-card:hover svg {
    transform: scale(1.1);
}

/* Animation for scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger animation delays */
.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.6s; }
.scroll-reveal:nth-child(7) { transition-delay: 0.7s; }
.scroll-reveal:nth-child(8) { transition-delay: 0.8s; }

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

#mobile-menu.open {
    max-height: 500px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #102a43;
    border-radius: 5px;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #e0b030;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
