/* Custom styles for D'Aneth Nails */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f5;
}
::-webkit-scrollbar-thumb {
    background: #a11846;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c22558;
}

/* Navbar transition */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
#navbar.scrolled .menu-line {
    background: #1a1a1a;
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
}

/* Service cards */
.service-card {
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(61, 10, 28, 0);
    transition: background 0.3s ease;
}
.gallery-item:hover::after {
    background: rgba(61, 10, 28, 0.1);
}

/* Form inputs */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(161, 24, 70, 0.1);
}

/* Selection color */
::selection {
    background: #a11846;
    color: #fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card:hover {
        transform: none;
    }
    .gallery-item img {
        transition: none;
    }
    #navbar {
        transition: none;
    }
}

/* Mobile menu animations */
.menu-line {
    transition: all 0.3s ease;
}
#menuToggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuToggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuToggle.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Loading state for buttons */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
