/* --- Global Theme Variables --- */
:root {
  --white: #f2f3f4;
  --offwhite: #f4f3f2;
  --black: #555263;
  --pink: #f2695c;
  --magenta: #ef4581;
  --lavender: #a794bb;

  --font-family: 'Plus Jakarta Sans', sans-serif;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* --- Base Styles --- */
body {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--black);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* --- Navbar --- */
.navbar {
      background: var(--white);
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }

.nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 0;
    }

.site-name {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--black);
    }

.logo-inline {
  max-width: 25px;
  margin-left: 8px;
  vertical-align: middle;
}

.nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

.nav-links li a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--magenta);
}

.menu-toggle {
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
    }

/* --- Mobile Nav --- */
@media (max-width: 767px) {
  .card-grid .card-tile {
    margin-bottom: 2rem;
  }
  .card-grid .card-tile:last-child {
    margin-bottom: 0;
  }
  .card-tile.image-card {
    margin-top: 4rem !important;
  }

  /* Hide links on mobile until toggled */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    width: 100%;
    margin-top: 10px;
  }
  .nav-links.active { display: flex; }

  /* Show burger on mobile */
  .menu-toggle { display: block; }

  /* Stack brand + burger on mobile */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* --- Hero Section --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  background-color: var(--offwhite);
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1.2s ease-out;
}

.hero-logo {
  max-width: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  color: var(--pink);
  margin-bottom: 0.3rem;
}

.hero h2 {
  font-size: 1.5rem;
  color: var(--magenta);
  margin: 0.3rem 0;
}

.motto {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--black);
}

/* --- Button --- */
.btn, .cta-button {
  background-color: var(--magenta);
  color: var(--white);
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:hover, .cta-button:hover {
  background-color: var(--lavender);
}

/* --- Section Wrapper --- */
.section-light {
  background-color: var(--offwhite);
  padding: 4rem 1rem;
  text-align: center;
}

.section-light p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Card Grid Section --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card-grid.equal-height > .card-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


@media (min-width: 768px) and (orientation: landscape) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-tile {
  background-color: var(--pink);
  color: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

.card-tile em {
  font-style: italic;
}

/* --- Footer --- */
footer {
  background-color: var(--offwhite);
  text-align: center;
  padding: 2rem 2rem;
  font-size: 0.9rem;
  color: var(--black);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 2rem
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--magenta);
}

/* --- Utility --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768px) and (orientation: landscape) {
  .card-grid.equal-height > .card-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* === Standalone Page Styling (for about.html, the_app.html, the_chef.html) === */

.about-page {
  padding: 40px 20px;
  background-color: var(--white);
  color: var(--black);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-hero {
  padding: 80px 20px 30px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
}

.about-hero h1 {
  font-size: 2.8rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.about-hero .tagline {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--black);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-content h2 {
  font-size: 1.8rem;
  color: var(--magenta);
  margin-top: 2rem;
}

.about-content ul {
  padding-left: 1.2rem;
}

.about-content ul li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.5;
}
.more-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: var(--magenta);
  transform: translateX(5px);
}

.more-link::after {
  content: "→";
  margin-left: 5px;
  transition: all 0.3s ease;
}

.more-link:hover::after {
  margin-left: 10px;
}

.image-card img {
  width: 100%;
  height: auto;
  border-radius: 10px; /* match card style */
  display: block;
  object-fit: cover;
}

#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  background-color: var(--magenta);
  color: var(--white);
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: var(--pink);
}
body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta-stack + .newsletter-inline {
  margin-left: auto;
  margin-right: auto;
}
.cta-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;            /* space between the two buttons */
}

/* Support button style (distinct from your brand pink) */
.btn--support {
  background: #a794bb;            /* calm blue */
  border: 1px solid #a794bb;
  color: #fff;
}
.btn--support:hover { filter: brightness(0.98); }
/* Make the stack bulletproof on mobile */
.cta-stack {
  display: flex;                 /* not inline-flex */
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Make buttons fill nicely on small screens */
.cta-stack .btn,
.cta-stack .btn--support {
  display: block;
  width: 100%;
  max-width: 320px;              /* adjust if you want wider */
  text-align: center;
}

/* Use margin for spacing (works everywhere, even older iOS) */
.cta-stack .btn--support {
  margin-top: 10px;
  margin-bottom: 1rem;
}

/* Force the support color to win on all browsers */
.btn--support {
  background-color: #a794bb !important;  /* your lavender */
  border: 1px solid #a794bb !important;
  color: #fff !important;
}
.newsletter-inline {
  margin-top: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(85, 82, 99, 0.15);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
  max-width: 600px;            /* slightly wider for better balance */
  width: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  margin-left: auto;
  margin-right: auto;           /* center horizontally */
}

.section.gradient-bg .newsletter-inline {
  background: rgba(244, 243, 242, 0.25);
  backdrop-filter: blur(3px);
}

.newsletter-title {
  margin: 0 0 0.25rem 0;
  color: #555263;
  font-size: 1.05rem;
  font-weight: 600;
}

.newsletter-text {
  margin: 0 0 0.75rem 0;
  color: #555263;
  font-size: 0.9rem;
}
.newsletter-row {
  display: flex;
  gap: 0.6rem;          /* space between First name and Email */
  margin-bottom: 0.9rem;
  width: 100%;
}

.newsletter-row input {
  flex: 1;                     /* both grow equally to fill the card */
  min-width: 0;                /* prevents overflow on narrow screens */
  border: 1px solid rgba(85, 82, 99, 0.3);
  border-radius: 999px;        /* pill shape like CTA buttons */
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}


.newsletter-row input:focus {
  border-color: #f2695c;
  box-shadow: 0 0 0 3px rgba(242, 105, 92, 0.15);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #555263;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.newsletter-consent input[type="checkbox"] {
  margin-top: 0.2rem;
}

.newsletter-btn {
  background: #f2695c;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.newsletter-btn:disabled {
  background: #ccc;
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}

.newsletter-feedback {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  min-height: 1.1rem;
}

.newsletter-feedback.success {
  color: #1a7f37;
}

.newsletter-feedback.error {
  color: #d72638;
}

@media (max-width: 540px) {
  .newsletter-inline {
    max-width: 100%;
  }
  .newsletter-row {
    flex-direction: column;
  }
}

.newsletter-inline .newsletter-title {
  text-align: center;
}

.newsletter-inline .newsletter-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* === 5-Step Strip Layout === */
.steps5 {
  --card-bg: #fff;
  --card-border: rgba(85,82,99,0.12);
  display: grid;
  gap: 2rem;
  max-width: 1200px;   /* match .card-grid width */
  margin: 0 auto;      /* center like other sections */
  padding: 1rem;
  padding-top: 0.5;       /* match .card-grid padding */
  grid-template-columns: 1fr;
}

.step-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.step-card:hover { transform: none; box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
/* Number badge */
.step-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(242,105,92,0.3);
}

.step-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.step-title {
  margin: 0.5rem 0 0.25rem 0;
  color: var(--magenta);
  font-size: 1.05rem;
  font-weight: 600;
}

.step-text {
  margin: 0 0 0.75rem 0;
  color: var(--black);
  font-size: 0.95rem;
}

.step-cta {
  display: inline-block;
  font-weight: 600;
  color: var(--pink);
  text-decoration: none;
  margin-top: 0.2rem;
}
.step-cta:hover { color: var(--magenta); }

/* OS buttons in step 4 */
.step-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pill {
  display: inline-block;
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
}
.pill:hover { background: transparent; }

/* Responsive grid tweaks */
@media (min-width: 700px) {
  .steps5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1000px) {
  .steps5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

.cta-button-static {
  display: inline-block;
  background-color: var(--magenta);   /* same as .cta-button */
  color: var(--white);
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  pointer-events: none;               /* disable click */
  user-select: none;
  margin: 0 0.2rem;
  vertical-align: middle;
}

/* Title above 5-step section */
.steps-title {
  font-size: 1.8rem;
  color: var(--magenta);
  text-align: center;
  margin-bottom: 1.2rem;
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* tighten space just for the steps section */
.section-steps {
  /* halves the big default padding from .section-light */
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

/* reduce space below the CTA stack above the steps */
.cta-stack {
  margin-bottom: 0.9rem;   /* was larger via button margin */
}

/* title spacing above and below */
.steps-title {
  margin-top: 0.6rem;      /* closer to the CTA */
  margin-bottom: 0.8rem;   /* closer to the cards */
}

/* fix the unit typo so it actually applies */


/* --- tighten the vertical gap between CTA buttons and the steps title --- */

/* Remove extra bottom margin on the last CTA button */
.cta-stack .btn--support:last-child {
  margin-bottom: 0.4rem;  /* was 1rem earlier; reduces the gap */
}

/* Also reduce overall stack spacing when followed by the steps section */
.cta-stack + .section-steps {
  margin-top: 0.6rem;  /* pull the title closer to the buttons */
}

/* Title fine-tuning to keep consistent spacing */
.steps-title {
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
}
/* Pull the steps section closer to the CTA above */
.section-steps {
  padding-top: 1.2rem !important;   /* override .section-light 4rem */
  padding-bottom: 1.6rem;
}

/* Tighten the CTA stack itself */
.cta-stack .btn--support:last-child {
  margin-bottom: 0.2rem !important;  /* was 1rem */
}
.cta-stack {
  margin-bottom: 0.4rem !important;  /* shrink extra space under buttons */
}

/* If the steps section immediately follows the CTA, collapse the gap even more */
.cta-stack + .section-steps {
  margin-top: 0 !important;          /* remove any residual space */
}

/* Title spacing (keep top & bottom balanced) */
.steps-title {
  margin-top: 0.3rem !important;
  margin-bottom: 0.7rem !important;
}

@media (max-width: 767px) {
  .card-grid .card-tile { margin-bottom: 2rem; }
  .card-grid .card-tile:last-child { margin-bottom: 0; }
  .card-tile.image-card { margin-top: 4rem !important; }

  /* Hide links on mobile until toggled */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    width: 100%;
    margin-top: 10px;
  }
  .nav-links.active { display: flex; }

  /* Stack brand + burger on mobile */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Show the burger icon on mobile */
  .menu-toggle { display: block; }
}
/* 🛑 Make sure there is a closing brace for the media query right above */
/* Desktop defaults */
@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-left: auto;           /* push links to the right */
  }
  .menu-toggle { display: none !important; }
}
.cta-stack .btn,
.cta-stack .btn--support {
  box-sizing: border-box;
}
@media (max-width: 480px) {
  /* add side padding so buttons don’t touch the edges */
  .cta-stack {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* let buttons fill the padded stack width */
  .cta-stack .btn,
  .cta-stack .btn--support {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
/* --- Fix mobile CTA button alignment (equal left/right margins) --- */
@media (max-width: 600px) {
  .cta-stack {
    width: 100%;
    max-width: 340px;      /* keep nice button width */
    margin: 0 auto;        /* center horizontally */
    padding-left: 1rem;    /* add small inner padding on both sides */
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .cta-stack .btn,
  .cta-stack .btn--support {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}
/* Match section gutters on small screens */
@media (max-width: 600px) {
  .hero {
    padding-left: 1rem;
    padding-right: 1rem;   /* was 20px; now equal to sections */
  }
  .hero-content {
    width: 100%;
    margin: 0 auto;        /* ensure the content block itself is centered */
  }

  /* Keep the stack perfectly centered inside that gutter */
  .cta-stack {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;        /* center the stack */
    padding-left: 0;       /* let hero handle the gutter */
    padding-right: 0;
    box-sizing: border-box;
  }

  .cta-stack .btn,
  .cta-stack .btn--support {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

.float-image {

  max-width: 50%;
  border-radius: 2px;
  
}

.float-image.right {
  width: 250px;
  float: right;
  margin-left: 20px;
}

.float-image.left {
  width: 400px;
  float: left;
  margin-right: 20px;
}

/* Prevent layout issues on small screens */
@media (max-width: 700px) {
  .float-image {
    float: none;
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }
}


.navbar .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* NAVBAR ONLY – font tuning */
.navbar {
  font-size: 0.95rem;
}

.navbar .site-name {
  font-size: 1rem;
}

.navbar .nav-links a {
  font-size: 0.95rem;
}    
   
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* ── Nutrient Showcase Card (for calorie-free messaging) ── */
.nutrient-showcase-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--offwhite) 100%);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(167, 148, 187, 0.2);
}

.nutrient-showcase-header {
  margin-bottom: 1.5rem;
}

.nutrient-showcase-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.nutrient-showcase-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--magenta);
  margin: 0;
}

.nutrient-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: left;
}

.nutrient-showcase-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  padding: 0.4rem 0;
}

.nutrient-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.protein-dot { background-color: #FF4081; }
.fibre-dot { background-color: #7EAF61; }
.calcium-dot { background-color: #7DB8E3; }
.magnesium-dot { background-color: #A794BB; }
.omega3-dot { background-color: #2AAE9A; }
.vitaminD-dot { background-color: #F4C430; }

.nutrient-showcase-footer {
  font-size: 0.85rem;
  color: var(--black);
  opacity: 0.75;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(167, 148, 187, 0.2);
  font-style: italic;
}

@media (max-width: 768px) {
  .nutrient-showcase-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .nutrient-showcase-card {
    padding: 1.5rem;
  }
}