/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

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

.page-gdpr__description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Primary brand color */
  color: #1a1a1a; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Ensure consistency with body background */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-gdpr p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-gdpr__link {
  color: #FFD700; /* Gold color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold color for card titles */
  margin-bottom: 15px;
}

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700; /* Gold checkmark */
  font-weight: bold;
  font-size: 1.2em;
}

.page-gdpr__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-item {
  background-color: rgba(139, 0, 0, 0.2); /* Red accent for features */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-gdpr__feature-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold for feature titles */
  margin-bottom: 10px;
}

.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__faq-section {
  padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  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 30px;
  cursor: pointer;
  background-color: rgba(139, 0, 0, 0.4); /* Dark red for FAQ question */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(139, 0, 0, 0.6);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700; /* Gold for FAQ question text */
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  content: '−';
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  color: #f0f0f0;
  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: 20px 30px;
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }

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

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

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

  .page-gdpr__content-area {
    padding: 40px 15px;
  }

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

  .page-gdpr__grid-container,
  .page-gdpr__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__feature-item,
  .page-gdpr__contact-info {
    padding: 20px;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  /* Ensure all containers are responsive */
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__grid-container,
  .page-gdpr__feature-list,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}