/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Deep dark gray for light background */
  background-color: #FFFFFF;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #FFFFFF;
  background-color: #017439;
  overflow: hidden;
}

.page-gdpr__hero-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-gdpr__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-gdpr__list-item {
  font-size: 1.05em;
  margin-bottom: 10px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--full-width {
  width: 100%;
  max-width: 100%;
}

.page-gdpr__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-gdpr__contact-info {
  background-color: #f0fdf4; /* Light green background */
  border: 1px solid #d4edda;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 40px;
  color: #333333;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-item a {
  color: #017439;
  text-decoration: none;
}

.page-gdpr__contact-item a:hover {
  text-decoration: underline;
}

.page-gdpr__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed;
  border-bottom: 1px solid #d4edda;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #d4edda;
}

.page-gdpr__faq-title {
  margin: 0;
  font-size: 1.1em;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

.page-gdpr__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-gdpr__cta-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-gdpr__cta-description a:hover {
  color: #FFFFFF;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-gdpr__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFFFFF;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
  transform: translateY(-2px);
}

/* Links within content */
.page-gdpr a {
  color: #017439;
  text-decoration: none;
  font-weight: 500;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  .page-gdpr__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }

  .page-gdpr__cta-section {
    padding: 40px 15px;
  }

  .page-gdpr__cta-title {
    font-size: 2em;
  }

  .page-gdpr__cta-description {
    font-size: 1em;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}