/* Custom styles for Giselle's Beauty Salon */

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

/* Scroll reveal base styles — content is visible by default, JS adds animation */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When JS is active and prefers-reduced-motion is off, apply hidden state */
@media (prefers-reduced-motion: no-preference) {
    .reveal.is-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Navbar styles */
.nav-link {
    color: rgba(45, 94, 45, 0.8);
}

.nav-link:hover {
    color: #2d5e2d;
}

.navbar-scrolled .nav-link {
    color: rgba(30, 60, 30, 0.85);
}

.navbar-scrolled .nav-logo-text {
    color: #1c381c;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background-color: rgba(254, 253, 248, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(20, 40, 20, 0.08);
}

/* Mobile menu link hover */
.mobile-menu-link:hover {
    color: #2d5e2d;
}

/* Remove number input arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

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

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

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

/* Selection color */
::selection {
    background-color: #dce8dc;
    color: #1c381c;
}

/* Reduce motion for users who prefer it */
@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;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
