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

body {
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040208;
}
::-webkit-scrollbar-thumb {
    background: #331833;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a234a;
}

/* Selection */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #f5f0f7;
}

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(4, 2, 8, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(125, 63, 125, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Service Cards - reduced motion safe */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        will-change: transform;
    }
}

/* Gold line accent */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

/* Subtle shimmer animation for hero badge */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Fade-in animations (progressive enhancement - only apply with JS) */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.from-hidden {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up.from-hidden {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
}

/* Image hover zoom */
img.hover-zoom {
    transition: transform 0.7s ease;
}
img.hover-zoom:hover {
    transform: scale(1.05);
}

/* Form focus ring */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.3), 0 0 20px rgba(251, 191, 36, 0.05);
}
