:root {
  --primary: #4CAF50;
  --accent-yellow: #FFC107;
  --accent-blue: #2196F3;
  --accent-gray: #9E9E9E;
  --white: #FFFFFF;
  --black: #000000;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
}

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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
}

body {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

main {
  flex: 1;
}

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

header .navbar {
  padding: 1rem 0;
}

header .navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

header .nav-link {
  color: var(--dark-gray);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

header .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.hero-section {
  background: linear-gradient(rgba(76, 175, 80, 0.7), rgba(76, 175, 80, 0.7)), url('images/hero-fruits.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.section {
  padding: 60px 20px;
  border-bottom: 1px solid #E0E0E0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.section h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
  font-weight: 600;
}

.section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

.section ul, .section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

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

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

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

.card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

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

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

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

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

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #E0E0E0;
}

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

.disclaimer {
  background: #FFF9C4;
  border-left: 4px solid var(--accent-yellow);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.disclaimer p {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.cta-section {
  background: var(--light-gray);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem 0;
}

.cta-section h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.btn:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-blue);
}

.btn-secondary:hover {
  background-color: #1976D2;
}

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

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #D0D0D0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 2rem;
  margin-top: auto;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-yellow);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  text-align: center;
}

.educational-notice {
  background: #E8F5E9;
  border: 1px solid var(--primary);
  color: var(--dark-gray);
  padding: 1rem;
  border-radius: 4px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  text-align: center;
}

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

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

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

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

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

.cookie-banner-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

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

.btn-accept:hover {
  opacity: 0.9;
}

.btn-reject {
  background-color: #757575;
  color: var(--white);
}

.btn-reject:hover {
  opacity: 0.9;
}

.btn-more-info {
  background-color: transparent;
  color: var(--accent-yellow);
  text-decoration: underline;
}

.btn-more-info:hover {
  opacity: 0.9;
}

.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light-gray);
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--primary);
}

.faq-question:hover {
  background-color: #E8F5E9;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

.faq-answer.show {
  display: block;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle.open {
  transform: rotate(45deg);
}

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

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

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

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

  header .nav-link {
    margin-left: 1rem;
    font-size: 0.85rem;
  }

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

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

  .cookie-banner-buttons button {
    width: 100%;
  }

  .section {
    padding: 40px 15px;
  }

  .section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 15px;
    min-height: 300px;
  }

  .hero-section h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  header .navbar-brand {
    font-size: 1.2rem;
  }

  header .nav-link {
    margin-left: 0.5rem;
    font-size: 0.75rem;
  }

  .section h2 {
    font-size: 1.3rem;
  }

  .section h3 {
    font-size: 1.1rem;
  }

  form {
    padding: 1.5rem 1rem;
  }

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