/* Custom styles for Prairie Salon */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #751c35;
}

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

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

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

/* Image loading optimization */
img {
    content-visibility: auto;
}

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

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

/* Hover effects for interactive elements */
a, button {
    transition: all 0.2s ease-in-out;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Print styles */
@media print {
    header,
    footer,
    .no-print {
        display: none;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
