/* style/gdpr.css */

/* Base styles for the page-gdpr scope */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color, light for dark background */
  background-color: #08160F; /* Dark background from palette */
}

/* Section styling */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure dark background */
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 30px; /* Space between image and text */
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6; /* Light text for dark background */
  margin-bottom: 20px;
  max-width: 100%; /* Ensure it doesn't overflow */
}

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

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Light text for button */
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #22C768; /* Accent color for text */
  border: 2px solid #22C768; /* Border using accent color */
}

.page-gdpr__btn-secondary:hover {
  background-color: rgba(34, 199, 104, 0.1); /* Slight background on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-gdpr__dark-section {
  background-color: #11271B; /* Card BG color for dark sections */
  color: #F2FFF6;
}

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

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #22C768; /* Accent color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  line-height: 1.8;
}

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

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

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

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #11271B;
  color: #F2FFF6; /* Main text color */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #22C768; /* Accent color for toggle */
}

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

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

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-content {
    margin-top: 20px;
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to buttons container */
  }

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

  .page-gdpr__content-area {
    padding: 40px 15px; /* Adjust padding for mobile */
  }

  .page-gdpr__container {
    padding: 0; /* Remove container padding as section padding is used */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
  }

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

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

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

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

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

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  /* Image and Video container responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .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;
  }
}