/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #B80000 0%, #800000 100%); /* Brand colors for hero background */
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* General Section Styling */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__content-section:nth-of-type(even) {
  background-color: #222222; /* Alternate background for readability */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-gdpr__text-block p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-gdpr__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__text-block a:hover {
  text-decoration: underline;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-gdpr__list strong {
  color: #ffffff;
}

.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  /* No filter property to change color */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #B80000; /* Red text for contrast */
  border: 2px solid #FFD700;
}

.page-gdpr__btn-primary:hover {
  background-color: #ffe066;
  border-color: #ffe066;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #B80000;
}

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

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

.page-gdpr__faq-item {
  background-color: #222222;
  border: 1px solid 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: 20px 25px;
  cursor: pointer;
  background-color: #B80000; /* Red background for question */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1em; /* Adjust to fit parent */
  color: #ffffff;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFD700; /* Gold for toggle icon */
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
  color: #ffffff;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #2a2a2a; /* Darker background for answer */
  color: #e0e0e0;
  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 reveal content */
  padding: 20px 25px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #800000 0%, #B80000 100%);
  text-align: center;
  color: #ffffff;
}

.page-gdpr__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

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

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

  .page-gdpr__text-block,
  .page-gdpr__list {
    font-size: 1em;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px 0;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding: 0 15px; /* Add padding to button container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-gdpr__content-section,
  .page-gdpr__cta-section,
  .page-gdpr__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-gdpr__container {
    padding: 0 15px;
  }
}

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

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

  .page-gdpr__faq-question {
    font-size: 1em;
  }
}

/* Contrast Fixes (as per instruction) */
/* Ensuring default text is visible on dark body background */
.page-gdpr p,
.page-gdpr li,
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
  color: #ffffff; /* Ensure light text on dark background */
}