/* Custom Styles for Elegance Beauty and Barber */

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

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c4623a, #c9a87c);
    border-radius: 5px;
}

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

/* Navbar Styles */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.8);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(196, 98, 58, 0.15);
}

.service-card:hover .w-12 {
    transform: scale(1.1);
}

/* Gallery Items */
.gallery-item {
    cursor: pointer;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

/* Input Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(196, 98, 58, 0.2);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #c9a87c, #d4af37, #c4623a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative Lines */
.deco-line {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #d4af37, transparent);
    opacity: 0.5;
}

/* Loading State for Form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background: #c4623a;
    color: white;
}

::-moz-selection {
    background: #c4623a;
    color: white;
}
