*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    background-color: #050A18;
}

::selection {
    background-color: rgba(201, 152, 46, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Gold accent lines */
.gold-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #C9982E, transparent);
    height: 1px;
    width: 120px;
    opacity: 0.6;
}

.gold-line.top {
    top: 80px;
    left: 60px;
}

.gold-line.bottom {
    bottom: 80px;
    right: 60px;
    background: linear-gradient(90deg, transparent, #C9982E, transparent);
}

/* Navbar */
.nav-scrolled {
    background: rgba(5, 10, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 152, 46, 0.1);
}

.nav-scrolled .gold-line {
    display: none;
}

/* Service cards */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4A843, #C9982E, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for CTA */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 152, 46, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(201, 152, 46, 0);
    }
}

.pulse-gold:hover {
    animation: pulse-gold 1.5s infinite;
}

/* Image hover zoom */
img {
    transition: transform 0.6s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    img {
        transition: none;
    }
}
