/* Custom styles for Michelle's Infinity Salon */

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(15, 34, 64, 0.08);
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4ade80;
}

/* Selection color */
::selection {
    background: #bbf7d0;
    color: #0f2240;
}

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

/* Button hover lift */
button, a {
    transition: all 0.2s ease;
}

/* Image hover zoom container */
.overflow-hidden {
    overflow: hidden;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #22c55e, #0f2240);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
