@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

:root {
  --primary-color: #66CDAA;
  --accent-blue: #87CEEB;
  --accent-yellow: #FFFACD;
  --accent-gray: #F5F5DC;
  --dark-gray: #333333;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
}

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

html, body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

body {
  background-color: var(--white);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo img {
  height: 40px;
  width: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

nav a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.25rem;
}

main {
  margin-top: 80px;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

.section.hero {
  background-image: linear-gradient(135deg, rgba(102, 205, 170, 0.9), rgba(135, 206, 235, 0.9)), url('images/hero-nutrition.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.section.white {
  background-color: var(--white);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.row.reverse {
  direction: rtl;
}

.row.reverse > * {
  direction: ltr;
}

.row-content {
  flex: 1;
}

.row-image {
  flex: 1;
}

.row-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(102, 205, 170, 0.15);
  border-color: var(--primary-color);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
}

table th {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

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

table tbody tr:hover {
  background-color: var(--accent-gray);
}

.list-styled {
  list-style: none;
  padding-left: 0;
}

.list-styled li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.list-styled li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #4fb896;
  box-shadow: 0 4px 12px rgba(102, 205, 170, 0.3);
}

.cta-button.secondary {
  background-color: var(--accent-blue);
  color: var(--white);
}

.cta-button.secondary:hover {
  background-color: #6db8d9;
}

footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

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

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-info {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #cccccc;
}

.footer-divider {
  border-top: 1px solid #555555;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #999999;
}

.disclaimer {
  background-color: var(--accent-gray);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.disclaimer strong {
  color: var(--primary-color);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  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-color);
  box-shadow: 0 0 0 3px rgba(102, 205, 170, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.accordion {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background-color: var(--light-gray);
  padding: 1.5rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.accordion-header:hover {
  background-color: var(--accent-gray);
}

.accordion-toggle {
  color: var(--primary-color);
  font-weight: 700;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.accordion-content.active {
  padding: 1.5rem;
  max-height: 1000px;
}

.accordion-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  display: none;
}

.cookie-banner.active {
  display: flex;
}

.cookie-content {
  flex: 1;
  margin-right: 2rem;
}

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
  white-space: nowrap;
}

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

.cookie-accept:hover {
  background-color: #4fb896;
}

.cookie-reject {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

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

.cookie-learn {
  background-color: var(--accent-blue);
  color: var(--white);
}

.cookie-learn:hover {
  background-color: #6db8d9;
}

.thank-you-message {
  text-align: center;
  padding: 4rem 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-message h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.myth-item {
  background-color: var(--light-gray);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-blue);
  border-radius: 4px;
}

.myth-item h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.myth-item .myth-content {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.myth-item.expanded .myth-content {
  display: block;
}

.soft-cta {
  text-align: center;
  padding: 2rem 0;
  margin: 3rem 0;
}

.soft-cta h2 {
  margin-bottom: 1.5rem;
}

.soft-cta p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

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

.mt-3 {
  margin-top: 2rem;
}

.mb-3 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .row.reverse {
    direction: ltr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
  }

  .cookie-content {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .cookie-buttons {
    justify-content: space-between;
    width: 100%;
  }

  .navbar {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.85rem;
  }
}
