/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; }

/* ===== HEADER SCROLL ===== */
header.scrolled {
  background: rgba(254, 253, 248, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(4, 120, 87, 0.08);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-open #mobileMenu {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-open .menu-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.mobile-menu-open .menu-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu-open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

/* ===== HERO ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.8s ease forwards; }
.animate-fade-up-delay { animation: fadeUp 0.8s ease 0.2s forwards; opacity: 0; }
.animate-fade-up-delay-2 { animation: fadeUp 0.8s ease 0.4s forwards; opacity: 0; }
.animate-fade-up-delay-3 { animation: fadeUp 0.8s ease 0.6s forwards; opacity: 0; }

/* ===== GEOMETRIC SHAPES ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.geo-circle-1 {
  width: 500px; height: 500px;
  background: #34d399;
  top: -150px; right: -100px;
}
.geo-circle-2 {
  width: 300px; height: 300px;
  background: #6ee7b7;
  bottom: -80px; left: -60px;
}
.geo-circle-3 {
  width: 180px; height: 180px;
  background: #a7f3d0;
  top: 40%; left: 10%;
}
.geo-circle-4 {
  width: 400px; height: 400px;
  background: #065f46;
  bottom: -200px; right: -100px;
}
.geo-circle-5 {
  width: 350px; height: 350px;
  background: #064e3b;
  top: -100px; left: -100px;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  opacity: 0.12;
}
.geo-triangle-1 {
  border-width: 0 60px 100px 60px;
  border-color: transparent transparent #fbbf24 transparent;
  top: 20%; right: 8%;
  transform: rotate(15deg);
}
.geo-square {
  position: absolute;
  opacity: 0.1;
  border-radius: 8px;
}
.geo-square-1 {
  width: 80px; height: 80px;
  background: #fbbf24;
  bottom: 25%; right: 15%;
  transform: rotate(30deg);
}
.geo-square-2 {
  width: 120px; height: 120px;
  background: #064e3b;
  top: 30%; right: 5%;
  transform: rotate(-15deg);
}
.geo-diamond {
  position: absolute;
  width: 100px; height: 100px;
  background: #fbbf24;
  opacity: 0.1;
  transform: rotate(45deg);
  border-radius: 8px;
}
.geo-diamond-1 {
  top: 15%; left: 5%;
}
.geo-dots {
  position: absolute;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, #a7f3d0 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.4;
  bottom: 20%; left: 5%;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  box-shadow: 0 4px 20px rgba(4, 78, 59, 0.08);
  border: 1px solid rgba(4, 120, 87, 0.08);
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(4, 120, 87, 0.15);
}

/* ===== GALLERY ===== */
.gallery-item {
  height: 220px;
}
@media (min-width: 1024px) {
  .gallery-item { height: 280px; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOCUS STYLES ===== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
  background: #a7f3d0;
  color: #064e3b;
}
