/* Custom styles for Gaby Nails */

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

/* Navbar transition */
.navbar-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 158, 105, 0.08);
}

.navbar-scrolled .nav-logo {
    color: #064e3b !important;
}

.navbar-scrolled .nav-link {
    color: #065f46 !important;
}

/* Mobile menu animations */
.mobile-menu-link {
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-open .mobile-menu-link {
    animation: slideIn 0.4s ease forwards;
}

.mobile-menu-open .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu-open .mobile-menu-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu-open .mobile-menu-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu-open .mobile-menu-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu-open .mobile-menu-link:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal base styles - always visible by default */
.reveal-section {
    /* Default state: visible */
}

/* Only animate when JS adds the class and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-section {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal-section.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #059669;
    color: white;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(5, 158, 105, 0.15);
}
