:root {
  --primary: #2E8B57;
  --accent1: #F0A500;
  --accent2: #0E7C7B;
  --accent3: #C0C0C0;
  --white: #FFFFFF;
  --dark: #1a1a1a;
  --light-gray: #f5f5f5;
  --border: #e0e0e0;
}

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

html, body {
  font-family: 'Open Sans', 'Roboto', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  padding-top: 70px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-balance: true;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

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

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

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

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

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

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

section {
  padding: 4rem 0;
}

.hero {
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(14, 124, 123, 0.05) 100%);
  padding: 5rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.pillar-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

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

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

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

.nutrient-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nutrient-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(46, 139, 87, 0.15);
  transform: translateY(-5px);
}

.nutrient-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.nutrient-desc {
  font-size: 0.9rem;
  color: #666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nutrient-card:hover .nutrient-desc {
  max-height: 200px;
}

.section-title {
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
}

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

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.two-column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.bullet-list {
  list-style: none;
  margin: 2rem 0;
}

.bullet-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  margin-bottom: 0.5rem;
}

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

.table-responsive {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.table {
  margin: 0;
  background: var(--white);
}

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

.table th {
  padding: 1rem;
  font-weight: 600;
  border: none;
}

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

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

.accordion {
  margin: 2rem 0;
}

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

.accordion-header button {
  background: var(--light-gray);
  border: none;
  width: 100%;
  text-align: left;
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
}

.accordion-header button:hover {
  background-color: rgba(46, 139, 87, 0.1);
  color: var(--primary);
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
  display: none;
}

.accordion-body.show {
  display: block;
}

.btn-explore {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-explore:hover {
  background-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(46, 139, 87, 0.3);
}

.btn-explore:active {
  transform: translateY(0);
}

.disclaimer {
  background-color: rgba(240, 165, 0, 0.1);
  border-left: 4px solid var(--accent1);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
}

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

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

.gallery-item {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item-text {
  padding: 1.5rem;
}

.gallery-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.gallery-item p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.form-disclaimer {
  background: rgba(14, 124, 123, 0.1);
  border: 1px solid var(--accent2);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #333;
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 600px;
  border: 1px solid var(--border);
}

.contact-info p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.contact-info strong {
  color: var(--primary);
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(46, 139, 87, 0.95);
  color: var(--white);
  padding: 1.5rem;
  z-index: 999;
  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: 2rem;
  flex-wrap: wrap;
}

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

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

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

.cookie-btn-accept {
  background-color: var(--accent1);
  color: var(--dark);
}

.cookie-btn-accept:hover {
  background-color: #e6920a;
}

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

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

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

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

.educational-badge {
  display: inline-block;
  background: rgba(46, 139, 87, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #666;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

  .hero-content {
    gap: 1.5rem;
  }

  section {
    padding: 2.5rem 0;
  }

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

  .cookie-buttons {
    justify-content: center;
  }

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

  .nutrients-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

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

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

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

  h2 {
    font-size: 1.2rem;
  }

  body {
    padding-top: 60px;
  }

  footer {
    padding: 2rem 0 0.5rem;
  }

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

  .cookie-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }
}
