/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #017439;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-text-dark: #333333;
  --page-gdpr-text-light: #ffffff;
  --page-gdpr-button-register-bg: #C30808;
  --page-gdpr-button-login-bg: #C30808;
  --page-gdpr-button-text-yellow: #FFFF00;
  --page-gdpr-background-light: #FFFFFF;
  --page-gdpr-background-dark: #111;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-light); /* Body background is dark (#111), so main text is light */
  background-color: var(--page-gdpr-background-dark); /* Ensure consistency with body background */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  background-color: var(--page-gdpr-primary-color);
  overflow: hidden;
  color: var(--page-gdpr-text-light);
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-gdpr__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: var(--page-gdpr-button-register-bg); /* Custom color for register/login */
  color: var(--page-gdpr-button-text-yellow); /* Custom color for register/login font */
  border: 2px solid var(--page-gdpr-button-register-bg);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--page-gdpr-button-register-bg), 10%);
  border-color: darken(var(--page-gdpr-button-register-bg), 10%);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-button-text-yellow); /* Custom color for register/login font */
  border: 2px solid var(--page-gdpr-button-login-bg); /* Custom color for register/login */
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-button-login-bg);
  color: var(--page-gdpr-text-light);
}

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

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-background-dark);
  color: var(--page-gdpr-text-light);
}

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-background-light);
  color: var(--page-gdpr-text-dark);
}

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

.page-gdpr__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: inherit;
}

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

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

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

.page-gdpr__link {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: darken(var(--page-gdpr-primary-color), 10%);
}

.page-gdpr__contact-dpo {
  padding: 60px 0;
}

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

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-light);
}

.page-gdpr__light-bg .page-gdpr__faq-item {
  background-color: #f9f9f9;
  color: var(--page-gdpr-text-dark);
  border: 1px solid #e0e0e0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__light-bg .page-gdpr__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__light-bg .page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #ccc;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
}

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

.page-gdpr__outro-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-light);
  position: relative;
  overflow: hidden;
}

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

.page-gdpr__outro-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__intro-text {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-area,
  .page-gdpr__contact-dpo,
  .page-gdpr__faq-section,
  .page-gdpr__outro-section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.4em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__video-section {
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.6em;
  }
  .page-gdpr__intro-text {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.2em;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
}

/* Color Contrast Fixes (if needed, though design aims for compliance) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}