/* Custom styles for Tony Monk Barber Shop */

/* Service card stagger animation (progressive enhancement) */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(24px);
    }
    .service-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .service-card:nth-child(1) { transition-delay: 0.05s; }
    .service-card:nth-child(2) { transition-delay: 0.1s; }
    .service-card:nth-child(3) { transition-delay: 0.15s; }
    .service-card:nth-child(4) { transition-delay: 0.2s; }
    .service-card:nth-child(5) { transition-delay: 0.25s; }
    .service-card:nth-child(6) { transition-delay: 0.3s; }
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(15, 24, 15, 0.08);
}

/* Smooth selection */
::selection {
    background-color: rgba(45, 74, 45, 0.2);
    color: #1f2f1f;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ee;
}
::-webkit-scrollbar-thumb {
    background: #c5d8c5;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #96b896;
}
