/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css body */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1a1a1a;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-gdpr__hero-section .page-gdpr__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-gdpr__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-gdpr__text-link {
  color: #EA7C07; /* Login orange for links */
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #ff9933;
}

.page-gdpr__content-section {
  padding: 80px 0;
  background-color: #121212; /* Explicitly dark background */
  color: #f0f0f0;
}

.page-gdpr__commitment-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-gdpr__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__commitment-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-gdpr__commitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__commitment-heading {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__commitment-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__rights-section {
  padding: 80px 0;
  background-color: #121212;
  color: #f0f0f0;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__rights-item {
  background-color: #222222;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__rights-heading {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-gdpr__rights-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__protection-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-gdpr__protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__protection-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-gdpr__protection-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__protection-heading {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__protection-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__notification-section {
  padding: 80px 0;
  background-color: #121212;
  color: #f0f0f0;
}

.page-gdpr__notification-list {
  list-style: disc;
  padding-left: 40px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-gdpr__notification-item {
  margin-bottom: 15px;
}

.page-gdpr__contact-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-gdpr__contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-gdpr__contact-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.page-gdpr__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-section {
  padding: 80px 0;
  background-color: #121212;
  color: #f0f0f0;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #222222;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #26A9E0; /* Brand color for question */
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-heading {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Changed in JS */
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-gdpr__faq-text {
  margin: 0;
  padding-bottom: 10px;
  font-size: 1em;
}

.page-gdpr__cta-section {
  padding: 80px 0;
  background-color: #121212;
  color: #f0f0f0;
  text-align: center;
}

.page-gdpr__text-center {
  text-align: center;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login orange */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__btn-large {
  padding: 18px 35px;
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__hero-section .page-gdpr__container {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__hero-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    min-height: auto;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    padding-bottom: 40px;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__text-block, .page-gdpr__rights-text, .page-gdpr__commitment-text, .page-gdpr__protection-text, .page-gdpr__notification-item, .page-gdpr__contact-text, .page-gdpr__faq-text {
    font-size: 0.95em;
  }
  .page-gdpr__commitment-grid, .page-gdpr__protection-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__commitment-item, .page-gdpr__protection-item {
    padding: 20px;
  }
  .page-gdpr__rights-item, .page-gdpr__faq-item {
    padding: 15px;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-heading {
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Mobile specific overrides for images and containers */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__container,
  .page-gdpr__hero-section .page-gdpr__container,
  .page-gdpr__commitment-section .page-gdpr__container,
  .page-gdpr__rights-section .page-gdpr__container,
  .page-gdpr__protection-section .page-gdpr__container,
  .page-gdpr__notification-section .page-gdpr__container,
  .page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__faq-section .page-gdpr__container,
  .page-gdpr__cta-section .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-gdpr__commitment-item, .page-gdpr__protection-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Color contrast safety checks */
/* Body background is #121212 (dark), so text should be light */
.page-gdpr,
.page-gdpr p,
.page-gdpr li,
.page-gdpr__text-block {
  color: #f0f0f0; /* Light grey for readability on dark background */
}

.page-gdpr__section-title,
.page-gdpr__hero-title,
.page-gdpr__commitment-heading,
.page-gdpr__rights-heading,
.page-gdpr__protection-heading,
.page-gdpr__faq-heading {
  color: #26A9E0; /* Brand blue for headings */
}

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

.page-gdpr__faq-answer {
  background-color: #2a2a2a; /* Slightly lighter dark for contrast */
  color: #f0f0f0;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login orange for primary CTA */
  color: #ffffff;
}

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

.page-gdpr__text-link {
  color: #EA7C07; /* Login orange for links */
}
.page-gdpr__dark-bg {
  background-color: #121212;
  color: #f0f0f0;
}
.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}