/* Custom Styles for Valencia Salon */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

/* Selection Color */
::selection {
    background: #f2b9aa;
    color: #6f241b;
}

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s ease-in-out;
}

/* Navbar Background Transition */
#nav-bg {
    transition: opacity 0.5s ease;
}

/* Service Card Hover */
.group:hover .w-12 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Gallery Image Hover */
.aspect-square {
    overflow: hidden;
}

/* Testimonial Quote Mark */
svg.w-12 {
    opacity: 0.8;
}

/* Map Overlay */
iframe {
    transition: filter 0.3s ease;
}

iframe:hover {
    filter: grayscale(50%) opacity(1);
}

/* 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;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
