/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #080f0d;
    color: #fdf8f0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── NAV ─── */
#nav {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}
#nav.scrolled {
    background: rgba(8, 15, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e2c06a;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #e2c06a; }

/* ─── MOBILE MENU ─── */
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
.mobile-link { position: relative; }

/* ─── HERO SCROLL LINE ─── */
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #e2c06a, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─── SERVICE CARDS ─── */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-4px); }

/* ─── GOLD ACCENT LINE ─── */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c9a84c, #e2c06a);
}

/* ─── CUSTOM SELECTION ─── */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fdf8f0;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080f0d; }
::-webkit-scrollbar-thumb { background: #1a2e25; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2a4a3a; }

/* ─── FORM FOCUS ─── */
input:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .reveal { transform: translateY(30px); }
}
