/* THEMATIC CONFIGURATION AND CSS VARIABLES BASED ON THE MALE HEALTH/DIET CONTEXT */
:root {
  --diet-bg: #0B0F13;
  --diet-surface: #141D24;
  --diet-accent: #10B981;
  --diet-accent-soft: #34D399;
  --diet-accent-hover: #059669;
  --diet-text: #F3F4F6;
  --diet-text-muted: #9CA3AF;
  
  --diet-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --diet-hero-grad: linear-gradient(135deg, #0B0F13 25%, #15222E 100%);
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  --diet-radius: 16px; /* soft border-radius-style */
  --diet-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 4px 12px -5px rgba(16, 185, 129, 0.15); /* raised shadow depth */
}

/* GENERAL STYLING Reset */
html {
  scroll-behavior: smooth;
}

body.diet-main-viewport {
  background-color: var(--diet-bg);
  font-family: var(--font-body);
  color: var(--diet-text);
  line-height: 1.7;
}

/* Scroll-driven progress animation (CSS only) */
@keyframes progress-grow { 
  to { width: 100%; } 
}

.diet-scroll-progress {
  height: 4px;
  width: 0;
  background: var(--diet-gradient);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  animation: progress-grow linear;
  animation-timeline: scroll();
}

/* Scroll-driven entry animations for content sections */
@keyframes nutri-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.nutri-reveal {
  animation: nutri-fade-up linear both;
  animation-timeline: view();
  animation-range: entry 10% entry 30%;
}

/* SECTION GAPS */
.diet-section-gap {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* COOKIE/MENU HEADER STYLES */
.nutri-header-bar {
  background-color: rgba(11, 15, 19, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.diet-nav-list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.diet-nav-link {
  color: var(--diet-text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.diet-nav-link:hover {
  color: var(--diet-accent-soft);
}

/* Adaptive mobile hamburger menu configuration */
@media (max-width: 768px) {
  .diet-nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--diet-surface);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .diet-hamburger-btn {
    cursor: pointer;
    color: var(--diet-text);
  }
}

/* HERO SECTION PRESET C */
.nutri-hero-stage {
  height: 75vh;
  background: var(--diet-hero-grad);
}

.diet-hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .diet-hero-title {
    font-size: 4.5rem;
  }
}

.diet-hero-subtitle {
  font-size: 1.15rem;
  color: var(--diet-text-muted);
  max-width: 600px;
}

/* SECTION HEADINGS */
.diet-section-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .diet-section-heading {
    font-size: 2.75rem;
  }
}

.diet-body-paragraph {
  color: var(--diet-text-muted);
  font-size: 1.05rem;
}

/* ACTIONS / BUTTONS */
.nutri-action-trigger {
  display: inline-block;
  background: var(--diet-gradient);
  color: #FFF !important;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: var(--diet-radius);
  box-shadow: var(--diet-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nutri-action-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -5px rgba(16, 185, 129, 0.4);
}

.nutri-action-trigger-solid {
  display: inline-block;
  background-color: #FFFFFF;
  color: #0B0F13 !important;
  font-weight: 700;
  padding: 1.1rem 2.75rem;
  border-radius: var(--diet-radius);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nutri-action-trigger-solid:hover {
  transform: scale(1.03);
  background-color: var(--diet-accent-soft);
  color: #0B0F13 !important;
}

/* CONTENT SECTION 1: Offset Image Layout */
.diet-img-offset-wrap {
  position: relative;
  z-index: 10;
}

.diet-offset-img {
  border-radius: var(--diet-radius);
  box-shadow: var(--diet-shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .diet-offset-img {
    margin-left: -2rem; /* Decorative CSS-offset as requested in Preset C */
  }
}

/* CONTENT SECTION 2: Hex/Circle Crop */
.diet-hex-crop-wrap {
  width: 280px;
  height: 280px;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%); /* Rounded crop custom clip as specified */
  border: 4px solid var(--diet-accent);
  box-shadow: var(--diet-shadow);
}

@media (min-width: 768px) {
  .diet-hex-crop-wrap {
    width: 340px;
    height: 340px;
  }
}

.diet-hex-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.diet-hex-crop-wrap:hover .diet-hex-img {
  transform: scale(1.08);
}

/* FEATURES STYLING (Horizontal Rows) */
.diet-feat-item {
  transition: transform 0.3s ease;
}

.diet-feat-item:hover {
  transform: translateX(8px);
}

.diet-feat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diet-feat-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.diet-feat-desc {
  color: var(--diet-text-muted);
  font-size: 0.95rem;
}

/* CTA STRIP SPECIFICS */
.diet-cta-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .diet-cta-heading {
    font-size: 3rem;
  }
}

.diet-cta-desc {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* TESTIMONIALS MASONRY STYLE */
.diet-testi-masonry {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 768px) {
  .diet-testi-masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .diet-testi-masonry {
    column-count: 3;
  }
}

.diet-testi-card-item {
  break-inside: avoid;
  background-color: var(--diet-surface);
  padding: 2rem;
  border-radius: var(--diet-radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--diet-shadow);
  display: inline-block;
  width: 100%;
}

.diet-testi-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--diet-text);
  line-height: 1.6;
}

.diet-testi-author {
  font-size: 0.95rem;
  color: var(--diet-accent-soft);
}

/* FORM FIELDS design with large border-radius */
.diet-input-field {
  background-color: var(--diet-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  border-radius: var(--diet-radius);
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.95rem;
}

.diet-input-field:focus {
  border-color: var(--diet-accent-soft);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
  outline: none;
}

.nutri-form-submit-trigger {
  border: none;
  cursor: pointer;
  box-shadow: var(--diet-shadow);
}

.nutri-form-submit-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

/* FOOTER */
.diet-footer-strip {
  background-color: #06090D;
}