/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, though body is already white */
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  background-color: #f8f8f8;
  gap: 40px;
  padding-top: 20px; /* Small padding, assuming shared handles main offset */
}

.page-gdpr__hero-content {
  flex: 1;
  max-width: 600px;
}

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

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

.page-gdpr__hero-buttons {
  display: flex;
  gap: 15px;
}

.page-gdpr__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* General Content Sections */
.page-gdpr__content-section {
  padding: 60px 40px;
  border-bottom: 1px solid #eeeeee;
}

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

.page-gdpr__dark-section .page-gdpr__heading,
.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item,
.page-gdpr__dark-section .page-gdpr__link {
  color: #ffffff;
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-gdpr__heading {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

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

.page-gdpr__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 40%;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 40%;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f0fdf4; /* Light green background */
  border-left: 5px solid #017439;
  border-radius: 5px;
}

.page-gdpr__contact-info .page-gdpr__paragraph {
  margin-bottom: 10px;
}

.page-gdpr__link {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__link {
  color: #90ee90; /* Lighter green for links on dark background */
}

.page-gdpr__link:hover {
  text-decoration: none;
  color: #005f2e; /* Darker green on hover */
}

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

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

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

/* Call to Action Section */
.page-gdpr__cta-section {
  background-color: #f8f8f8;
  padding: 80px 40px;
  text-align: center;
}

.page-gdpr__cta-container {
  max-width: 800px;
}

.page-gdpr__cta-heading {
  font-size: 2.8em;
  color: #017439;
  margin-bottom: 20px;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

.page-gdpr__btn-cta {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

.page-gdpr__faq-item {
  background-color: #ffffff; /* White background for FAQ items on dark section */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333; /* Dark text for FAQ items */
}

.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;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  margin: 0;
  color: #017439;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #017439;
}

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

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

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

.page-gdpr__faq-answer .page-gdpr__paragraph {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #555555;
}

/* Clearfix for floated images */
.page-gdpr__content-section::after {
  content: "";
  display: table;
  clear: both;
}

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

  .page-gdpr__heading {
    font-size: 2em;
  }

  .page-gdpr__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .page-gdpr__hero-image-wrapper {
    margin-top: 30px;
  }

  .page-gdpr__hero-content {
    max-width: 100%;
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right {
    float: none;
    margin: 20px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  /* Mobile specific styles */
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

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

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

  .page-gdpr__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr__btn-cta,
  .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__hero-buttons,
  .page-gdpr__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__content-section,
  .page-gdpr__cta-section,
  .page-gdpr__faq-section {
    padding: 30px 0;
  }

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

  .page-gdpr__heading {
    font-size: 1.8em;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-question {
    font-size: 1em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-wrapper,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

/* Ensure images don't use filter */
.page-gdpr img {
  filter: none;
}