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

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

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Geometric Hero Shapes ── */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.geo-circle-1 {
  width: 500px;
  height: 500px;
  border: 3px solid #f0a500;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f0a500 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #66bb6a;
  top: 30%;
  left: 8%;
  transform: rotate(15deg);
  animation: spin-slow 25s linear infinite;
  opacity: 0.08;
}

.geo-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, #f0a500 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  top: 60%;
  right: 15%;
  animation: float-slow 18s ease-in-out infinite;
}

.geo-stripe {
  width: 200px;
  height: 60px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    #c0392b 8px,
    #c0392b 10px
  );
  top: 20%;
  right: 5%;
  transform: rotate(-30deg);
  opacity: 0.06;
  animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-ring {
  width: 180px;
  height: 180px;
  border: 4px solid #a5d6a7;
  border-radius: 50%;
  bottom: 20%;
  left: 20%;
  animation: spin-slow 30s linear infinite reverse;
  opacity: 0.1;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Menu Cards ── */
.menu-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-card.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.menu-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu ── */
.menu-line {
  display: block;
  transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

#menu-toggle.active .menu-line:nth-child(3) {
  width: 6px;
  transform: rotate(-45deg) translate(3px, -3px);
  margin-left: 0;
  margin-right: 0;
}

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(27, 94, 32, 0.1);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
  color: #1B5E20;
  padding-left: 0.5rem;
}

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

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navbar scroll state ── */
#nav.scrolled {
  box-shadow: 0 4px 30px rgba(27, 94, 32, 0.1);
}

/* ── Focus styles ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #f0a500;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Selection ── */
::selection {
  background: #1B5E20;
  color: #fefdf8;
}
