/* Custom styles for Southern Sisters Boutique */

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

/* Scroll reveal animations - progressive enhancement only */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

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

/* Input focus styles */
input:focus-visible,
textarea:focus-visible {
    outline: none;
}

/* Hero floating cards animation */
@media (prefers-reduced-motion: no-preference) {
    .float-slow {
        animation: float-slow 6s ease-in-out infinite;
    }
    
    .float-medium {
        animation: float-medium 5s ease-in-out infinite;
    }
    
    .float-fast {
        animation: float-fast 4s ease-in-out infinite;
    }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

/* Image loading placeholder */
img {
    background-color: #e2e8f0;
}
