/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  /* Body background is #1a1a1a (dark), so main text should be light */
  color: #ffffff; /* Default text color for dark sections */
  background-color: #1a1a1a; /* 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;
  padding: 80px 20px;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for emphasis, good contrast on green */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  color: #FFFF00; /* Yellow for main titles */
}

.page-gdpr__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  color: #f0f0f0;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for sub-titles */
}

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

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title {
  color: #017439; /* Brand green on light background */
}

.page-gdpr__light-bg .page-gdpr__section-description,
.page-gdpr__light-bg .page-gdpr__text-block p,
.page-gdpr__light-bg .page-gdpr__card p {
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff; /* Light text on dark background */
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

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

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

.page-gdpr__light-bg .page-gdpr__card {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for card titles */
}

.page-gdpr__light-bg .page-gdpr__card-title {
  color: #017439; /* Brand green on light card */
}

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

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: #C30808; /* Red for primary action */
  color: #FFFF00; /* Yellow text on red, contrast 11.10:1 */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #017439; /* Brand green text on white */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  margin-top: 20px;
}

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

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__cta-buttons .page-gdpr__btn-primary {
  margin: 0 10px;
}

.page-gdpr__contact-info {
  font-size: 1.1em;
  margin-top: 20px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Brand primary color for FAQ */
  color: #ffffff;
}

.page-gdpr__faq-section .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-description {
  color: #ffffff;
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00; /* Yellow for FAQ questions */
  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-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

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

.page-gdpr__commitment-section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__commitment-section p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 1.1em;
}

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

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

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

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

  .page-gdpr__grid-two-cols {
    grid-template-columns: 1fr;
  }

  .page-gdpr__grid-reversed-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
    min-height: 300px;
  }

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

  .page-gdpr__hero-description {
    font-size: 0.95em;
  }

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

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

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

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__commitment-section {
    padding: 40px 0;
  }

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

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  /* Image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-gdpr__cta-buttons .page-gdpr__btn-primary {
    margin: 10px 0; /* Adjust margin for stacked buttons */
  }
}