/* style/gdpr.css */

.page-gdpr {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure spacing for fixed header */
}

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

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

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-gdpr__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-gdpr__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-gdpr__content-area,
.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #333333;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.page-gdpr__faq-section {
  padding: 60px 0;
}

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

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

.page-gdpr__faq-item summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #017439;
  position: relative;
  list-style: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-qtext {
  padding-right: 30px; /* Space for the toggle icon */
}

.page-gdpr__faq-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}

.page-gdpr__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__hero-description {
    font-size: 1.2em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr__btn-register,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-area,
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }
  .page-gdpr__image {
    margin: 30px auto;
  }
  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr__faq-toggle {
    right: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-description {
    font-size: 1.1em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-gdpr__faq-section .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__faq-list {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}