/* Custom styles for Bocage Apartments */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F2;
}
::-webkit-scrollbar-thumb {
    background: #9cc0ab;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #528364;
}

/* Selection color */
::selection {
    background: #1B4332;
    color: #FDFCF8;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #1B4332;
    outline-offset: 2px;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(27, 67, 50, 0.08);
}

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

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

/* Image hover zoom */
.group img {
    transition: transform 0.5s ease;
}
.group:hover img {
    transform: scale(1.03);
}

/* Reduce motion for accessibility */
@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;
    }
}

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