/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main - light color for dark background */
  background-color: #08160F; /* Background color */
}

.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; /* Image above content */
  align-items: center;
  text-align: center;
  padding-bottom: 40px; /* Space below content before next section */
  background-color: #08160F; /* Ensure consistent background */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-gdpr__hero-content {
  position: relative; /* Not absolute, to flow below image */
  max-width: 800px;
  margin-top: 30px; /* Space between image and content */
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(1.8em, 4vw, 2.8em); /* Responsive H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

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

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Main color for text */
  border: 2px solid #2AD16F; /* Border color */
}

.page-gdpr__btn-secondary:hover {
  background-color: #2AD16F; /* Main color */
  color: #F2FFF6; /* Text Main */
  border-color: #2AD16F;
}

/* Section General */
.page-gdpr__section {
  padding: 60px 0;
  background-color: #08160F; /* Consistent dark background */
}

.page-gdpr__section-title {
  font-size: clamp(1.5em, 3.5vw, 2.5em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__subsection-title {
  font-size: clamp(1.2em, 2.5vw, 1.8em);
  color: #2AD16F; /* Use a brighter green for sub-titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-gdpr__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__principles-list .page-gdpr__card {
    margin-bottom: 0; /* Remove extra margin */
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__list-item {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: #2AD16F; /* Bright green checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 800px; /* Limit content images width */
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-gdpr__faq-item summary:hover {
  background-color: #11A84E; /* Main color on hover */
}

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

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

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

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

.page-gdpr__faq-answer {
  padding: 20px;
  border-top: 1px solid #2E7A4E; /* Border */
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Conclusion Section */
.page-gdpr__conclusion {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
  background-color: #08160F; /* Consistent dark background */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__main-title {
    font-size: 1.8em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
  }

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

  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 1em;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important; /* Enforce min size */
  }
  
  /* All containers that might hold images or other content */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Only add padding here if the container itself is the content holder, not just a wrapper */
  }

  /* Specific padding for sections in mobile to prevent content from touching edges */
  .page-gdpr__section > .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons in mobile must wrap if multiple or be full width */
  .page-gdpr__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure contrast for text on dark background */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: #F2FFF6; /* Main text color for headings */
}

.page-gdpr a {
  color: #2AD16F; /* Links in content */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #57E38D; /* Glow color on hover */
}

/* Override card text color if needed, but it should already be handled by .page-gdpr */
.page-gdpr__card p, .page-gdpr__card li {
  color: #A7D9B8; /* Secondary text color for card content */
}

/* Contrast fix classes (as per prompt) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}