/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css #1a1a1a */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Primary brand color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

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

.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background from body */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for main titles */
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px;
}

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

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

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

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

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

/* Mobile Floating CTA */
.page-gdpr__mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.95); /* Dark background, semi-transparent */
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    box-sizing: border-box;
}

.page-gdpr__btn-login,
.page-gdpr__btn-register {
    display: block;
    width: 48%; /* Adjust for spacing */
    padding: 12px 0;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-login {
    background-color: #C30808; /* Red for Login */
    color: #FFFF00; /* Yellow text */
    border: 1px solid #C30808;
}

.page-gdpr__btn-login:hover {
    background-color: #a00606;
}

.page-gdpr__btn-register {
    background-color: #C30808; /* Red for Register */
    color: #FFFF00; /* Yellow text */
    border: 1px solid #C30808;
}

.page-gdpr__btn-register:hover {
    background-color: #a00606;
}

/* Hide mobile CTA on larger screens */
@media (min-width: 769px) {
    .page-gdpr__mobile-cta {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
  }

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

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

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

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer p {
    font-size: 1em;
    line-height: 1.5;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
  }

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

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

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

  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Container padding for mobile */
  .page-gdpr__container,
  .page-gdpr__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Mobile CTA specific adjustments */
  .page-gdpr__mobile-cta {
    padding: 8px 10px;
  }

  .page-gdpr__btn-login,
  .page-gdpr__btn-register {
    width: 47%;
    padding: 10px 0;
    font-size: 0.9em;
  }
}