/* Custom Styles for Tousle Salon On Wells */

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

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

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

::-webkit-scrollbar-thumb {
    background: #9f1239;
    border-radius: 5px;
}

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

/* Navigation Scroll Effect */
.nav-scrolled {
    background: rgba(253, 248, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Gallery Item Hover */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(159, 18, 57, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

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

/* Form Focus Effects */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(159, 18, 57, 0.1);
}

/* Animation Delays */
.animate-delay-100 {
    animation-delay: 100ms;
}

.animate-delay-200 {
    animation-delay: 200ms;
}

.animate-delay-300 {
    animation-delay: 300ms;
}

/* Geometric Decorations */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    nav, footer, .animate-float, .animate-float-delayed {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* 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 */
@media (prefers-contrast: high) {
    .bg-burgundy-700 {
        background-color: #000;
    }
    
    .text-burgundy-700 {
        color: #000;
    }
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 3px solid #9f1239;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background-color: #fce7eb;
    color: #881337;
}
