/* Custom styles for Pure Hair Salon */

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(250, 250, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(45, 87, 45, 0.1);
}

.nav-scrolled .nav-link {
    color: #2d572d !important;
}

.nav-scrolled .mobile-nav-link {
    color: #2d572d !important;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Menu button animation */
.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Button hover effects */
a:hover {
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #8fc28f;
    border-radius: 4px;
}

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(45, 87, 45, 0.1);
}

/* Print styles */
@media print {
    nav, footer, .scroll-reveal {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .group:hover img {
        transform: none;
    }
    
    .group:hover {
        transform: none;
    }
}

/* Mobile menu links */
.mobile-nav-link {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Ensure all text is readable */
.text-forest-100 {
    color: #dcecdg;
}

.text-forest-200 {
    color: #b8d9b8;
}

.text-forest-300 {
    color: #8fc28f;
}

.text-forest-400 {
    color: #6aad6a;
}

.text-forest-500 {
    color: #4d8f4d;
}

.text-forest-600 {
    color: #3d733d;
}

.text-forest-700 {
    color: #2d572d;
}

.text-forest-800 {
    color: #1d3b1d;
}

.text-forest-900 {
    color: #0d1f0d;
}
