/* 
 * Custom styles for MC Nails of Angier
 * Complementary to Tailwind CSS
 */

:root {
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
}

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

/* Animation Utilities */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}

.reveal-up.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

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

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

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

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-bottom-color: #d65a3b;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}

/* Image Placeholder Fallback */
img {
    background-color: #e5e7eb;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
}
