/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #FFFFFF */
  background-color: #ffffff; /* Explicitly set for clarity, though body handles it */
}

.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 0;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #f8f8f8; /* Light background for hero section */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #26A9E0; /* Primary brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container width */
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
  border-color: #1e87c0;
}

/* Content Sections */
.page-gdpr__content-area {
  padding: 60px 0;
}

.page-gdpr__overview-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-usage-section,
.page-gdpr__rights-section,
.page-gdpr__data-retention-section,
.page-gdpr__third-party-section,
.page-gdpr__international-section,
.page-gdpr__changes-section,
.page-gdpr__faq-section {
  background-color: #ffffff; /* Light background for content sections */
  color: #333333;
}

.page-gdpr__security-section,
.page-gdpr__contact-section {
  background-color: #26A9E0; /* Dark background for specific sections */
  color: #ffffff; /* White text for dark background */
}

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

.page-gdpr__security-section .page-gdpr__section-title,
.page-gdpr__contact-section .page-gdpr__section-title {
  color: #ffffff; /* White for titles in dark sections */
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0; /* Primary color for sub-titles */
}

.page-gdpr__security-section .page-gdpr__sub-title,
.page-gdpr__contact-section .page-gdpr__sub-title {
  color: #ffffff; /* White for sub-titles in dark sections */
}

.page-gdpr p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
  font-size: 1.05em;
}

.page-gdpr__list li {
  margin-bottom: 0.5em;
}

.page-gdpr__image-full {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: #eaf7ff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-question {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

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

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

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
}

/* Specific colors for "Login" button if needed, but using primary/secondary for now. */
/* If a login button is explicitly added and needs #EA7C07 */
.page-gdpr__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}
.page-gdpr__btn-login:hover {
  background-color: #c96706;
  border-color: #c96706;
}

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

  .page-gdpr__container {
    padding: 0 15px !important; /* Ensure padding on mobile */
  }

  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

  .page-gdpr p,
  .page-gdpr__list li {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Ensure all containers with images/content are responsive */
  .page-gdpr__hero-section,
  .page-gdpr__overview-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__data-retention-section,
  .page-gdpr__third-party-section,
  .page-gdpr__international-section,
  .page-gdpr__contact-section,
  .page-gdpr__changes-section,
  .page-gdpr__faq-section,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }

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