/* Custom Styles for Sarita Eyebrow Threading */

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

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(6, 79, 70, 0.08);
}

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

.navbar-scrolled .nav-logo-sub {
    color: #047857 !important;
}

.navbar-scrolled .nav-link {
    color: rgba(6, 95, 70, 0.7) !important;
}

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

.navbar-scrolled #mobile-menu-btn {
    background: rgba(6, 95, 70, 0.1) !important;
}

.navbar-scrolled #mobile-menu-btn:hover {
    background: rgba(6, 95, 70, 0.15) !important;
}

.navbar-scrolled #menu-icon-open,
.navbar-scrolled #menu-icon-close {
    stroke: #065f46 !important;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonial card */
.testimonial-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

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

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

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease;
}

.mobile-nav-link:hover {
    padding-left: 8px;
}

/* Selection color */
::selection {
    background: rgba(6, 95, 70, 0.2);
    color: #064e3b;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

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

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

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

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

/* Reduced motion */
@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;
    }
    
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .animate-float {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        animation: none;
    }
    
    .animate-float-delayed {
        position: relative;
        bottom: auto;
        right: auto;
        animation: none;
    }
}
