:root {
  --primary: #4CAF50;
  --accent-1: #8BC34A;
  --accent-2: #FFC107;
  --accent-3: #2196F3;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --border-gray: #E0E0E0;
}

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

html, body {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Lato', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

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

a:hover {
  color: var(--accent-1);
  text-decoration: underline;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.logo span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
}

nav a {
  color: var(--dark-gray);
  margin: 0 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  background: linear-gradient(rgba(76, 175, 80, 0.4), rgba(76, 175, 80, 0.4)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--white);
  font-size: 1.3rem;
  max-width: 700px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
  padding: 5rem 2rem;
}

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

section:nth-child(odd) {
  background-color: var(--white);
}

section:nth-child(even) {
  background-color: var(--light-gray);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.two-column:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.two-column:nth-child(even) .text-content {
  order: 2;
}

.two-column:nth-child(even) .image-content {
  order: 1;
}

.text-content {
  padding: 2rem 0;
}

.image-content {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-content img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-content:hover img {
  transform: scale(1.05);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 2rem;
}

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

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-gray);
}

/* FAQ Section */
.faq-item {
  background-color: var(--white);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.faq-item h4:hover {
  color: var(--accent-1);
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid var(--primary);
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-1);
  border-color: var(--accent-1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-gray);
  border-radius: 6px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-disclaimer {
  background-color: #E8F5E9;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}

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

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

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

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

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  max-width: 700px;
  width: 90%;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin-bottom: 0;
}

.close-modal {
  font-size: 2rem;
  font-weight: 300;
  color: var(--dark-gray);
  cursor: pointer;
  transition: color 0.3s ease;
  border: none;
  background: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--primary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--primary);
  padding: 1.5rem 2rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

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

.cookie-message {
  font-size: 0.9rem;
  color: var(--dark-gray);
  max-width: 900px;
}

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

.cookie-buttons button {
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--primary);
  background-color: var(--primary);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: var(--accent-1);
  border-color: var(--accent-1);
}

.cookie-buttons .reject-btn {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cookie-buttons .reject-btn:hover {
  background-color: var(--light-gray);
}

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

.cookie-buttons .learn-btn:hover {
  background-color: var(--light-gray);
}

/* Success Message */
.success-message {
  display: none;
  background-color: #E8F5E9;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  animation: slideUp 0.3s ease;
}

.success-message.show {
  display: block;
}

.success-message h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Content Warning Banner */
.content-warning {
  background-color: #FFF3E0;
  border-left: 4px solid var(--accent-2);
  padding: 1.5rem;
  margin-bottom: 3rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.content-warning strong {
  color: var(--primary);
}

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

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    margin-top: 60px;
    padding: 4rem 1rem;
    min-height: 400px;
  }

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

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

  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

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

  nav a {
    margin: 0 0.8rem;
    font-size: 0.85rem;
  }

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

  .two-column:nth-child(even) .text-content,
  .two-column:nth-child(even) .image-content {
    order: auto;
  }

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

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

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

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

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

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

  h2 {
    font-size: 1.2rem;
  }

  section {
    padding: 2rem 1rem;
  }

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

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

  nav a {
    margin: 0 0.5rem;
    font-size: 0.75rem;
  }

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

  .logo img {
    width: 40px;
    height: 40px;
  }
}
