/* Custom Styles for M Salon Suite */

/* Base Typography & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    /* Ensures thin fonts render sharply */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Utility (Progressive Enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Scroll State */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-scrolled .text-charcoal-900 {
    color: #1E1E1E;
}

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

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background-color: #FF7F50; /* Coral */
    color: #121212;
}

/* Focus States for Accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #FF7F50;
    outline-offset: 2px;
}
