/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Navbar scroll state ─── */
nav { background: transparent; }
nav.scrolled { background: rgba(253, 252, 248, 0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 20px rgba(26, 92, 42, 0.08); }

/* ─── Hero decorative circles ─── */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.circle-1 {
  width: 300px; height: 300px;
  background: linear-gradient(135deg, #d5eadc, #a9d5b5);
  top: 10%; left: -80px;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.circle-2 {
  width: 180px; height: 180px;
  background: linear-gradient(135deg, #f5d9b0, #eda86a);
  top: 60%; right: 5%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite reverse;
}
.circle-3 {
  width: 100px; height: 100px;
  background: #a9d5b5;
  bottom: 15%; left: 30%;
  opacity: 0.25;
  animation: float 10s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* ─── Scroll reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; }
}

/* ─── Mobile menu transition ─── */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
#mobileMenu.open {
  max-height: 300px;
  padding-top: 0;
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf8f0; }
::-webkit-scrollbar-thumb { background: #a9d5b5; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2d7a4a; }
