/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--bg-color); /* #08160F from shared, ensures contrast with text-main */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  box-sizing: border-box;
  background-color: var(--deep-green); /* Use Deep Green for hero section background */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  /* No fixed font-size for H1, relying on font-weight, line-height, etc. */
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-gdpr__btn-secondary:hover {
  background: var(--border); /* #2E7A4E */
  color: var(--text-main); /* #F2FFF6 */
  transform: translateY(-2px);
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-gdpr__dark-section {
  background-color: var(--card-bg); /* #11271B */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__subsection-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 15px;
}

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

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow); /* #57E38D */
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.6;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--bg-color); /* #08160F */
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--divider); /* #1E3A2A */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main); /* #F2FFF6 */
  list-style: none; /* Hide default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for WebKit browsers */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow); /* #57E38D */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 0.95em;
}

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

  .page-gdpr__container,
  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em; /* Adjust for mobile, but avoid fixed large values */
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__subsection-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
    box-sizing: border-box !important;
  }

  .page-gdpr__list-item {
    padding-left: 25px;
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9em;
  }
  
  /* Ensure all containers with images/videos/buttons are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__your-rights-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  /* Specific for hero-section to override potential container padding */
  .page-gdpr__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}