/* style/gdpr.css */

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

/* Smart Contrast Assurance - Assuming body background is dark */
.page-gdpr__dark-bg {
  color: #F2FFF6; /* Light text on dark background */
  background-color: #08160F;
}

.page-gdpr__light-bg {
  color: #333333; /* Dark text on light background */
  background-color: #ffffff;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #F2FFF6;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__subtitle {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #ffffff; /* Explicitly white background for content */
  color: #333333; /* Dark text for white background */
}

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

.page-gdpr__section-title {
  color: #13994A; /* Deep Green for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.8em;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 15px;
  color: #333333;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-gdpr__list-item strong {
  color: #11A84E;
}

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

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.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: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #57E38D;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #F2FFF6; /* Card background */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #11A84E;
  background-color: #E6F7ED;
}

.page-gdpr__faq-question:hover {
  background-color: #D9F0E2;
}

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

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

.page-gdpr__faq-answer {
  padding: 15px 20px;
  font-size: 0.95em;
  color: #333333;
  background-color: #F2FFF6;
}

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

.page-gdpr__faq-item a {
  color: #11A84E;
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 15px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-gdpr__subtitle {
    font-size: 1em;
  }

  .page-gdpr__content-area {
    padding: 20px 15px;
  }

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

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__cta-wrapper,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

@media (min-width: 769px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-content {
    padding: 40px;
  }
  .page-gdpr__hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(8, 22, 15, 0.6), rgba(8, 22, 15, 0.8));
  }
}

/* Ensure links have proper contrast on light background */
.page-gdpr__content-area a {
  color: #11A84E; /* Brand green for links */
  text-decoration: underline;
}

.page-gdpr__content-area a:hover {
  color: #0A4B2C;
}