/* Custom Styles for Jenelle's Beauty Shop */

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

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8c2b2b;
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Image Hover Effects */
img {
    will-change: transform;
}

/* Navigation Active State */
nav a.active {
    color: #a83232;
}

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

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

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

/* Decorative Line Animation */
.w-24.h-px {
    transition: width 0.5s ease;
}

/* Loading State for Form */
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .reveal {
        display: none !important;
    }
}
