/* Custom styles for Zeni Beauty Salon */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9a2828;
}

/* Selection color */
::selection {
    background: rgba(249, 208, 208, 0.3);
    color: #fceee8;
}

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

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

/* Print styles */
@media print {
    nav, .mobile-menu, button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.animate-pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Button active states */
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline:active {
    transform: translateY(0) scale(0.98);
}

/* Input focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(244, 184, 164, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(244, 184, 164, 0.1) !important;
}

/* Card hover effects */
.card-hover {
    will-change: transform;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
    min-height: 100px;
}

/* Loading skeleton */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        #1c1917 0%,
        #292524 50%,
        #1c1917 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
