:root {
  --primary: #C1D7C1;
  --accent1: #D39E8F;
  --accent2: #F8F5F1;
  --accent3: #36454F;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-dark: #e0e0e0;
}

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

html, body {
  font-family: 'Lato', 'Open Sans', sans-serif;
  color: var(--accent3);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--accent3);
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

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

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

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

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

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

.header-container {
  max-width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.logo a {
  color: var(--accent3);
  font-size: 1.5rem;
  font-weight: 700;
}

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

nav a {
  color: var(--accent3);
  font-size: 0.95rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent1);
  border-bottom: 2px solid var(--accent1);
}

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

section {
  padding: 4rem 0;
}

.container-wide {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  background: linear-gradient(rgba(193, 215, 193, 0.7), rgba(193, 215, 193, 0.7)), url('images/hero-banner.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  margin-top: 0;
}

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

.hero p {
  color: var(--accent2);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.section-intro {
  background-color: var(--accent2);
  padding: 3rem 2rem;
}

.section-intro p {
  font-size: 1.05rem;
  text-align: center;
  color: var(--accent3);
}

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

.two-column-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column-reverse > :first-child {
  order: 2;
}

.two-column-reverse > :last-child {
  order: 1;
}

.image-container {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(54, 69, 79, 0.15);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 350px;
  object-fit: cover;
}

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

.card {
  background-color: var(--accent2);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(54, 69, 79, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(54, 69, 79, 0.2);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

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

.benefits-list {
  list-style: none;
  margin: 1.5rem 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
}

.benefits-list li:before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--accent1);
  font-size: 1.2rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--accent3);
  border-color: var(--primary);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--accent1);
  border-color: var(--accent1);
}

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

.btn-text {
  background: none;
  border: none;
  color: var(--accent1);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0;
  transition: color 0.3s ease;
}

.btn-text:hover {
  color: var(--primary);
}

.faq-container {
  margin-top: 2rem;
}

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

.faq-question {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent1);
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(180deg);
}

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

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

.form-container {
  background-color: var(--accent2);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  margin: 2rem auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent3);
}

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

.form-group input:focus {
  outline: none;
  border-color: var(--accent1);
  box-shadow: 0 0 0 3px rgba(211, 158, 143, 0.1);
}

.form-disclaimer {
  background-color: rgba(211, 158, 143, 0.1);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--accent3);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent1);
}

.form-submit {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: var(--accent3);
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--accent1);
  border-color: var(--accent1);
  color: var(--white);
}

footer {
  background-color: var(--accent3);
  color: var(--accent2);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 85%;
  margin: 0 auto;
}

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

.footer-section h4 {
  color: var(--accent2);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  font-size: 0.9rem;
  color: var(--accent2);
  line-height: 1.8;
}

.footer-section a {
  display: inline-block;
  margin: 0.25rem 0;
  text-decoration: underline;
}

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

.footer-divider {
  border-top: 1px solid rgba(241, 245, 241, 0.2);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(241, 245, 241, 0.8);
}

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

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

.modal-content {
  background-color: var(--white);
  max-height: 90vh;
  overflow-y: auto;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent3);
}

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

.modal-title {
  margin-bottom: 1.5rem;
  color: var(--accent3);
}

.modal-body {
  color: var(--accent3);
  line-height: 1.6;
}

.modal-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.modal-body p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

.modal-body li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--accent3);
  color: var(--accent2);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1500;
  display: none;
}

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

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

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

.cookie-text a:hover {
  color: var(--accent1);
}

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

.cookie-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cookie-accept:hover {
  background-color: var(--accent1);
  color: var(--white);
}

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

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

.thanks-message {
  background-color: var(--primary);
  color: var(--accent3);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: center;
}

.thanks-message h3 {
  margin-top: 0;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .two-column,
  .two-column-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .two-column-reverse > :first-child {
    order: 0;
  }

  .two-column-reverse > :last-child {
    order: 0;
  }

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

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

  .hero {
    padding: 4rem 1rem;
  }

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

  .modal-content {
    width: 95%;
    max-height: 80vh;
  }

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.75rem 0;
  }

  .header-container {
    max-width: 95%;
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .container-wide {
    max-width: 95%;
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }

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

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

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

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
