/* Theme variables customized for Wellness, Healthy Lifestyle, Vitality */
:root {
  --vital-bg: #f8fafc;
  --vital-white-surface: #ffffff;
  --vital-mint-soft: #f0fdf4;
  --vital-emerald-accent: #059669;
  --vital-emerald-hover: #047857;
  --vital-slate-text: #1e293b;
  --vital-gradient-fresh: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Border Radius Random Style: Soft */
  --vital-radius-soft: 16px;
  --vital-radius-pill: 999px;

  /* Shadow Depth Random Style: Raised */
  --vital-shadow-raised: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Global scroll progress tracker (only CSS animation-timeline) */
.vitality-scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 9999;
  animation: vitality-progress-grow linear;
  animation-timeline: scroll();
}

@keyframes vitality-progress-grow {
  to {
    width: 100%;
  }
}

/* Custom Navigation design specifically to bypass footprint blocks */
.eco-navigation-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scroll reveal animations using viewport CSS only */
.reveal {
  animation: vitality-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 10% entry 40%;
}

@keyframes vitality-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive hamburger functionality (CSS only) */
.eco-menu-checkbox:checked ~ .eco-hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.eco-menu-checkbox:checked ~ .eco-hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.eco-menu-checkbox:checked ~ .eco-hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.eco-menu-checkbox:checked ~ .eco-mobile-menu-drawer {
  transform: translateY(0);
}

/* Section general spacing as per guidelines */
.vitality-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

/* Bento Grid Layout Configuration corresponding to Preset I */
.bio-grid-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Responsive bento cell sizing */
.bento-cell-tall {
  grid-column: span 4;
}
.bento-cell-short {
  grid-column: span 2;
}
.bento-cell-medium {
  grid-column: span 3;
}
.bento-cell-wide {
  grid-column: span 6;
}

/* Standard Bento transition behaviors */
.bento-cell-tall, .bento-cell-short, .bento-cell-medium, .bento-cell-wide {
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .bento-cell-tall, .bento-cell-short, .bento-cell-medium, .bento-cell-wide {
    grid-column: span 6;
  }
}

/* Subtle pattern background overlays */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background-image: radial-gradient(rgba(5, 150, 105, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Layout spacing adjustment and fine details */
.text-2xs {
  font-size: 0.65rem;
}
.text-3xs {
  font-size: 0.55rem;
}