/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: 60px 0;
  padding-top: 10px; /* Small top padding for first section, body handles header offset */
  background-color: #0a0a0a; /* Ensure dark background for the section */
  text-align: center;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping on desktop */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow container */
}

.page-gdpr__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Content Area */
.page-gdpr__section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background for sections */
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
}

.page-gdpr__sub-section-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #1e87b7;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  max-width: 800px; /* Constrain content images */
  border-radius: 8px;
  object-fit: cover;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #26A9E0;
  font-size: 1.1em;
  list-style: none; /* Remove default summary marker */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #ffffff;
}

.page-gdpr__faq-answer {
  padding-top: 15px;
  color: #f0f0f0;
}

/* No CSS filters for images */
.page-gdpr img {
  filter: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-gdpr__hero-image {
    max-width: 1000px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section,
  .page-gdpr__section {
    padding: 30px 0;
  }

  .page-gdpr__container {
    padding: 0 15px; /* Add padding for mobile containers */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
  }

  .page-gdpr__sub-section-title {
    font-size: clamp(1.2em, 4vw, 1.6em);
  }

  .page-gdpr__description,
  .page-gdpr p,
  .page-gdpr li,
  .page-gdpr__faq-answer {
    font-size: 15px;
  }

  /* Buttons mobile adaptation */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    align-items: stretch; /* Stretch buttons to full width */
    padding: 0 15px; /* Add padding to button container */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
    text-align: center;
    padding: 12px 20px;
  }

  /* Button containers mobile adaptation */
  .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-wrap: wrap !important;
    gap: 10px;
  }

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

  /* All containers with images/content should be responsive */
  .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;
  }
  
  /* FAQ item responsive padding */
  .page-gdpr__faq-item {
    padding: 15px;
  }

  /* Ensure video section top padding is small, not header offset */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  /* Video responsive rules (if any video were present) */
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}