/* Custom Styles for Smith Hair Studio */

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

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

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

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

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

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transform: none !important;
    }
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(194, 101, 75, 0.3);
}

/* Button Hover Effects */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Image Hover Zoom */
.group:hover img {
    transform: scale(1.05);
}

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

/* Terracotta Glow */
.hover\:glow-terracotta:hover {
    box-shadow: 0 0 30px rgba(194, 101, 75, 0.3);
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Service Card Hover */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(194, 101, 75, 0.15);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(194, 101, 75, 0.1);
    line-height: 1;
}

/* Section Divider */
.section-divider {
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c2654b, transparent);
}
