/* Custom styles for CoLab Hair Salon */

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2DD4BF;
}

/* Selection color */
::selection {
    background: #5EEAD4;
    color: #0A1628;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(94, 234, 212, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Menu button animations */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menuBtn.active .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Image hover zoom effect */
.overflow-hidden {
    overflow: hidden;
}

.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #5EEAD4 !important;
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
    }
}
