/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #017439;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-dark-text: #333333;
  --page-gdpr-light-text: #ffffff;
  --page-gdpr-register-login-btn-bg: #C30808;
  --page-gdpr-register-login-btn-text: #FFFF00;
  --page-gdpr-background-white: #FFFFFF;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-light-text); /* Default text color for page-gdpr, assuming body is dark */
  background-color: var(--page-gdpr-background-white); /* Main content area background */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--page-gdpr-light-text);
  background: linear-gradient(135deg, var(--page-gdpr-primary-color) 0%, darken(var(--page-gdpr-primary-color), 10%) 100%);
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__intro-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: var(--page-gdpr-register-login-btn-bg);
  color: var(--page-gdpr-register-login-btn-text);
  border: 2px solid var(--page-gdpr-register-login-btn-bg);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--page-gdpr-register-login-btn-bg), 10%);
  border-color: darken(var(--page-gdpr-register-login-btn-bg), 10%);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-primary-color);
  border: 2px solid var(--page-gdpr-primary-color);
  margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__content-area,
.page-gdpr__rights-section,
.page-gdpr__commitment-section,
.page-gdpr__contact-section {
  padding: 60px 20px;
  color: var(--page-gdpr-dark-text); /* Text color for light background sections */
  background-color: var(--page-gdpr-background-white);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--page-gdpr-primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--page-gdpr-dark-text);
}

.page-gdpr__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
  color: var(--page-gdpr-dark-text);
}

.page-gdpr__principles-section,
.page-gdpr__compliance-section,
.page-gdpr__faq-section {
  padding: 60px 20px;
  color: var(--page-gdpr-light-text);
  background-color: var(--page-gdpr-primary-color);
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-gdpr__principle-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--page-gdpr-light-text);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-gdpr__list-item {
  background-color: var(--page-gdpr-background-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  color: var(--page-gdpr-dark-text);
}

.page-gdpr__list-title {
  font-size: 1.4em;
  color: var(--page-gdpr-primary-color);
  margin-bottom: 10px;
}

.page-gdpr__compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__compliance-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: var(--page-gdpr-light-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-gdpr__item-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__item-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-gdpr-secondary-color);
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-gdpr-light-text);
}

.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__contact-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 30px auto;
  font-size: 1.1em;
  color: var(--page-gdpr-dark-text);
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

/* Responsive Images */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-gdpr__main-title {
    font-size: 2.2em;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-gdpr__content-area,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__compliance-section,
  .page-gdpr__commitment-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 40px 15px;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__compliance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__text-block,
  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__compliance-grid,
  .page-gdpr__faq-list,
  .page-gdpr__contact-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* General image sizing for content area */
.page-gdpr__content-area img,
.page-gdpr__principles-section img,
.page-gdpr__rights-section img,
.page-gdpr__compliance-section img,
.page-gdpr__contact-section img {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no small icons */
.page-gdpr img:not([class*="icon"]) {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure contrast for light sections on dark body */
.page-gdpr__light-bg {
  background-color: var(--page-gdpr-background-white);
  color: var(--page-gdpr-dark-text);
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__light-bg .page-gdpr__section-description,
.page-gdpr__light-bg p,
.page-gdpr__light-bg li {
  color: var(--page-gdpr-dark-text);
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-light-text);
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__card-title,
.page-gdpr__dark-section .page-gdpr__item-title,
.page-gdpr__dark-section .page-gdpr__faq-title {
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__dark-section .page-gdpr__section-description,
.page-gdpr__dark-section p,
.page-gdpr__dark-section li {
  color: var(--page-gdpr-light-text);
}

.page-gdpr__dark-section .page-gdpr__btn-secondary {
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-primary-color);
  border-color: var(--page-gdpr-secondary-color);
}

.page-gdpr__dark-section .page-gdpr__btn-secondary:hover {
  background-color: darken(var(--page-gdpr-secondary-color), 10%);
  border-color: darken(var(--page-gdpr-secondary-color), 10%);
}