/* Custom Styles for Neelu's Khubsoorat Beauty Salon */

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

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

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

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

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

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

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* Service card hover effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Gallery hover effects */
.gallery-item {
    position: relative;
    height: 250px;
}

.gallery-item.col-span-2.row-span-2 {
    height: 524px;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(61, 12, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled .menu-line {
    background: white !important;
}

nav.scrolled .menu-line:last-child {
    background: #f59e0b !important;
}

/* Selection color */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #3d0c1e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #931a42;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Mobile menu button active state */
.menu-btn-active .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn-active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn-active .menu-line:last-child {
    width: 1.25rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
    }
    
    .gallery-item.col-span-2.row-span-2 {
        height: 408px;
        col-span: 2;
        row-span: 1;
    }
}
