/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #F5EEF5;
}
::-webkit-scrollbar-thumb {
    background: #B88FB8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9B609B;
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A04A, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}

/* Mobile menu */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #D4A04A;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.mobile-link:hover::after {
    width: 100%;
}

/* Navbar active state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(107, 63, 107, 0.08);
}
.nav-scrolled .logo-text {
    color: #4A2C4A !important;
}
.nav-scrolled nav a {
    color: #6B3F6B !important;
}

/* Input focus styles */
input:focus,
textarea:focus {
    background: white;
}

/* Gallery hover */
.aspect-square img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem !important;
    }
}
