/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Body background is dark (#000000), so text must be light */
  background-color: #000000; /* Ensure main content area matches body background */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 80%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  color: #ffffff;
}

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

.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-gdpr__text-block {
  margin-bottom: 40px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00; /* Using registration/login font color for sub-titles for vibrancy */
}

.page-gdpr p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #ffffff;
}

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

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

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Using registration/login font color for card titles */
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

.page-gdpr__faq-heading {
  margin-top: 60px;
  text-align: center;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.page-gdpr__final-text {
  font-size: 1.2em;
  line-height: 1.8;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

  .page-gdpr__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }

  .page-gdpr__hero-content {
    max-width: 90%;
    padding: 15px;
  }

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

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

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
  }

  .page-gdpr p {
    font-size: 1em;
  }

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-gdpr__content-image {
    margin: 30px auto;
  }

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

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

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-section,
  .page-gdpr__hero-container,
  .page-gdpr__content-area,
  .page-gdpr__container,
  .page-gdpr__grid-layout,
  .page-gdpr__card,
  .page-gdpr__cta-buttons,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-gdpr__final-text {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__hero-image {
    height: 300px;
  }
}