/* Custom styles for Happy Hair Salon */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Hero animations */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}
.hero-badge h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-badge p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-badge .flex {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

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

/* Service cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Testimonials */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header scroll effect */
#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

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

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

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

/* Subtle gradient backgrounds */
.gradient-subtle {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #f0fdfa 100%);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-badge h1 {
        font-size: 2.5rem !important;
    }
}
