/* ============================================================
   style.css  –  Shared styles for NutriconBio Life
   Colors:
     Primary Blue  : #2E5FA3
     Green         : #1E7A5A
     Dark Navy     : #0D2B55
     BG Teal       : #C8E8E0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #C8E8E0;
  color: #1a1a2e;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; }
ul { list-style: none; }

/* ── TOP INFO BAR ───────────────────────────────────────── */
.top-bar {
  background: linear-gradient(135deg, #0D2B55 0%, #1a3f75 100%);
  padding: 7px 0;
  font-size: 12px;
  color: #a8c8e8;
  letter-spacing: 0.4px;
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 640px) { .top-bar { display: none; } }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  background: #F7F8F7;
  box-shadow: 0 2px 24px rgba(14,43,85,0.10);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.navbar-brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #2E5FA3;
}
.brand-green { color: #1E7A5A; }
.brand-tagline {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #0D2B55;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #2E5FA3;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active { color: #2E5FA3; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* CTA Button */
.btn-cta {
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(46,95,163,0.3);
  white-space: nowrap;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(46,95,163,0.4);
}

/* Navbar actions */
.navbar-actions { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #0D2B55;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s;
}
.mobile-menu.open {
  display: block;
  max-height: 400px;
  padding: 16px 24px 20px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 14px; }
.mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  color: #0D2B55;
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: #2E5FA3; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-cta   { display: none; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #0D2B55;
  color: #a8c8e8;
  font-size: 13px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand img { height: 44px; width: auto; object-fit: contain; flex-shrink: 0; margin-bottom: 16px; }
.footer-brand-name { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-tagline { font-size: 12px; color: #7aa5c8; line-height: 1.5; }

.footer-links h4,
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #a8c8e8; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-contact li span { font-size: 15px; flex-shrink: 0; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #a8c8e8; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1E7A5A;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #0D2B55;
  line-height: 1.15;
}
.section-title span { color: #2E5FA3; }

/* Fade-in on scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
