/* Custom styles for Salon ReRe */

/* Smooth transitions for interactive elements */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf9ef;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu open state handled by JS */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Nav styles */
.nav-color {
    color: #064e3b;
}
.nav-btn {
    color: #064e3b;
    border-color: #064e3b;
}
.nav-btn:hover {
    color: #fefdf8;
}
.nav-line {
    background-color: #064e3b;
}
.nav-link {
    color: #064e3b;
}
.nav-link:hover {
    color: #059669;
}

/* Mobile link styles */
.mobile-link {
    color: #064e3b;
}

/* Fade-in animations for below-fold content */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery hover effect */
.gallery-item {
    overflow: hidden;
}
.gallery-item img {
    transition: transform 0.7s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
