/* ============================================
   Cheers Nutrition 1414 S Main — Custom Styles
   ============================================ */

/* ---------- Base / Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ---------- Typography ---------- */
.heading-2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1B4332;
}
.heading-light { color: #ffffff; }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B4332;
  background: #dce9e0;
  padding: 0.4em 1em;
  border-radius: 100px;
}
.label-light {
  color: #D4A843;
  background: rgba(212, 168, 67, 0.15);
}
.body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #D4A843;
  color: #1B4332;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}
.btn-primary:hover {
  background: #C49A30;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ---------- Inputs ---------- */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d4e0d8;
  border-radius: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #1B4332;
  background: #FAF8F2;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-field::placeholder { color: #a0b4a6; }
.input-field:focus {
  border-color: #1B4332;
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* ---------- Feature Card ---------- */
.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(27, 67, 50, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.1);
}

/* ---------- Product Card ---------- */
.product-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Reason Item ---------- */
.reason-item {
  transition: transform 0.2s ease;
}
.reason-item:hover { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4A843;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ---------- Mobile Menu ---------- */
.mobile-link {
  transition: color 0.2s ease;
}
.mobile-link:hover { color: #D4A843; }

/* ---------- Hero ---------- */
.hero-bg { position: relative; }
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 31, 22, 0.82) 0%,
    rgba(27, 67, 50, 0.72) 50%,
    rgba(27, 67, 50, 0.55) 100%
  );
}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Stat Items ---------- */
.stat-item {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
}

/* ---------- Navbar Scrolled State ---------- */
#navbar.scrolled {
  background: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(27, 67, 50, 0.08);
}
#navbar.scrolled .nav-link { color: #1B4332 !important; }
#navbar.scrolled .font-serif { color: #1B4332 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .stat-item { border-left: none; padding-left: 0; }
}
