/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #26A9E0;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-text-dark: #ffffff; /* For dark body background */
  --page-gdpr-text-light: #333333; /* For light section backgrounds */
  --page-gdpr-bg-dark: #0a0a0a; /* Body background from shared */
  --page-gdpr-bg-light: #FFFFFF;
  --page-gdpr-login-color: #EA7C07;
}

.page-gdpr {
  color: var(--page-gdpr-text-dark); /* Default text color for dark body background */
  background-color: var(--page-gdpr-bg-dark); /* Inherits from body, but ensures consistency */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--page-gdpr-primary-color); /* Brand color for hero */
  color: var(--page-gdpr-secondary-color);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-gdpr-secondary-color);
}

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

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

.page-gdpr__content-area {
  background-color: var(--page-gdpr-bg-light); /* Light background for content readability */
  color: var(--page-gdpr-text-light); /* Dark text for light background */
  padding: 60px 0;
}

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

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

.page-gdpr__highlight {
  font-weight: bold;
  color: var(--page-gdpr-primary-color);
}

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

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

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

.page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.page-gdpr__list--grid .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-gdpr-text-light);
}

.page-gdpr__link {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__link:hover {
  color: #1a7bb7; /* Slightly darker primary color on hover */
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-secondary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7bb7; /* Darker shade of primary color */
}

.page-gdpr__cta-section {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-secondary-color);
  padding: 50px 20px;
  text-align: center;
  margin-top: 50px;
  border-radius: 8px;
}

.page-gdpr__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
}

/* FAQ Styles */
.page-gdpr__faq-list {
  margin-top: 40px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--page-gdpr-bg-light);
  color: var(--page-gdpr-text-light);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-gdpr-text-light);
  border-bottom: 1px solid #eee;
}

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

.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); /* Changes '+' to 'x' or similar visual */
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px; 
}

.page-gdpr__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.6;
}

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

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

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

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

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

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

  .page-gdpr__content-area {
    padding: 40px 0;
  }

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

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

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

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__list--grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__cta-section {
    padding: 30px 15px;
  }

  .page-gdpr__cta-text {
    font-size: 1.2em;
  }

  .page-gdpr__faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }

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

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

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.5em;
  }

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