/* Custom styles for Modern Muse Salon */

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

/* Base styles */
body {
    background-color: #050806;
    color: #F5F5F0;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reveal animations - progressive enhancement with prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .reveal-left {
        opacity: 0;
        animation: fadeInLeft 0.8s ease-out forwards;
    }
    
    .reveal-right {
        opacity: 0;
        animation: fadeInRight 0.8s ease-out forwards;
    }
}

/* Stagger animations */
.reveal-up:nth-child(1) { animation-delay: 0.1s; }
.reveal-up:nth-child(2) { animation-delay: 0.2s; }
.reveal-up:nth-child(3) { animation-delay: 0.3s; }
.reveal-up:nth-child(4) { animation-delay: 0.4s; }
.reveal-up:nth-child(5) { animation-delay: 0.5s; }
.reveal-up:nth-child(6) { animation-delay: 0.6s; }

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Mobile menu animations */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 1px #D4AF37;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Custom selection color */
::selection {
    background-color: #D4AF37;
    color: #050806;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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