/* Custom styles for Cuttin' Up Hair Salon */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

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

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
#mobileMenu.active {
    max-height: 400px;
}

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero text animation (below fold only - progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .hero-badge {
        animation: fadeInUp 0.6s ease-out 0.2s both;
    }
    .hero-title {
        animation: fadeInUp 0.6s ease-out 0.4s both;
    }
    .hero-subtitle {
        animation: fadeInUp 0.6s ease-out 0.6s both;
    }
    .hero-ctas {
        animation: fadeInUp 0.6s ease-out 0.8s both;
    }
    .hero-trust {
        animation: fadeInUp 0.6s ease-out 1s both;
    }
}

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

/* Service card hover glow */
.group:hover .group-hover\\:bg-teal-600 {
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
}

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

/* Print styles */
@media print {
    nav, #contact, .hero-badge, .animate-bounce {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
