:root {
  --primary: #E0FFE0;
  --accent-1: #9ACD32;
  --accent-2: #6A5ACD;
  --accent-3: #FFD700;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --border: #e0e0e0;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
}

body {
  background-color: #fff;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.navbar-nav .nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-1);
}

footer {
  background-color: var(--light);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

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

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

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

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: #666;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

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

p {
  margin-bottom: 1rem;
}

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

.hero-section {
  position: relative;
  background-color: var(--primary);
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--dark);
  padding: 2rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  max-width: 600px;
}

.hero-content h1 {
  color: var(--dark);
  font-weight: 700;
}

section {
  padding: 4rem 0;
}

.section-intro {
  background-color: #fff;
}

.section-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

.food-groups-section {
  background-color: var(--primary);
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

table thead {
  background-color: var(--accent-2);
  color: #fff;
}

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

table tbody tr:hover {
  background-color: rgba(224,255,224,0.5);
}

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

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

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

.image-box {
  max-width: 500px;
  width: 100%;
  height: auto;
}

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

.content-box h2 {
  margin-top: 0;
}

.content-box p {
  font-size: 1rem;
  line-height: 1.7;
}

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

.card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--accent-2);
  margin-top: 0;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-1);
  color: var(--dark);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: #8ac830;
  transform: scale(1.02);
}

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

.disclaimer-section h3 {
  color: var(--accent-2);
  margin-top: 0;
}

.disclaimer-section p {
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .two-column, .two-column-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .hero-section {
    min-height: 70vh;
  }

  .container-wide {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }

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

  table {
    font-size: 0.85rem;
  }

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
  z-index: 999;
  padding: 1.5rem;
  display: none;
}

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

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

.cookie-banner-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

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

.cookie-btn-decline {
  background-color: var(--border);
  color: var(--dark);
}

.cookie-btn-decline:hover {
  background-color: #d0d0d0;
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--accent-2);
  text-decoration: underline;
}

.cookie-btn-learn:hover {
  color: var(--dark);
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}
