/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #FFFFFF); /* Inherit from shared or default to white */
}

.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;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF; /* White text for dark background */
}

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

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

.page-gdpr__hero-image-wrapper {
  margin-bottom: 40px;
}

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

.page-gdpr__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #C30808; /* Custom register button color */
  color: #FFFF00; /* Custom register button text color */
  border: 2px solid transparent;
}

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

.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for light background */
}

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

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

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
  line-height: 1.8;
}

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

.page-gdpr__image-container {
  text-align: center;
  margin: 40px 0;
}

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

.page-gdpr__cta-section {
  background-color: #f5f5f5;
  padding: 50px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-gdpr__cta-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__btn-register,
.page-gdpr__btn-login {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.page-gdpr__btn-register {
  background-color: #C30808; /* Custom register button color */
  color: #FFFF00; /* Custom register button text color */
}

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

.page-gdpr__btn-login {
  background-color: #C30808; /* Custom login button color */
  color: #FFFF00; /* Custom login button text color */
}

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

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background for FAQ */
  color: #FFFFFF; /* White text for dark background */
}

.page-gdpr__faq-section .page-gdpr__section-title {
  color: #FFFFFF; /* White title for dark background */
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  color: #FFFFFF;
  list-style: none; /* Hide default marker for details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: justify;
}

/* Ensure all links within content are styled */
.page-gdpr a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-gdpr__content-area a {
  color: #017439; /* Brand primary for links on light background */
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__content-area,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }
  .page-gdpr__cta-title {
    font-size: 1.6em;
  }
  .page-gdpr__hero-cta,
  .page-gdpr__btn-register,
  .page-gdpr__btn-login {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Ensure buttons take full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  /* Mobile image responsive optimization */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__cta-section,
  .page-gdpr__button-group,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }
  /* Specific padding for sections in mobile */
  .page-gdpr__content-area .page-gdpr__container,
  .page-gdpr__faq-section .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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