/* Custom styles for Bonjour Boutique */

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(45, 97, 45, 0.1);
}

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

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

/* Mobile link hover */
.mobile-link {
    border-radius: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.mobile-link:hover {
    background-color: rgba(217, 236, 217, 0.3);
}

/* Image aspect ratios */
img {
    display: block;
}

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

/* Focus visible */
*:focus-visible {
    outline: 2px solid #5aa85a;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Selection color */
::selection {
    background-color: #b7dbb7;
    color: #1c3d1c;
}
