/* style/gdpr.css */

/* Base styles for GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background #0a0a0a */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Fixed header spacing - Apply to the first main content section if body padding is not handled by shared.css */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden; /* For image positioning */
}

.page-gdpr__hero-section.page-gdpr__dark-bg {
  background-color: #0a0a0a; /* Dark background for hero */
  color: #ffffff;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 2; /* Ensure content is above image */
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtly blend background image */
  filter: none; /* No color filters */
}

/* General section styling */
.page-gdpr__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__content-section.page-gdpr__light-bg {
  background-color: #ffffff; /* White background for content sections */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__rights-section,
.page-gdpr__cookie-section,
.page-gdpr__faq-section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0a0a0a; /* Dark background for these sections */
  color: #f0f0f0;
}

.page-gdpr__contact-section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #ffffff; /* White background for contact section */
  color: #333333;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* No color filters */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for items on dark section */
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-gdpr__rights-item .page-gdpr__rights-heading {
  color: #26A9E0;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* CTA Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  min-width: 180px; /* Ensure button is not too small */
  text-align: center;
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  border: 2px solid #26A9E0;
  cursor: pointer;
  min-width: 180px; /* Ensure button is not too small */
  text-align: center;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Links within content */
.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #1e87b7;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-gdpr__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Chrome/Safari default marker */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff; /* White for toggle icon */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }

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

  .page-gdpr__hero-content {
    padding: 60px 15px;
  }

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

  .page-gdpr__content-section,
  .page-gdpr__rights-section,
  .page-gdpr__cookie-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

  .page-gdpr__rights-list {
    grid-template-columns: 1fr; /* Stack items vertically */
    gap: 20px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content containers responsive */
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__rights-section,
  .page-gdpr__cookie-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

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

/* Ensure content area images meet min size requirements and don't get shrunk by other rules */
.page-gdpr__content-area img,
.page-gdpr__text-block img {
  min-width: 200px;
  min-height: 200px;
  object-fit: contain; /* Or cover, depending on desired effect */
}

/* Color Contrast Fixes (as per instructions) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Specific button for login/register if needed, using custom color */
.page-gdpr__btn-login {
  background-color: #EA7C07; /* Login custom color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 180px;
  text-align: center;
}

.page-gdpr__btn-login:hover {
  background-color: #c96a06;
}