/* ── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

/* ── Navbar ───────────────────────────────────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#navbar.scrolled {
    background: rgba(2, 44, 34, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ── Mobile menu ──────────────────────────────────────────────────── */
#menu-btn { position: relative; }
.menu-line { transition: transform 0.3s ease, opacity 0.3s ease; }
#menu-btn.active .menu-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
#menu-btn.active .menu-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-link { display: block; }

/* ── Hero stat cards ──────────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.stat-card {
    animation: float 5s ease-in-out infinite;
    will-change: transform;
}

/* ── Service cards ────────────────────────────────────────────────── */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a853, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Form focus states ────────────────────────────────────────────── */
input:focus, select:focus, textarea:focus {
    background: rgba(255,255,255,0.07);
}

/* ── Selection ────────────────────────────────────────────────────── */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #faf8f5;
}

/* ── Scrollbar ────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #022c22; }
::-webkit-scrollbar-thumb { background: rgba(212,168,83,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,168,83,0.45); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .font-display { line-height: 1.15; }
}
