/* Additional custom styles for Revival Salon */

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

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

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

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

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

/* Selection color */
::selection {
    background: #c97858;
    color: #faf8f5;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Utility animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

/* Image lazy loading placeholder */
img {
    background: linear-gradient(90deg, #ede4d4 0%, #f5f0e8 50%, #ede4d4 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-asymmetric {
        min-height: auto;
    }
    
    .hero-asymmetric > div:first-child {
        padding: 80px 20px 60px;
    }
    
    .hero-asymmetric > div:last-child {
        min-height: 50vh;
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .service-card,
    .testimonial-card {
        break-inside: avoid;
    }
}

/* Reduced motion preferences */
@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) {
    .btn-primary {
        background: #6c3628;
    }
    
    .btn-primary:hover {
        background: #4a2419;
    }
}

/* Reduced data mode */
@media (prefers-reduced-data: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
