/* Custom Styles for Modern Hair Salon */

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

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

::-webkit-scrollbar-track {
    background: #0a0f1a;
}

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

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

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

/* Fade-in animations for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 15, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(174, 28, 60, 0.4);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ae1c3c !important;
    box-shadow: 0 0 0 3px rgba(174, 28, 60, 0.1);
}

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

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

/* Pulse animation for CTA */
@keyframes pulse-burgundy {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(174, 28, 60, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(174, 28, 60, 0);
    }
}

.pulse-effect {
    animation: pulse-burgundy 2s infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #ae1c3c, #d0274a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery hover */
.gallery-item {
    overflow: hidden;
    border-radius: 0.75rem;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-neutral-900\/50 {
        background-color: rgba(17, 24, 39, 0.9) !important;
    }
    
    .border-white\/5 {
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-neutral-950,
    .bg-neutral-900 {
        background: white !important;
    }
    
    .text-white,
    .text-gray-300,
    .text-gray-400 {
        color: black !important;
    }
}
