/* Custom styles for Curl Up & Dye Hair Salon */

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

/* Section label */
.section-label {
    display: block;
    letter-spacing: 0.15em;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08) !important;
}

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

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

/* Hamburger animation */
.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Service cards */
.service-card {
    transform: translateY(0);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .service-card,
    .gallery-item img,
    .testimonial-card {
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c94520;
}

/* Selection */
::selection {
    background: #d95a32;
    color: white;
}
