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

body {
    background-color: #0a1628;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1e3558;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8a44e;
}

/* Selection */
::selection {
    background: rgba(200, 164, 78, 0.3);
    color: #fff;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 78, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero badge animation */
.hero-badge {
    animation: fadeInUp 0.8s ease-out both;
}

/* Service cards */
.service-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease;
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease;
}

/* Mobile menu */
.mobile-menu-open #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open #bar2 {
    opacity: 0;
}
.mobile-menu-open #bar3 {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Gold shimmer text */
.gold-shimmer {
    background: linear-gradient(90deg, #c8a44e 0%, #e0c676 25%, #c8a44e 50%, #e0c676 75%, #c8a44e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Mobile menu link */
.mobile-link {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8a44e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* Subtle pattern overlay on sections */
.section-pattern {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(200, 164, 78, 0.03) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 50%, rgba(30, 53, 88, 0.5) 0%, transparent 50%);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.2;
    }
}
