/* style/gdpr.css */

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 400px;
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7bb0;
}

/* Section specific styles */
.page-gdpr__introduction-section,
.page-gdpr__user-rights-section,
.page-gdpr__contact-section {
  padding: 60px 0;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__faq-section {
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__introduction-section p,
.page-gdpr__user-rights-section p,
.page-gdpr__contact-section p {
  color: #333333;
}

.page-gdpr__principles-section p,
.page-gdpr__security-section p,
.page-gdpr__faq-section p {
  color: #f0f0f0;
}

/* Background colors based on body background */
.page-gdpr__dark-bg {
  background-color: #1a1a1a; /* A slightly lighter dark for contrast with body #0d0d0d */
}

.page-gdpr__light-bg {
  background-color: #ffffff;
}

/* Principles Grid */
.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__principle-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* User Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__rights-list li {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #333333;
}

.page-gdpr__rights-list .page-gdpr__list-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__rights-list li p {
  color: #555555;
}

/* Security List */
.page-gdpr__security-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 20px;
  color: #f0f0f0;
}

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

/* Image containers */
.page-gdpr__image-container {
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question::marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
}

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    min-height: 300px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-gdpr__hero-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__principles-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
  .page-gdpr__rights-list li {
    padding: 15px;
  }
  .page-gdpr__list-title {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__container {
    padding-left: 10px;
    padding-right: 10px;
  }
}