/* ── Reset & Base ── */
*, *::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; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0fdf4; }
::-webkit-scrollbar-thumb { background: #6ee7b7; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #34d399; }

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

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(5, 150, 105, 0.08);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #059669;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.25);
}
.btn-primary:hover {
  background: #047857;
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(255,255,255,0.7);
  color: #059669;
  border: 2px solid rgba(5, 150, 105, 0.3);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(5, 150, 105, 0.08);
  border-color: #059669;
  transform: translateY(-2px);
}

/* ── Badges ── */
.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(209, 250, 229, 0.8);
  color: #047857;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 231, 183, 0.4);
}
.badge-section {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #059669;
  background: rgba(209, 250, 229, 0.6);
  border: 1px solid rgba(110, 231, 183, 0.5);
}

/* ── Menu Cards ── */
.menu-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 4px 24px rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(110, 231, 183, 0.15);
  transition: all 0.3s ease;
}
.menu-card:hover {
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.12);
  transform: translateY(-4px);
  border-color: rgba(110, 231, 183, 0.4);
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 500;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}

/* ── Floating Cards Animation ── */
.floating-card {
  animation: float 6s ease-in-out infinite;
}
.card-main {
  width: 260px;
  height: 320px;
}
.card-stat-1 {
  animation-delay: -1s;
}
.card-stat-2 {
  animation-delay: -3s;
}
.card-stat-3 {
  animation-delay: -5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* ── Background Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobMove 20s ease-in-out infinite;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: #d1fae5;
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: #fef3c7;
  bottom: 5%;
  right: -5%;
  animation-delay: -7s;
}
.blob-3 {
  width: 300px;
  height: 300px;
  background: #fce7f3;
  top: 40%;
  left: 40%;
  animation-delay: -14s;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.02); }
}

/* ── Scroll Indicator ── */
.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #6ee7b7, transparent);
  border-radius: 999px;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Mobile Menu ── */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .card-main {
    width: 200px;
    height: 250px;
  }
  #hero {
    min-height: auto;
    padding-bottom: 4rem;
  }
  .floating-card {
    display: none;
  }
  .floating-card.card-main {
    display: block;
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 380px;
    margin: 0 auto;
  }
  .hero-image-wrapper {
    display: flex;
    justify-content: center;
  }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* ── Selection ── */
::selection {
  background: #d1fae5;
  color: #064e3b;
}
