/* Custom styles for Lashes salon website */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14532d;
}

/* Floating card animations */
.floating-card-1 {
    animation: float1 6s ease-in-out infinite;
}
.floating-card-2 {
    animation: float2 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

/* Service card hover effect */
.service-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.5s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.rounded-2xl.overflow-hidden:hover {
    transform: scale(1.02);
}

/* Navbar scroll effect */
nav.scrolled {
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(20, 83, 45, 0.08);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

.mobile-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-link:hover {
    color: #16a34a;
    padding-left: 8px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2 {
        animation: none;
    }
    .service-card:hover {
        transform: none;
    }
    .rounded-2xl.overflow-hidden:hover {
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, button {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
