/* Base reset & utilities */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #D4A843;
    color: #0A1F44;
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

#menu-btn.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 20px;
    margin-right: 0;
}

.mobile-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.08);
    top: 40%;
    left: 5%;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 168, 67, 0.12);
    border-radius: 50%;
    top: 15%;
    left: 60%;
}

.ring-2 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
}

.dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 168, 67, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 60%;
    right: 5%;
}

.line-accent {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.3), transparent);
    top: 30%;
    right: 0;
    transform: rotate(-15deg);
}

.diamond {
    width: 60px;
    height: 60px;
    background: rgba(212, 168, 67, 0.1);
    transform: rotate(45deg);
    bottom: 15%;
    left: 8%;
}

/* Reveal animations - progressive enhancement via JS */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default visible state for reduced motion / no-JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-inline {
        display: inline-block;
        animation: slideIn 0.5s ease forwards;
    }
    
    @keyframes slideIn {
        from { opacity: 0; transform: translateX(-12px); }
        to { opacity: 1; transform: translateX(0); }
    }
    
    .card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(10, 31, 68, 0.12);
    }
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(10, 31, 68, 0.1);
}

/* Form */
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='%236B7280' stroke-width='2.5' 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 12px center;
    padding-right: 36px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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