/* Monte Sereno HOA — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #ecfdf5;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Navbar scroll state */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #047857;
}

/* Room cards */
.room-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Amenity cards */
.amenity-card {
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

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

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

/* Mobile links */
.mobile-link {
    display: block;
    width: 100%;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .room-card:hover {
        transform: none;
    }
    
    .amenity-card:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.25rem;
    }
    
    .font-serif {
        line-height: 1.2;
    }
}

/* Large desktop */
@media (min-width: 1024px) {
    #hero h1 {
        font-size: 4.5rem;
    }
}
