/* Custom styles for Iconikk Salon */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .nav-logo-text {
    color: #1d361d !important;
}

/* Hero animations - content is visible by default, animation is progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .hero-badge {
        animation: fadeInUp 0.8s ease-out both;
    }
    .hero-headline {
        animation: fadeInUp 0.8s ease-out 0.15s both;
    }
    .hero-subheadline {
        animation: fadeInUp 0.8s ease-out 0.3s both;
    }
    .hero-cta {
        animation: fadeInUp 0.8s ease-out 0.45s both;
    }
    .hero-trust {
        animation: fadeInUp 0.8s ease-out 0.6s both;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal - progressive enhancement, content visible without JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Hide for JS-enhanced reveal (content is visible by default, JS adds the hidden state) */
@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(20px);
    }
    .reveal-hidden.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover */
.service-card {
    will-change: transform, box-shadow;
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
}

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

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

/* Testimonial card hover */
.testimonial-card {
    transition: box-shadow 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #72ab72;
}

/* Selection color */
::selection {
    background: #9ec79e;
    color: #1d361d;
}
