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

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #064e3b 0%, #047857 30%, #059669 55%, #10b981 80%, #34d399 100%);
}

/* ── Hero Geometric Shapes ── */
.hero-shape {
  opacity: 0.12;
  pointer-events: none;
}
.hero-shape-1 {
  width: 400px; height: 400px;
  background: #fef3c7;
  border-radius: 50%;
  top: -100px; right: -80px;
}
.hero-shape-2 {
  width: 200px; height: 200px;
  background: #a7f3d0;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: 15%; left: 5%;
  animation: morphShape 8s ease-in-out infinite;
}
.hero-shape-3 {
  width: 120px; height: 120px;
  background: #fde68a;
  top: 40%; right: 10%;
  transform: rotate(45deg);
  animation: floatShape 6s ease-in-out infinite;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
@keyframes floatShape {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-20px); }
}

/* ── Floating Background Shapes ── */
.shape-circle, .shape-square, .shape-triangle, .shape-ring {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
}
.shape-circle {
  background: #047857;
  border-radius: 50%;
}
.shape-square {
  background: #059669;
  border-radius: 12px;
  transform: rotate(15deg);
}
.shape-triangle {
  background: #10b981;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.shape-ring {
  background: transparent;
  border: 8px solid #34d399;
  border-radius: 50%;
}

.shape-float-1 { animation: floatA 7s ease-in-out infinite; }
.shape-float-2 { animation: floatB 9s ease-in-out infinite; }
.shape-float-3 { animation: floatA 11s ease-in-out infinite reverse; }
.shape-float-4 { animation: floatB 8s ease-in-out infinite; }
.shape-float-5 { animation: floatA 10s ease-in-out infinite reverse; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-20px) rotate(25deg); }
}

/* ── Navbar ── */
.nav-header {
  background: rgba(253, 246, 227, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(4, 120, 87, 0.08);
  transition: all 0.3s ease;
}
.nav-header.scrolled {
  background: rgba(253, 246, 227, 0.95);
  box-shadow: 0 4px 30px rgba(4, 120, 87, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #059669;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #047857;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #047857;
}
.btn-primary:hover {
  background: #065f46;
  border-color: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.3);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #047857;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}
.btn-white:hover {
  background: #fef3c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-primary-inline {
  display: inline-flex;
  align-items: center;
  color: #047857;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid #047857;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-primary-inline:hover {
  background: #047857;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Hero Animations ── */
.hero-badge { animation: fadeDown 0.8s ease forwards; opacity: 0; }
.hero-title { animation: fadeUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero-subtitle { animation: fadeUp 0.8s ease 0.4s forwards; opacity: 0; }
.hero-ctas { animation: fadeUp 0.8s ease 0.6s forwards; opacity: 0; }
.hero-scroll { animation: fadeUp 0.8s ease 0.8s forwards; opacity: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Reveal Animations ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── 3D Cards ── */
.card-3d { perspective: 800px; }
.card-inner {
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-3d:hover .card-inner {
  transform: rotateY(-3deg) rotateX(3deg);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.2);
}

/* ── Menu Cards ── */
.menu-card {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  border: 1px solid rgba(4, 120, 87, 0.08);
  transition: all 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(4, 120, 87, 0.12);
}

/* ── Mobile Menu ── */
.mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(4, 120, 87, 0.08);
}
.mobile-link:last-child { border-bottom: none; }

/* ── Events Pattern ── */
.events-pattern {
  background-image: radial-gradient(circle, #047857 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-shape-1 { width: 200px; height: 200px; }
  .hero-shape-2 { width: 120px; height: 120px; }
  .hero-shape-3 { width: 80px; height: 80px; }
}

/* ── Selection ── */
::selection {
  background: #059669;
  color: #fff;
}

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
