/* Base & utilities */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #f5f0f8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #090410;
}
::-webkit-scrollbar-thumb {
    background: #3d1f4d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #523068;
}

/* Service cards */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    }
    .service-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #d4a843 50%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(5, 2, 10, 0.95) !important;
    border-color: rgba(61, 31, 77, 0.6) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}
