/* Custom Styles for Utopia Beauty Brow Bar */

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

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

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

::-webkit-scrollbar-thumb {
    background: #2C2C2C;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF7F50;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(44, 44, 44, 0.2);
}

/* Mobile Menu Animation */
#mobile-menu-btn span {
    transition: all 0.3s ease;
}

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

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    width: 1.5rem;
}

/* Fade In Animation for Scroll Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

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

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image Loading Placeholder */
img {
    background-color: #F5F5F5;
}

/* Navbar Scroll Effect */
nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Selection Color */
::selection {
    background-color: #FF7F50;
    color: white;
}

/* Thin Lines */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #E5E5E5, transparent);
}
