/* Custom styles for Hair by Tabitha */

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

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-logo-text {
    color: #ffffff !important;
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

/* Mobile menu animation */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #20b06d;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #41c78c !important;
    box-shadow: 0 0 0 3px rgba(65, 199, 140, 0.1) !important;
}

/* Gallery hover overlay */
.group:hover img {
    transform: scale(1.1);
}

/* Button hover effects */
a:hover {
    transition: all 0.2s ease;
}

/* Mobile menu button animation */
.mobile-menu-btn.active svg path {
    animation: iconChange 0.3s ease;
}

@keyframes iconChange {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
