/* style/gdpr.css */

/* Base styles for the page content, considering the dark body background */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Light text for dark background */
  background-color: var(--background-color, #08160F); /* Ensure consistent background */
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Section styling */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A); /* Subtle divider */
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--gold, #F2C14E); /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-gdpr__text-link {
  color: var(--glow, #57E38D); /* Link color */
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: var(--main-color, #11A84E);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--deep-green, #0A4B2C); /* Dark background for hero */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
  filter: none; /* No CSS filters on images */
}

.page-gdpr__hero-content {
  position: relative; /* Ensure content is above any background elements */
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  margin-top: 30px;
}

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

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

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D); /* Green text for secondary */
  border: 2px solid var(--glow, #57E38D);
}

.page-gdpr__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: var(--deep-green, #0A4B2C); /* Dark text on hover */
}

/* Image with Text Block */
.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__content-image {
  flex: 1;
  min-width: 300px; /* Minimum width for image */
  max-width: 50%; /* Max width for image in flex layout */
  height: auto;
  display: block;
  border-radius: 8px;
  filter: none; /* No CSS filters on images */
  object-fit: cover;
}

.page-gdpr__text-content {
  flex: 1;
  min-width: 300px; /* Minimum width for text */
}

/* Grid Layout for Cards */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__grid--rights {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-gdpr__card {
  background-color: var(--card-bg, #11271B); /* Dark card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
}

/* Contact Details */
.page-gdpr__contact-details {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  border: 1px solid var(--border, #2E7A4E);
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 10px;
}

.page-gdpr__contact-item strong {
  color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary, #A7D9B8);
}

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

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

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  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 25px 20px 25px;
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
}

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness (if any, though none in this page) */
  .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; /* body already handles --header-offset */
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add some internal padding */
    padding-right: 15px;
  }
  
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px; /* Space between stacked buttons */
    overflow: hidden !important;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 250px;
    margin-bottom: 30px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
  .page-gdpr__text-block,
  .page-gdpr__list li,
  .page-gdpr__card-text,
  .page-gdpr__contact-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }
  .page-gdpr__image-text-block,
  .page-gdpr__image-text-block--reverse {
    flex-direction: column; /* Stack image and text vertically */
    gap: 20px;
  }
  .page-gdpr__content-image {
    max-width: 100%; /* Image takes full width */
    min-width: unset;
  }
  .page-gdpr__text-content {
    min-width: unset;
  }
  .page-gdpr__grid {
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px 20px;
  }
  /* Ensure all containers have proper mobile padding/width */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 200px;
  }
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}