/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Assuming body background is black from 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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden; /* Ensure image doesn't overflow */
  padding-top: var(--header-offset, 120px); /* Desktop padding for header offset */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly dim the background image */
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
}

/* Buttons */
.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: 2px solid #26A9E0;
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb0;
}

/* Section styles */
.page-gdpr__section {
  padding: 80px 0;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than pure black for contrast */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
  color: inherit;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

.page-gdpr__list-item strong {
  color: inherit;
}

/* Images within content */
.page-gdpr__image-fullwidth {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for white cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 200px; /* Minimum size for cards, ensuring image size is also handled */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0; /* Brand primary color for card titles */
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-item strong {
  color: inherit;
}

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

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

.page-gdpr__faq-item.active {
  background-color: #1a1a1a; /* Slightly different background when active */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #222222; /* Slightly lighter dark for question */
  color: #ffffff;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

/* Details element specific styling for FAQ */
.page-gdpr__faq-item details > summary {
  list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item details > summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 2000px; /* Allow content to expand */
    padding-top: 15px;
}

/* Links */
.page-gdpr a {
  color: #26A9E0; /* Brand primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #1a7fb0; /* Slightly darker on hover */
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding for header offset */
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

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

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

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

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-text,
  .page-gdpr__contact-item,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__cards-grid {
    grid-template-columns: 1fr;
  }

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

  /* All containers with images must be responsive */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-fullwidth {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Button responsive adaptations */
  .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;
    text-align: center; /* Center text in full-width buttons */
  }

  .page-gdpr__btn-container,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px; /* Space between buttons if they wrap */
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

/* Ensure contrast for specific elements if default is not enough */
/* For light-bg sections, titles and paragraphs are dark, which is good. */
/* For dark-bg sections, titles and paragraphs are light, which is good. */

/* Ensure images do not have filters */
.page-gdpr img {
  filter: none; /* Explicitly remove any filter */
}