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

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

:root {
  --primary-bg: #F8F8F8;
  --accent-primary: #2E86C1;
  --accent-green: #58D68D;
  --accent-orange: #FFB347;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --border-light: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

header .navbar {
  padding: 1rem 0;
}

header .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-primary);
  text-decoration: none;
}

header .nav-link {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
  text-decoration: none;
}

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

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-orange);
}

footer p {
  color: var(--white);
  font-size: 0.85rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-section {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.hero-section img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

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

.disclaimer-section p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

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

.card-title {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.macronutrients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.two-column-layout img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.two-column-text h3 {
  color: var(--accent-primary);
}

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

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

table thead {
  background-color: var(--accent-primary);
  color: var(--white);
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

table tbody tr:hover {
  background-color: rgba(46, 134, 193, 0.05);
}

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

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

.accordion-header:hover {
  background-color: rgba(46, 134, 193, 0.05);
  color: var(--accent-primary);
}

.accordion-header.active {
  background-color: var(--accent-primary);
  color: var(--white);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  background-color: rgba(46, 134, 193, 0.02);
}

.accordion-content.show {
  max-height: 500px;
  padding: 1.5rem;
}

.accordion-content p {
  margin: 0;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.food-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.food-card:hover {
  transform: scale(1.03);
}

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

.infographic-section {
  background: linear-gradient(135deg, rgba(46, 134, 193, 0.1) 0%, rgba(88, 214, 141, 0.1) 100%);
  padding: 3rem 2rem;
  border-radius: 6px;
  margin: 3rem 0;
}

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

.infographic-content img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.infographic-list {
  list-style: none;
}

.infographic-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
}

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

.myth-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.myth-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 6px;
  border: 2px solid var(--border-light);
}

.myth-card.myth {
  border-left: 4px solid #ff6b6b;
}

.myth-card.fact {
  border-left: 4px solid var(--accent-green);
}

.myth-label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.myth-card.myth .myth-label {
  color: #ff6b6b;
}

.myth-card.fact .myth-label {
  color: var(--accent-green);
}

.principles-list {
  list-style: decimal;
  padding-left: 2rem;
}

.principles-list li {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.principles-list strong {
  color: var(--text-dark);
}

.cta-section {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-green) 100%);
  color: var(--white);
  border-radius: 6px;
  margin: 3rem 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background-color: var(--white);
  color: var(--accent-primary);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.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.8rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.1);
}

.form-disclaimer {
  background-color: rgba(46, 134, 193, 0.05);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  border-left: 4px solid var(--accent-primary);
}

.submit-button {
  background-color: var(--accent-primary);
  color: var(--white);
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #1e5fa1;
}

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

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

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

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

.cookie-accept:hover {
  background-color: #44c970;
}

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

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

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

.cookie-learn:hover {
  background-color: #1e5fa1;
}

.success-message {
  background-color: rgba(88, 214, 141, 0.1);
  border: 1px solid var(--accent-green);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  color: var(--text-dark);
}

.success-message h2 {
  color: var(--accent-green);
}

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

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .two-column-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero-section {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

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

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

  .myth-section {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0;
  }

  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.6rem;
  }
}
