/* 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 handles the background */
  padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
}

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

/* Section styling */
.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 decorative top padding, body handles --header-offset */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any potential background layers */
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
}

.page-gdpr__lead-paragraph {
  font-size: 1.25rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__sub-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Color themes for sections */
.page-gdpr__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast on black body */
  color: #f0f0f0;
}

/* Specific sections */
.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__measures-section,
.page-gdpr__cookie-section,
.page-gdpr__sharing-section,
.page-gdpr__changes-section,
.page-gdpr__contact-section {
  padding: 60px 0;
}

.page-gdpr__principles-section .page-gdpr__section-title,
.page-gdpr__measures-section .page-gdpr__section-title,
.page-gdpr__contact-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__content-section .page-gdpr__section-title,
.page-gdpr__rights-section .page-gdpr__section-title,
.page-gdpr__cookie-section .page-gdpr__section-title,
.page-gdpr__sharing-section .page-gdpr__section-title,
.page-gdpr__changes-section .page-gdpr__section-title {
  color: #26A9E0;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

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

.page-gdpr__card p {
  font-size: 1rem;
  color: #e0e0e0;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  color: #f0f0f0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-left: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 10px;
  color: #e0e0e0;
}

/* Feature list */
.page-gdpr__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__feature-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-gdpr__feature-item p {
  color: #e0e0e0;
}

/* General list */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  color: #f0f0f0;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

.page-gdpr__list strong {
  color: #26A9E0;
}

/* CTA Buttons */
.page-gdpr__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__sub-title {
    font-size: 1.5rem;
  }
  .page-gdpr__text-block {
    font-size: 1rem;
  }
  .page-gdpr__card-title {
    font-size: 1.3rem;
  }
  .page-gdpr__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__lead-paragraph {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }

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

  .page-gdpr__faq-answer {
    font-size: 0.9rem;
  }

  .page-gdpr__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__cta-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image and container adjustments */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__container,
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__measures-section,
  .page-gdpr__cookie-section,
  .page-gdpr__sharing-section,
  .page-gdpr__changes-section,
  .page-gdpr__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-gdpr__content-image {
    margin: 20px auto !important;
  }

  .page-gdpr__grid {
    gap: 20px;
  }

  .page-gdpr__feature-item {
    padding: 15px;
  }

  .page-gdpr__feature-title {
    font-size: 1.1rem;
  }
}