/* style/gdpr.css */

/* Root variables if needed, though shared.css might have them */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f5f5f5;
  --border-color: #333333; /* For elements on dark background */
}

/* Page-specific styling for .page-gdpr */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for the main content on dark body background */
  background-color: var(--bg-dark); /* Ensure sections define their own backgrounds */
}

/* Fixed Header Offset - applied to the first main content section */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop default, adjusted by shared.js for mobile */
  padding-bottom: 60px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

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

.page-gdpr__main-title {
  font-size: 3.2em;
  color: var(--primary-color); /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color); /* Gold */
  color: var(--text-dark); /* Dark text on gold for contrast */
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
  background-color: var(--secondary-color); /* Dark Blue */
  color: var(--text-light); /* Light text on dark blue */
  border: 2px solid var(--primary-color); /* Gold border */
}

.page-gdpr__btn-secondary:hover {
  background-color: #1a7fdc; /* Slightly lighter blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-gdpr__content-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-usage-section,
.page-gdpr__user-rights-section,
.page-gdpr__security-section,
.page-gdpr__retention-section,
.page-gdpr__cookie-section,
.page-gdpr__contact-section,
.page-gdpr__related-policies-section {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: var(--bg-light); /* Light grey background */
  color: var(--text-dark); /* Dark text on light background */
}

.page-gdpr__dark-bg {
  background-color: var(--bg-dark); /* Dark background */
  color: var(--text-light); /* Light text on dark background */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color); /* Gold for section titles */
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--secondary-color); /* Dark blue on light background for contrast */
}

.page-gdpr__content-section p,
.page-gdpr__data-collection-section p,
.page-gdpr__data-usage-section p,
.page-gdpr__user-rights-section p,
.page-gdpr__security-section p,
.page-gdpr__retention-section p,
.page-gdpr__cookie-section p,
.page-gdpr__contact-section p,
.page-gdpr__related-policies-section p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

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

.page-gdpr__list li {
  margin-bottom: 0.5em;
  font-size: 1.05em;
}

.page-gdpr__list strong {
  color: var(--primary-color); /* Gold for emphasis in lists */
}

.page-gdpr__light-bg .page-gdpr__list strong {
  color: var(--secondary-color); /* Dark blue for emphasis on light background */
}

.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  /* Ensure no CSS filter is applied to images */
  filter: none;
}

.page-gdpr__text-link {
  color: var(--primary-color); /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: var(--secondary-color); /* Dark blue on hover */
}

.page-gdpr__light-bg .page-gdpr__text-link {
  color: var(--secondary-color); /* Dark blue on light background */
}

.page-gdpr__light-bg .page-gdpr__text-link:hover {
  color: var(--primary-color); /* Gold on hover for light background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-gdpr__description {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-gdpr__content-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__security-section,
  .page-gdpr__retention-section,
  .page-gdpr__cookie-section,
  .page-gdpr__contact-section,
  .page-gdpr__related-policies-section {
    padding: 40px 0;
  }

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

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

  .page-gdpr p,
  .page-gdpr li {
    font-size: 0.95em;
  }

  /* Image responsiveness for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    filter: none !important; /* Ensure no CSS filter is applied to images */
  }

  /* Ensure image containers also adapt */
  .page-gdpr__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }

  /* List indentation for mobile */
  .page-gdpr__list {
    margin-left: 15px;
  }
}