/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so text is light */
  background-color: #121212; /* Ensure consistent background for main content */
}

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

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Use specific color for titles for contrast */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
}

.page-gdpr__btn-primary:hover {
  background-color: #e02020;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for section titles */
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(1, 116, 57, 0.3);
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-gdpr__link {
  color: #FFFF00; /* Highlight links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #e02020;
}

.page-gdpr__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-gdpr__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__text-block {
  flex: 1.5;
  min-width: 300px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439; /* Brand color for FAQ questions */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Ensure it expands enough */
  padding: 15px 20px;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__contact-info .page-gdpr__paragraph {
  margin-bottom: 10px;
}

.page-gdpr__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #017439; /* Brand color for CTA */
  color: #ffffff;
}

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

.page-gdpr__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-register {
  display: inline-block;
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register button font color */
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 12px 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: 2px solid #017439;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.4em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__cta-title {
    font-size: 2.2em;
  }
  .page-gdpr__image-text-layout {
    flex-direction: column;
  }
  .page-gdpr__image-text-layout--reverse {
    flex-direction: column;
  }
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-register,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__faq-question h3 {
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 15px;
  }
  .page-gdpr__contact-info {
    padding: 20px;
  }
  .page-gdpr__cta-section {
    padding: 40px 15px;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  
  /* Image responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-text-layout,
  .page-gdpr__text-block,
  .page-gdpr__content-image,
  .page-gdpr__faq-item,
  .page-gdpr__contact-info,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Content area images must be >= 200px */
  .page-gdpr__content-area img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}