/* Custom Styles for Sound Villa 1458 */

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

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

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

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

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

/* Selection Color */
::selection {
    background: #064e3b;
    color: #fefef9;
}

/* Navbar Styles */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(254, 254, 249, 0.95);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

#navbar.scrolled .text-emerald-950 {
    color: #064e3b !important;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Image Hover Effects */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus Styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group img {
        transition: none;
    }
    
    button, a {
        transition: none;
    }
}

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

/* Tablet Adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 72rem;
    }
}
