/* Custom styles for Lolitas Flowers */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu active state */
#mobile-menu.active {
    transform: translateX(0);
}

/* Hamburger animation */
.menu-line-1.active {
    transform: translateY(6px) rotate(45deg);
}

.menu-line-2.active {
    opacity: 0;
}

.menu-line-3.active {
    transform: translateY(-6px) rotate(-45deg);
}

/* Navbar transitions */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-logo {
    color: #0d1d2b;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #74b88a;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #4d9967;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .group img {
        transition: none;
    }
}

/* Selection color */
::selection {
    background-color: #d0e8d5;
    color: #152a3c;
}
