:root {
  --primary: #2A9D8F;
  --accent-yellow: #E9C46A;
  --accent-orange: #F4A261;
  --accent-terracotta: #E76F51;
  --bg-light: #F9F9F9;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #E8E8E8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand:hover {
  color: var(--accent-orange);
}

.navbar-brand img {
  width: 35px;
  height: 35px;
}

.navbar-nav {
  display: none;
  list-style: none;
}

.navbar-nav.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  padding: 1rem;
  gap: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  display: block;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.navbar-toggler {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

main {
  margin-top: 70px;
}

section {
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(42, 157, 143, 0.9) 100%);
  color: #FFFFFF;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero-food-spread.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-section h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.intro-section {
  background-color: var(--bg-light);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.intro-text {
  padding: 1rem;
}

.intro-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.intro-image img {
  width: 100%;
  height: auto;
}

.macronutrients-section {
  background-color: #FFFFFF;
}

.macro-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.macro-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.macro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.macro-card h3 {
  color: var(--primary);
  margin-top: 0;
}

.macro-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vitamins-minerals-section {
  background-color: var(--bg-light);
}

.vitamins-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
}

.vitamins-table th {
  background: var(--primary);
  color: #FFFFFF;
  padding: 1rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}

.vitamins-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.vitamins-table tr:hover {
  background-color: rgba(42, 157, 143, 0.05);
}

.food-groups-section {
  background-color: #FFFFFF;
}

.food-groups-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.food-group-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

.food-group-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.food-group-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.food-group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-group-content {
  padding: 1.5rem;
}

.food-group-content h3 {
  color: var(--primary);
  margin-top: 0;
}

.hydration-section {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(42, 157, 143, 0.8) 100%);
  color: #FFFFFF;
}

.hydration-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hydration-text h2 {
  color: #FFFFFF;
}

.hydration-text p {
  color: rgba(255, 255, 255, 0.9);
}

.hydration-image {
  text-align: center;
}

.hydration-image img {
  max-width: 250px;
  margin: 0 auto;
}

.energy-section {
  background-color: var(--bg-light);
}

.energy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.energy-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.energy-image img {
  width: 100%;
}

.fiber-section {
  background-color: #FFFFFF;
}

.fiber-list {
  margin-top: 2rem;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.fiber-list ul {
  list-style: none;
  padding: 0;
}

.fiber-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.fiber-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.antioxidants-section {
  background-color: var(--bg-light);
}

.antioxidants-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.antioxidants-image {
  width: 100%;
  max-width: 400px;
}

.antioxidants-image img {
  width: 100%;
  border-radius: 8px;
}

.dietary-patterns-section {
  background-color: #FFFFFF;
}

.patterns-text {
  max-width: 900px;
}

.patterns-text h3 {
  color: var(--primary);
}

.activity-section {
  background-color: var(--bg-light);
}

.activity-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.activity-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  order: 2;
}

.activity-image img {
  width: 100%;
  border-radius: 8px;
}

.activity-text {
  order: 1;
}

.nutrient-density-section {
  background-color: #FFFFFF;
}

.nutrient-density-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.nutrient-density-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.nutrient-density-image img {
  width: 100%;
  border-radius: 8px;
}

.nutrient-bullets {
  list-style: none;
  padding: 0;
}

.nutrient-bullets li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.nutrient-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.misconceptions-section {
  background-color: var(--bg-light);
}

.faq-accordion {
  margin-top: 2rem;
}

.accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  border: none;
  width: 100%;
  font-weight: 600;
  color: var(--text-dark);
}

.accordion-header:hover {
  background: rgba(42, 157, 143, 0.1);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
}

.accordion-item.active .accordion-header {
  background: var(--primary);
  color: #FFFFFF;
}

.accordion-item.active .accordion-header::after {
  content: '−';
  color: #FFFFFF;
}

.accordion-content {
  display: none;
  padding: 1.5rem;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-content p {
  margin: 0;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(42, 157, 143, 0.8) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: var(--accent-orange);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-terracotta);
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-link {
  background: none;
  color: var(--primary);
  padding: 0;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

footer {
  background: var(--text-dark);
  color: #FFFFFF;
  padding: 3rem 1.5rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent-yellow);
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-disclaimer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: #FFFFFF;
  padding: 1.5rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-accept {
  background: var(--primary);
  color: #FFFFFF;
}

.cookie-accept:hover {
  background: rgba(42, 157, 143, 0.8);
}

.cookie-decline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-learn {
  color: var(--accent-yellow);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.cookie-learn:hover {
  color: #FFFFFF;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.contact-form {
  max-width: 600px;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.form-disclaimer {
  background: rgba(42, 157, 143, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.thank-you-content {
  text-align: center;
  padding: 4rem 1.5rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-content h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.thank-you-content p {
  margin-bottom: 2rem;
  max-width: 600px;
}

.breadcrumb {
  display: none;
}

.page-intro {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(42, 157, 143, 0.8) 100%);
  color: #FFFFFF;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 70px;
}

.page-intro h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.policy-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

@media (min-width: 576px) {
  .navbar-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: 0.5rem;
  }

  .navbar-nav.show {
    display: flex;
  }

  .navbar-toggler {
    display: none;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .macro-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .food-groups-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-content {
    grid-template-columns: 1fr 1fr;
  }

  .hydration-content {
    grid-template-columns: 1fr 1fr;
  }

  .energy-content {
    grid-template-columns: 1fr 1fr;
  }

  .antioxidants-content {
    grid-template-columns: 1fr 1fr;
  }

  .activity-content {
    grid-template-columns: 1fr 1fr;
  }

  .nutrient-density-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .cookie-banner {
    flex-wrap: nowrap;
  }

  .contact-form {
    max-width: 700px;
  }
}

@media (max-width: 575px) {
  header {
    padding: 1rem 0;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-brand img {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  section {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .macro-card {
    padding: 1.5rem;
  }

  .cookie-banner {
    padding: 1rem;
    gap: 0.75rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    flex: 1;
  }

  main {
    margin-top: 65px;
  }
}
