/* Custom styles for Pro Beauty Studio */

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

/* Navbar styles */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(16, 36, 56, 0.08);
}

.navbar-scrolled .menu-line {
    background: #102438 !important;
}

/* Mobile menu animation */
.mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu.closed {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Menu lines animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5cd682;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #5cd682;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #c3f1d2;
    color: #102438;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}

/* Print styles */
@media print {
    nav, .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
