/* Custom styles for Brandi's Cuts for Men */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf4f8;
}
::-webkit-scrollbar-thumb {
    background: #d4448a;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b91d63;
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px -15px rgba(185, 29, 99, 0.2);
}

/* Testimonial card subtle animation */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(253, 244, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(157, 21, 80, 0.1);
}

/* Fade-in animations for scroll-reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Ensure all text is readable */
.text-plum-950 { color: #3d0720; }
.text-plum-900 { color: #6b1239; }
.text-plum-800 { color: #7f1343; }
.text-plum-700 { color: #9a1550; }
.text-plum-600 { color: #b91d63; }
.text-plum-500 { color: #d4448a; }
.text-plum-400 { color: #f472b6; }
.text-plum-300 { color: #f9a8d4; }
.text-plum-200 { color: #fbcfe8; }
.text-plum-100 { color: #fce7f3; }
.text-plum-50 { color: #fdf4f8; }

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero image float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-float {
    animation: float 4s ease-in-out infinite;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle, rgba(212, 68, 138, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}
