/* Custom Styles for Eyebrows_Emporium */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #a81747;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #76173e;
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5a623;
    transition: width 0.4s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Gallery Item Hover */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(118, 23, 62, 0);
    transition: background 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    background: rgba(118, 23, 62, 0.1);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(118, 23, 62, 0.1);
}

/* Mobile Menu Animation */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Link Animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    border-bottom-color: #f5a623 !important;
}

/* Selection Color */
::selection {
    background: #fce7eb;
    color: #40071f;
}

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

/* Loading State for Buttons */
button:active {
    transform: scale(0.98);
}

a:active {
    transform: scale(0.98);
}
