/* Custom styles for Options Hair Studio */

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

/* Custom animations for hero blobs */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-blob {
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    animation-delay: 0s;
}

.blob-2 {
    animation-delay: -7s;
}

.blob-3 {
    animation-delay: -14s;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 30, 5, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

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

/* Service card hover lift */
.group:hover {
    transform: translateY(-4px);
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6dad54;
}
