/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  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;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__main-title {
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* Use clamp for responsive font-size, avoiding fixed large values */
  font-size: clamp(2em, 4vw, 3.5em);
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__content-area {
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  padding: 60px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__section-title {
  color: #26A9E0;
  font-size: 2.2em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__section-title:not(:first-child) {
  margin-top: 60px;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__text-block--highlight {
  background-color: #e6f7ff;
  padding: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  margin-top: 30px;
}

.page-gdpr__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-gdpr__data-collection-grid,
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
}

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

.page-gdpr__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f0faff;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #333333;
}

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

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

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #e6f7ff;
  border-bottom: 1px solid #d0e8f2;
  transition: background-color 0.3s ease;
  user-select: none; /* Prevent text selection on click */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-item summary {
  list-style: none;
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.7;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #333333;
}

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

/* Ensure FAQ toggle rotates when open */
.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7fb8;
  transform: translateY(-2px);
}

.page-gdpr__btn-primary--bottom {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  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, transform 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  border: 2px solid #26A9E0;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-gdpr__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Dark background for CTA */
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-gdpr__cta-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Dark background specific styles */
.page-gdpr__dark-bg {
  background-color: #26A9E0; /* Using brand color for hero */
  color: #ffffff;
}

/* Light background specific styles */
.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is small decorative padding */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__content-area {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-gdpr__section-title:not(:first-child) {
    margin-top: 40px;
  }

  .page-gdpr__data-collection-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

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

  .page-gdpr__faq-toggle {
    font-size: 1.2em;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width for buttons */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-gdpr__cta-section {
    padding: 60px 15px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Ensure padding is included in width */
  }

  /* Mobile video responsiveness (if any, though not present here) */
  .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;
  }

  /* Ensure all content containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Consider adding horizontal padding to these if they don't have it */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Remove margin-bottom for the last button in a stacked group */
  .page-gdpr__cta-buttons .page-gdpr__btn-primary:last-child,
  .page-gdpr__cta-buttons .page-gdpr__btn-secondary:last-child {
    margin-bottom: 0;
  }
}