/* style/gdpr.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-section: rgba(255, 255, 255, 0.05);
  --bg-light-section: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text as body background is dark */
}

.page-gdpr__dark-bg {
  background: var(--dark-bg-1, #0d0d0d); /* Inherit from shared or use fallback */
  color: var(--text-light);
}

.page-gdpr__light-bg {
  background: var(--bg-light-section);
  color: var(--text-dark);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 100px 20px 60px; /* Adjust top padding for header offset */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding-top: var(--header-offset, 120px);
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* General Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-gdpr__content-section .page-gdpr__paragraph {
  color: var(--text-dark);
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-gdpr__list-item strong {
  color: var(--secondary-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);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  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;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  color: var(--text-dark);
}

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

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

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__cta-section .page-gdpr__paragraph {
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-gdpr__faq-section .page-gdpr__section-title {
  color: var(--primary-color);
}

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

.page-gdpr__faq-item {
  background-color: var(--bg-dark-section);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.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-out, padding 0.3s ease-out;
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}

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

  .page-gdpr__hero-section {
    padding: 80px 15px 40px;
    min-height: 350px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-gdpr__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

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

  .page-gdpr__cta-section .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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