/* Custom styles for Your Beauty Salon */

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

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

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

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

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

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6f1c30;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(196, 39, 69, 0.15);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 39, 69, 0.3);
}

.btn-outline {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    transform: translateY(-2px);
}

/* Image hover effects */
.gallery-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Form focus effects */
.form-input:focus {
    border-color: #c42745;
    box-shadow: 0 0 0 3px rgba(196, 39, 69, 0.1);
}

/* Navigation active state */
.nav-link.active {
    color: #c42745;
}

/* Mobile menu animation */
.mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Print styles */
@media print {
    .btn-primary,
    .btn-outline,
    .mobile-menu {
        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) {
    .btn-primary {
        background: #6f1c30;
    }
    
    .btn-outline {
        border-color: #6f1c30;
        color: #6f1c30;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Additional dark mode styles can be added here if needed */
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #c42745;
    outline-offset: 2px;
}

/* Loading state for buttons */
.btn-primary:disabled,
.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Skeleton loading animation */
@keyframes skeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
}
