/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #222222; /* Inherited from body, but explicitly set for clarity */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
  background-color: #017439; /* Brand color as dark background */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle effect, not changing color */
}

/* General Section Styles */
.page-gdpr__content-area {
  padding: 60px 20px;
}

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

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffff00; /* Yellow for sub-titles */
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__paragraph a {
  color: #ffff00; /* Yellow links */
  text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
  color: #ffffff;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

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

/* Color Schemes */
.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #222222; /* Dark background from body */
  color: #ffffff;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow text */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #ff3333;
  border-color: #ff3333;
  color: #ffffff;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFFF00;
  border: 2px solid #FFFF00;
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFFF00;
  color: #017439;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
}

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

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

.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 20px;
}

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

/* Contact Section */
.page-gdpr__contact-section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

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

.page-gdpr__contact-item a {
  color: #ffff00;
  text-decoration: underline;
}

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

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

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

  .page-gdpr__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

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

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

  .page-gdpr__content-area,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 30px 15px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-bottom: 15px;
  }

  .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 15px;
  }

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

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.6em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
  .page-gdpr__sub-title {
    font-size: 1.1em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
}