/* style/gdpr.css */

/* Define custom properties for colors */
.page-gdpr {
  --gdpr-bg-color: #08160F;
  --gdpr-card-bg: #11271B;
  --gdpr-text-main: #F2FFF6;
  --gdpr-text-secondary: #A7D9B8;
  --gdpr-border-color: #2E7A4E;
  --gdpr-glow-color: #57E38D;
  --gdpr-gold-color: #F2C14E;
  --gdpr-divider-color: #1E3A2A;
  --gdpr-deep-green: #0A4B2C;
  --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);

  color: var(--gdpr-text-main); /* Default text color for the page */
  background-color: var(--gdpr-bg-color); /* Overall page background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Fixed header spacing - body already handles padding-top */
.page-gdpr__hero-section,
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__security-section,
.page-gdpr__faq-section,
.page-gdpr__contact-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
}

.page-gdpr__section-spacing {
  padding-top: 40px;
  padding-bottom: 40px;
}

.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; /* Image above content */
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3em); /* H1 font size with clamp */
  font-weight: 700;
  color: var(--gdpr-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--gdpr-button-gradient);
  color: var(--gdpr-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--gdpr-gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--gdpr-text-main);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1em;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__list li strong {
  color: var(--gdpr-text-main);
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Dark section styling */
.page-gdpr__dark-section {
  background-color: var(--gdpr-card-bg); /* Use card background for dark sections */
  color: var(--gdpr-text-main);
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--gdpr-gold-color);
}

.page-gdpr__dark-section .page-gdpr__text-block,
.page-gdpr__dark-section .page-gdpr__list li {
  color: var(--gdpr-text-secondary);
}

.page-gdpr__dark-section .page-gdpr__list li strong {
  color: var(--gdpr-text-main);
}

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

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--gdpr-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--gdpr-text-main);
  cursor: pointer;
  background-color: var(--gdpr-deep-green); /* Slightly different background for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--gdpr-border-color);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gdpr-gold-color);
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: var(--gdpr-text-secondary);
  line-height: 1.7;
  max-height: 0; /* For JS-based toggle if not using <details> */
  overflow: hidden; /* For JS-based toggle */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For JS-based toggle */
}

/* For <details> tag, the answer is shown by default when open */
.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 2000px;
  padding-top: 15px;
}

/* For custom JS toggle */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding-top: 15px;
}

.page-gdpr__faq-item a,
.page-gdpr__contact-section .page-gdpr__text-block a {
  color: var(--gdpr-gold-color);
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 20px;
  }

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

  .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;
    margin: 0 auto;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-section,
  .page-gdpr__introduction-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__security-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

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

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

  /* Ensure all containing elements for images/videos/buttons are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-item,
  .page-gdpr__faq-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Placeholder for video CSS - not used on this page, but included for completeness if it were */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}