/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color */
}

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

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #08160F;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__intro-section, .page-gdpr__rights-section, .page-gdpr__contact-dpo-section, .page-gdpr__cta-final {
  padding: 60px 0;
  background-color: #F2FFF6; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__intro-section p, .page-gdpr__rights-section p, .page-gdpr__contact-dpo-section p, .page-gdpr__cta-final p {
  color: #333333;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-gdpr__principles-section, .page-gdpr__implementation-section, .page-gdpr__security-section, .page-gdpr__request-process-section, .page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Dark background */
  color: #F2FFF6; /* Light text */
}

.page-gdpr__principles-section p, .page-gdpr__implementation-section p, .page-gdpr__security-section p, .page-gdpr__request-process-section p, .page-gdpr__faq-section p {
  color: #A7D9B8;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-gdpr__list, .page-gdpr__ordered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-gdpr__list-item, .page-gdpr__ordered-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-gdpr__list-item p, .page-gdpr__ordered-list li p {
  color: #A7D9B8;
}

.page-gdpr__content-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 40px auto 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-gdpr__contact-info {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  color: #333333;
}

.page-gdpr__contact-button {
  margin-top: 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-gdpr__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  border-bottom: 1px solid #2E7A4E;
}

.page-gdpr__faq-question::marker {
  display: none;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8;
  background-color: #08160F;
}

.page-gdpr__faq-answer p {
  color: #A7D9B8;
  margin-bottom: 0;
}

.page-gdpr__cta-final {
  text-align: center;
}

.page-gdpr__register-button {
  margin-top: 30px;
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-gdpr__intro-section, .page-gdpr__rights-section, .page-gdpr__contact-dpo-section, .page-gdpr__cta-final,
  .page-gdpr__principles-section, .page-gdpr__implementation-section, .page-gdpr__security-section, .page-gdpr__request-process-section, .page-gdpr__faq-section {
    padding: 40px 0;
  }

  .page-gdpr__list-item, .page-gdpr__ordered-list li {
    padding: 20px;
  }

  .page-gdpr__list-title {
    font-size: 1.2em;
  }

  .page-gdpr__cta-button,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

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

/* Ensure images do not use filter property */
.page-gdpr img {
  filter: none !important;
}