/* Custom styles for Dcutz - Victoria VA Hair Salon */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf4f6;
}

::-webkit-scrollbar-thumb {
    background: #a1163c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c2204b;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero section pattern animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Button hover effects */
a, button {
    transition: all 0.3s ease;
}

/* Image hover zoom for gallery */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

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

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

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(111, 23, 50, 0.1);
}

/* Service card hover glow */
.group:hover {
    box-shadow: 0 20px 40px rgba(111, 23, 50, 0.15);
}

/* Testimonial card hover */
.bg-plum-900\/50:hover {
    background-color: rgba(161, 22, 60, 0.6);
    border-color: rgba(194, 32, 75, 0.5);
}

/* Ensure all text is readable */
.text-plum-200 {
    color: #fad0da;
}

.text-plum-300 {
    color: #f5a3b8;
}

.text-plum-100 {
    color: #fce7eb;
}

/* Form input focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(219, 58, 102, 0.1);
}

/* Print styles */
@media print {
    header,
    footer,
    #contact-form,
    .animate-bounce {
        display: none;
    }
}
