/* Custom styles for Salon 4737 */

/* Navbar transitions */
#navbar.scrolled {
    background: rgba(250, 245, 249, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(112, 48, 89, 0.08);
}

.nav-text {
    color: #562840;
}

#navbar:not(.scrolled) .nav-text {
    color: #ffffff;
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

#navbar:not(.scrolled) .nav-link:hover {
    color: #ffd678;
}

#navbar:not(.scrolled) .nav-logo circle {
    fill: url(#logoGrad);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Service card hover glow */
.group:hover .w-14 {
    box-shadow: 0 8px 24px rgba(176, 85, 138, 0.25);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #b0558a, #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ddaecb, #ffd678);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c97fae, #f5a623);
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #b0558a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #ebd0e1;
    color: #562840;
}
