/* Custom styles for Bounce Virgin Hair & Salon */

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

/* Selection color */
::selection {
    background-color: #2b4a22;
    color: #fefdf8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ed;
}
::-webkit-scrollbar-thumb {
    background: #9cbf8a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4f7f3e;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: opacity 0.3s ease;
}
#mobileMenu.open {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}
#mobileMenu.close {
    opacity: 0;
    pointer-events: none;
}

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

/* Subtle hover effects on service cards */
.group:hover svg {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(79, 127, 62, 0.2);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    img:hover {
        transform: none;
    }
}
