:root {
  --primary-color: #A8C686;
  --accent-peach: #F4A261;
  --accent-terra: #E76F51;
  --light-gray: #E0E0E0;
  --dark-text: #2C2C2C;
  --bg-white: #FFFFFF;
  --border-gray: #D4D4D4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.3px;
  margin-bottom: 1.5rem;
}

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

p {
  margin-bottom: 1rem;
  max-width: 75ch;
}

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

a:hover {
  color: var(--accent-terra);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  z-index: 1000;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 2rem;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 40px;
  width: 40px;
}

.navbar-nav .nav-link {
  color: var(--dark-text);
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

main {
  margin-top: 70px;
}

section {
  padding: 5rem 2rem;
}

.hero-section {
  background: linear-gradient(135deg, rgba(168, 198, 134, 0.05) 0%, rgba(244, 162, 97, 0.05) 100%);
  padding: 8rem 2rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--bg-white);
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--bg-white);
  max-width: 100%;
}

.container-lg {
  max-width: 1440px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  margin: 0 auto;
  font-size: 1.1rem;
  color: #666;
}

.alternating-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.alternating-section.reverse {
  flex-direction: row-reverse;
}

.alternating-section img {
  width: 45%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alternating-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.alternating-content {
  width: 50%;
}

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

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  max-width: 100%;
}

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

.btn:hover {
  background-color: var(--accent-terra);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.3);
}

.btn-secondary {
  background-color: var(--light-gray);
  color: var(--dark-text);
}

.btn-secondary:hover {
  background-color: var(--accent-peach);
  color: var(--bg-white);
}

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

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

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

table tr:hover {
  background-color: rgba(168, 198, 134, 0.1);
}

.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1.5rem;
}

.faq-item h3 {
  color: var(--primary-color);
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.faq-item h3:hover {
  color: var(--accent-terra);
}

.faq-content {
  color: #666;
  line-height: 1.8;
}

.disclaimer {
  background-color: rgba(232, 176, 97, 0.1);
  border-left: 4px solid var(--accent-peach);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer h3 {
  color: var(--accent-terra);
  margin-bottom: 0.5rem;
}

.disclaimer p {
  font-size: 0.95rem;
  color: #555;
  max-width: 100%;
}

form {
  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-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  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-color);
  box-shadow: 0 0 0 3px rgba(168, 198, 134, 0.1);
}

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

footer {
  background-color: var(--dark-text);
  color: var(--bg-white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1440px;
  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-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section a {
  color: #ccc;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-text);
  color: var(--bg-white);
  padding: 1.5rem 2rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-buttons button {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.cookie-accept:hover {
  background-color: var(--accent-terra);
  color: var(--bg-white);
}

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

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

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

.cookie-learn:hover {
  background-color: rgba(168, 198, 134, 0.1);
}

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

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

.thank-you-page p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 100%;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
}

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

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero-section {
    padding: 5rem 1.5rem;
  }

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

  .alternating-section {
    flex-direction: column;
    gap: 2rem;
  }

  .alternating-section.reverse {
    flex-direction: column;
  }

  .alternating-section img {
    width: 100%;
  }

  .alternating-content {
    width: 100%;
  }

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

  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }

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

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

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

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

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

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .hero-section {
    padding: 3rem 1rem;
  }

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

  main {
    margin-top: 60px;
  }

  p {
    font-size: 0.95rem;
  }

  table {
    font-size: 0.85rem;
  }

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