:root {
  --primary-blue: #87CEEB;
  --accent-green: #6B8E23;
  --accent-beige: #D4B896;
  --accent-orange: #FF9966;
  --text-dark: #2C3E50;
  --text-light: #ECF0F1;
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
}

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

html, body {
  height: 100%;
  font-family: 'Roboto', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

body {
  background-color: var(--bg-light);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-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;
  max-width: 95%;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.logo:hover {
  color: var(--accent-green);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

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

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

main {
  margin-top: 80px;
  padding: 0;
}

section {
  padding: 5rem 2rem;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

section:nth-child(even) {
  flex-direction: row-reverse;
}

section img {
  max-width: 100%;
  width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

section .content {
  flex: 1;
  min-width: 300px;
}

section h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}

section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}

section h3 {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent-green);
  margin: 1.5rem 0 0.75rem 0;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}

section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  text-align: justify;
}

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

section ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}

section ul li:before {
  content: "●";
  color: var(--accent-green);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section table th,
section table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #E0E0E0;
}

section table th {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  font-weight: bold;
}

section table tr:hover {
  background-color: rgba(135, 206, 235, 0.1);
}

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(135, 206, 235, 0.7) 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.hero img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.macro-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.macro-card p {
  font-size: 0.95rem;
  text-align: left;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-green);
  color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: var(--accent-orange);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--bg-white);
}

footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}

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

.footer-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(236, 240, 241, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(236, 240, 241, 0.8);
}

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

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

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

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

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

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

.cookie-accept:hover {
  background-color: var(--accent-orange);
}

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

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

.cookie-learn {
  background-color: var(--primary-blue);
  color: var(--text-dark);
}

.cookie-learn:hover {
  background-color: var(--accent-beige);
}

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

.info-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-green);
}

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

.info-card h3 {
  color: var(--accent-green);
  margin-top: 0;
  margin-bottom: 1rem;
}

.info-card p {
  text-align: left;
  margin: 0;
}

.highlight {
  background-color: rgba(135, 206, 235, 0.15);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
  margin: 2rem 0;
}

.highlight strong {
  color: var(--accent-green);
}

@media (max-width: 768px) {
  section {
    padding: 3rem 1.5rem;
    flex-direction: column !important;
    gap: 2rem;
  }

  section:nth-child(even) {
    flex-direction: column;
  }

  section img {
    width: 100%;
  }

  section h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

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

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

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

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

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

@media (max-width: 480px) {
  section {
    padding: 2rem 1rem;
  }

  section h1 {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 1.2rem;
  }

  section p {
    font-size: 0.95rem;
  }

  nav ul {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

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

  .cta-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

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

  .cookie-btn {
    width: 100%;
  }
}
