/* Custom styles for ADP Hair Stylist */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ee;
}
::-webkit-scrollbar-thumb {
    background: #9dc59d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6fa36f;
}

/* Service card hover glow */
.service-card:hover {
    border-color: rgba(111, 163, 111, 0.3);
    box-shadow: 0 20px 60px rgba(42, 70, 42, 0.2);
}

/* Gallery item overlay */
.gallery-item {
    position: relative;
}

/* Testimonial card hover */
.testimonial-card:hover {
    border-color: rgba(77, 138, 77, 0.2);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 250, 247, 0.97) !important;
    box-shadow: 0 1px 20px rgba(42, 70, 42, 0.08);
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .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; }
}

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

/* Animation for hero elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #2a462a 0%, #4d8a4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
