/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-gdpr__hero-section {
  position: relative;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 10;
  position: relative; /* Ensure content is above overlay */
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__lead-paragraph {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-gdpr__section {
  padding: 60px 20px;
}

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

.page-gdpr__text-block {
  padding: 20px 0;
}

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

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Color contrast management based on body background #000000 */
/* Sections with light background */
.page-gdpr__introduction,
.page-gdpr__principles,
.page-gdpr__your-rights,
.page-gdpr__data-sharing,
.page-gdpr__cookies-policy,
.page-gdpr__contact-us,
.page-gdpr__conclusion {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__introduction .page-gdpr__section-title,
.page-gdpr__principles .page-gdpr__section-title,
.page-gdpr__your-rights .page-gdpr__section-title,
.page-gdpr__data-sharing .page-gdpr__section-title,
.page-gdpr__cookies-policy .page-gdpr__section-title,
.page-gdpr__contact-us .page-gdpr__section-title,
.page-gdpr__conclusion .page-gdpr__section-title {
  color: #017439; /* Brand primary color for titles on light background */
}

.page-gdpr__introduction p,
.page-gdpr__principles p,
.page-gdpr__your-rights p,
.page-gdpr__data-sharing p,
.page-gdpr__cookies-policy p,
.page-gdpr__contact-us p,
.page-gdpr__conclusion p {
  color: #333333;
}

.page-gdpr__introduction .page-gdpr__list li,
.page-gdpr__principles .page-gdpr__list li,
.page-gdpr__your-rights .page-gdpr__list li,
.page-gdpr__data-sharing .page-gdpr__list li,
.page-gdpr__cookies-policy .page-gdpr__list li,
.page-gdpr__contact-us .page-gdpr__list li,
.page-gdpr__conclusion .page-gdpr__list li {
  color: #333333;
}

.page-gdpr__contact-list li {
  color: #333333;
}

/* Sections with dark background */
.page-gdpr__what-is-gdpr,
.page-gdpr__data-collection,
.page-gdpr__security,
.page-gdpr__data-retention,
.page-gdpr__faq-section,
.page-gdpr__updates {
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__what-is-gdpr .page-gdpr__section-title,
.page-gdpr__data-collection .page-gdpr__section-title,
.page-gdpr__security .page-gdpr__section-title,
.page-gdpr__data-retention .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-title,
.page-gdpr__updates .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__what-is-gdpr p,
.page-gdpr__data-collection p,
.page-gdpr__security p,
.page-gdpr__data-retention p,
.page-gdpr__faq-section p,
.page-gdpr__updates p {
  color: #ffffff;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__link {
  color: #017439; /* Brand primary color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #005f2c;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

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

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

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

.page-gdpr__btn-login:hover {
  background-color: #a10707;
  border-color: #a10707;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly darker for question */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
}