/* style/gdpr.css */

/* Base Styles & Typography for GDPR Page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

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

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: #26A9E0; /* Primary brand color for headings */
  text-align: left;
}

.page-gdpr__section-title--center {
  text-align: center;
}

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

.page-gdpr p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-gdpr__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-gdpr__grid--reverse {
  direction: rtl; /* For text-image reverse layout */
}

.page-gdpr__grid--reverse > * {
  direction: ltr;
}

.page-gdpr__image-wrapper {
  text-align: center;
}

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

.page-gdpr a {
  color: #26A9E0; /* Primary brand color for links */
  text-decoration: none;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  padding: 60px 0;
  color: #ffffff;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.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;
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* For '-' symbol, or can change to 'x' */
}

.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: #e0e0e0;
}

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

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #e0e0e0;
}

/* CTA Section */
.page-gdpr__cta-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

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

.page-gdpr__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-gdpr__grid--reverse {
    direction: ltr; /* Reset direction on smaller screens */
  }
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 60px 0;
    min-height: 300px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__cta-button {
    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__content-section {
    padding: 40px 0;
  }

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

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

  .page-gdpr__grid {
    gap: 20px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-gdpr__faq-question h3 {
    font-size: 1.1em;
  }

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

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

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

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

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

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

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

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

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

/* Ensure content images are not small icons */
.page-gdpr img {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-gdpr img {
  filter: none;
}