:root {
  --primary-green: #7b9b6f;
  --light-green: #a8b89f;
  --dark-green: #5a7555;
  --lavender: #c9b5d4;
  --beige: #e8dcc8;
  --teal: #7ba8a3;
  --text-dark: #2d2d2d;
  --text-light: #f5f5f5;
  --border-color: #ddd;
}

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

html, body {
  height: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

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

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: bold;
}

header .logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

header nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

header nav a:hover {
  opacity: 0.8;
}

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

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

footer .footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

footer a {
  color: var(--beige);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
  display: block;
}

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

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

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

.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: var(--text-light);
  padding: 3rem 2rem;
  text-align: center;
  width: 100%;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  border-radius: 8px;
  max-height: 400px;
}

.section {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
  object-fit: cover;
}

.section:nth-child(even) .container {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.section:nth-child(even) .section-content {
  direction: ltr;
}

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

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

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

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

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

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

.card ul {
  list-style-position: inside;
  margin: 1rem 0;
  padding-left: 1rem;
}

.card li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.btn:hover {
  background-color: var(--dark-green);
  transform: scale(1.02);
}

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

.btn-secondary:hover {
  background-color: #6a9694;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(123, 155, 111, 0.1);
}

.disclaimer {
  background-color: var(--beige);
  border-left: 4px solid var(--primary-green);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.9rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: white;
}

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

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

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

ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background-color: #f9f9f9;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
}

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

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

.text-light {
  color: var(--light-green);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 99;
  display: none;
}

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

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

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

.cookie-text a {
  color: var(--primary-green);
  text-decoration: none;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

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

.btn-accept {
  background-color: var(--primary-green);
  color: var(--text-light);
}

.btn-accept:hover {
  background-color: var(--dark-green);
}

.btn-reject {
  background-color: var(--border-color);
  color: var(--text-dark);
}

.btn-reject:hover {
  background-color: #ccc;
}

.thank-you-container {
  text-align: center;
  padding: 4rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thank-you-container h1 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  header nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

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

  .section:nth-child(even) .container {
    direction: ltr;
  }

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

  .cookie-banner .container {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .btn-cookie {
    flex: 1;
    min-width: 120px;
  }

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

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  header .logo {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  footer {
    padding: 2rem 1rem;
  }

  footer .footer-content {
    font-size: 0.85rem;
  }

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