/* Custom styles for Revive Salon & Skin Care */

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

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

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

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

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

/* Selection color */
::selection {
    background: #c5dfcc;
    color: #1c3122;
}

/* Reveal animations - only apply when JS is enabled */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal-left {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal-right {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* Mobile menu animation */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.inactive {
    opacity: 0;
    pointer-events: none;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

#navbar.scrolled .menu-line {
    background: #1c3122;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
button:hover,
a:hover {
    cursor: pointer;
}

/* Image hover zoom */
.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Mobile menu lines animation */
.menu-line {
    transition: all 0.3s ease;
}

.menu-btn.active .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .menu-line:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .font-serif {
        color: #000;
    }
}
