/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so use light text */
  background-color: #000000; /* Ensure main container matches body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  background-color: #26A9E0; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a decent height */
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #d16b06;
}

/* Content Section */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #000000; /* Match body background */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__content-area {
  background-color: #1a1a1a; /* Slightly lighter dark background for content blocks */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for headings */
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px;
}

.page-gdpr__text-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #0d0d0d; /* Darker background for text blocks */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-gdpr__text-block strong {
  color: #ffffff;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Lists */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-gdpr__list-item strong {
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  background-color: #0d0d0d;
  border: 1px solid #26A9E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #26A9E0;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Ensure content can expand */
  padding: 15px 20px;
}

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

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  padding: 30px;
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-top: 40px;
}

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

.page-gdpr__contact-info a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-info a:hover {
  text-decoration: underline;
}

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

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
    min-height: 300px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
  }

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

  .page-gdpr__content-area {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__text-block {
    padding: 15px;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure image containers adapt */
  .page-gdpr__content-section,
  .page-gdpr__text-block,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Buttons responsiveness */
  .page-gdpr__btn-primary {
    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;
  }

  /* If multiple buttons in a group, ensure they wrap */
  .page-gdpr__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color contrast fixes for specific elements if needed */
.page-gdpr__dark-bg {
  color: #ffffff;
  background: #26A9E0;
}

.page-gdpr__light-bg {
  color: #ffffff; /* Adjusted to white for dark body background */
  background: #000000; /* Adjusted to black for dark body background */
}

.page-gdpr__medium-bg {
  color: #ffffff; /* Adjusted to white for dark body background */
  background: #1a1a1a; /* Adjusted to dark for dark body background */
}

/* Ensure all text within .page-gdpr has sufficient contrast */
.page-gdpr p,
.page-gdpr li,
.page-gdpr__text-block,
.page-gdpr__faq-answer {
  color: #f0f0f0; /* Slightly off-white for better readability on dark backgrounds */
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: #ffffff; /* Headings are white by default, with brand color for main titles */
}

.page-gdpr__section-title {
  color: #26A9E0; /* Brand color for main section titles */
}

.page-gdpr__faq-question {
  color: #ffffff;
}

.page-gdpr__contact-info p {
  color: #f0f0f0;
}

.page-gdpr__contact-info a {
  color: #26A9E0;
}