/* Custom styles for Foothill Park Plaza */

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

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* Selection color */
::selection {
    background: #c9a227;
    color: #0a1628;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

#mobileMenu.open {
    max-height: 400px;
}

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

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
}

/* Gallery grid adjustments */
@media (min-width: 1024px) {
    .lg\\:col-span-2 {
        grid-column: span 2;
    }
    
    .lg\\:row-span-2 {
        grid-row: span 2;
    }
}
