/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Assuming shared body background is light */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top margin, body handles header offset */
  background-color: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image wrapper */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Example using clamp for responsive font size */
}

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

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb2;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for main content */
  color: #333333;
}

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

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
}

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

.page-gdpr__list-item {
  margin-bottom: 8px;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f0f8ff; /* Light blue background for summary */
}

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

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

.page-gdpr__faq-item details > summary {
  list-style: none;
}

.page-gdpr__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-answer {
  padding: 15px 25px 25px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

/* Conclusion Section */
.page-gdpr__conclusion-section {
  padding: 60px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-gdpr__conclusion-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__conclusion-section p {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for mobile */
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__conclusion-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: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure image containers also adapt */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-container,
  .page-gdpr__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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