/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }

/* ── Scroll Reveal (progressive enhancement) ─────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Navbar ───────────────────────────────────────── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
#navbar.nav-scrolled { background: rgba(10, 22, 9, 0.85); box-shadow: 0 1px 0 rgba(201, 162, 39, 0.1); backdrop-filter: blur(16px); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #c9a227; transition: all 0.2s; transform: translateX(-50%); }
.nav-link:hover::after { width: 60%; }

/* Mobile menu */
.mobile-menu-bg { transition: opacity 0.3s ease; }
.mobile-menu-item { transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0; transform: translateY(-8px); }
body.menu-open .mobile-menu-bg { opacity: 1; }
body.menu-open .mobile-menu-item { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu-item:nth-child(1) { transition-delay: 0.05s; }
body.menu-open .mobile-menu-item:nth-child(2) { transition-delay: 0.1s; }
body.menu-open .mobile-menu-item:nth-child(3) { transition-delay: 0.15s; }
body.menu-open .mobile-menu-item:nth-child(4) { transition-delay: 0.2s; }
body.menu-open .mobile-menu-item:nth-child(5) { transition-delay: 0.25s; }
body.menu-open .mobile-menu-item:nth-child(6) { transition-delay: 0.3s; }
body.menu-open .mobile-menu-item:nth-child(7) { transition-delay: 0.35s; }

/* Hamburger */
.nav-toggle[aria-expanded="true"] .nav-line:nth-child(1) { transform: translateY(2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-line:nth-child(3) { transform: translateY(-2px) rotate(-45deg); width: 5px; }

/* ── Hero ─────────────────────────────────────────── */
.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 94, 45, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(201, 162, 39, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(94, 154, 94, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, #0a1609 0%, #132711 40%, #1a3618 70%, #0a1609 100%);
}
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow--1 { background: radial-gradient(circle, rgba(201, 162, 39, 0.3), transparent 70%); top: 10%; left: 10%; }
.hero-glow--2 { background: radial-gradient(circle, rgba(94, 154, 94, 0.4), transparent 70%); bottom: 10%; right: 10%; }

/* ── CTA Section ──────────────────────────────────── */
.cta-gradient {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(45, 94, 45, 0.5) 0%, transparent 70%),
    linear-gradient(135deg, #0a1609 0%, #132711 50%, #1a3618 100%);
}

/* ── FAQ ──────────────────────────────────────────── */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s; }
.faq-content.open { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Contact Form ─────────────────────────────────── */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(201, 162, 39, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

/* ── Selection ────────────────────────────────────── */
::selection { background: rgba(201, 162, 39, 0.3); color: #faf9f6; }

/* ── Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1609; }
::-webkit-scrollbar-thumb { background: #2d5e2d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3d7a3d; }

/* ── Focus Visible ────────────────────────────────── */
:focus-visible { outline: 2px solid rgba(201, 162, 39, 0.6); outline-offset: 2px; border-radius: 4px; }
</style>
