/* Custom styles for Isabel's Beauty/Barber Salon */

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

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 251, 235, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(157, 23, 77, 0.1);
    padding-top: 0;
    padding-bottom: 0;
}

#navbar.scrolled .logo-text {
    color: #9d174d;
}

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

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

/* Service cards */
.service-card {
    border: 1px solid rgba(157, 23, 77, 0.08);
}

.service-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    border: 1px solid rgba(157, 23, 77, 0.06);
}

.testimonial-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
}

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

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

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

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

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

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

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

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