/* style/gdpr.css */

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* For image positioning */
  min-height: 500px;
  background-color: #1a1a2e; /* Dark background for hero */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Make background image subtle */
  filter: none; /* Ensure no CSS filter changes original image color */
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1; /* Ensure content is above hero image */
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  color: #ffffff; /* White text for high contrast */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary Button */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
  background-color: #1f8ac7; /* Slightly darker on hover */
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background for content */
  color: #ffffff; /* Light text */
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand primary color for section titles */
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  color: #f0f0f0;
  font-size: 1.05em;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__list-item strong {
  color: #ffffff; /* Highlight strong text */
}

.page-gdpr__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no CSS filter changes original image color */
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-gdpr__link {
  color: #26A9E0; /* Brand primary color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #1f8ac7;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08); /* Darker background for question header */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-answer {
  padding: 0 25px 18px;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-gdpr__hero-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }
  .page-gdpr__list {
    margin-left: 20px;
  }
  .page-gdpr__image {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* For any general content container that might hold images */
  .page-gdpr__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
}

/* Ensure no CSS filter changes original image color for all images within .page-gdpr */
.page-gdpr img {
  filter: none !important;
}

/* Ensure content area images meet min size requirements for all viewports, not just mobile */
/* This is a general rule, but mobile media query ensures it's enforced with !important */
.page-gdpr__image,
.page-gdpr img:not(.page-gdpr__hero-image) { /* Exclude hero image from this specific min-size rule if it acts differently */
  min-width: 200px;
  min-height: 200px;
}
/* Ensure all images are responsive by default */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* For buttons and their containers */
.page-gdpr__cta-buttons,
.page-gdpr__button-group,
.page-gdpr__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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; padding-right: 15px;  already handled by container/hero-section padding */
  }
  .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;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}