/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(200, 150, 62, 0.25);
    color: #0B1A33;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B1A33;
}
::-webkit-scrollbar-thumb {
    background: #1A3D73;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C8963E;
}

/* Navbar active state */
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu.open {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hamburger animation */
#mobile-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Service card hover */
.group:hover .w-14 {
    transform: scale(1.05);
}

/* Gold accent line animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        animation: none;
    }
}
