/* Custom Styles for WaveLengths Salon */

:root {
    --charcoal-dark: #2D3436;
    --charcoal-medium: #636E72;
    --charcoal-light: #B2BEC3;
    --coral: #F97183;
    --coral-dark: #E85A6C;
    --sand-light: #FDF8F6;
    --sand-medium: #F5EDE8;
    --white: #FFFFFF;
}

/* Font Families */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--sand-light);
}

::-webkit-scrollbar-thumb {
    background: var(--coral);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-dark);
}

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

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

/* Scroll Reveal Animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--coral);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

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

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

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

/* Navbar Transition */
#navbar {
    transition: all 0.3s ease;
}

#nav-bg {
    transition: opacity 0.3s ease;
}

#navbar.scrolled #nav-bg {
    opacity: 1;
}

/* Custom Selection Color */
::selection {
    background: var(--coral);
    color: var(--white);
}

/* Smooth Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* 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;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
