/* style/gdpr.css */
:root {
  --primary-color: #8B0000;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-section: #1a1a1a; /* Adjusted for better contrast on dark background */
  --bg-light-section: #f8f8f8;
  --border-color: #444444;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, typically dark */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

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

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 20px;
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-gdpr__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: var(--text-dark);
}

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

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

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

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

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

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

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

.page-gdpr__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-gdpr__grid-two-columns--reversed {
  grid-template-columns: 1fr 1fr;
}

.page-gdpr__text-block {
  padding: 20px;
}

.page-gdpr__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-gdpr__principles-section .page-gdpr__feature-title {
  color: var(--primary-color);
}

.page-gdpr__rights-section .page-gdpr__feature-title,
.page-gdpr__security-measures-section .page-gdpr__feature-title {
  color: var(--secondary-color);
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

.page-gdpr__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__margin-top {
  margin-top: 40px;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__list strong {
  color: inherit;
}

.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;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  color: var(--primary-color);
}

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

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

.page-gdpr__btn-primary--white {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-gdpr__btn-primary--white:hover {
  background-color: #e0e0e0;
  color: var(--primary-color);
}

.page-gdpr__contact-info {
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-dark);
}

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

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

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: bold;
  font-size: 1.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-gdpr__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Ensure it doesn't get too large */
}

.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(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 1em;
  color: inherit;
}

.page-gdpr__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-gdpr__faq-answer a:hover {
  text-decoration: underline;
}

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

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

  .page-gdpr__grid-two-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-gdpr__grid-two-columns--reversed {
    grid-template-columns: 1fr;
  }

  .page-gdpr__image-wrapper {
    order: -1; /* Move image above text on mobile for reversed grid */
  }

  .page-gdpr__text-block {
    padding: 0;
  }

  .page-gdpr__list {
    text-align: left;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    padding: 12px 15px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

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

  .page-gdpr__section-intro {
    font-size: 1em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__image-wrapper,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

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

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

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

  .page-gdpr__hero-section {
    height: 400px;
  }
}

/* Ensure content area images are not too small */
.page-gdpr__section img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-gdpr__section img {
    min-width: unset;
    min-height: unset;
  }
}