/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background */
  background-color: #ffffff; /* Default white background */
}

/* Fixed header spacing */
.page-gdpr {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the main content area */
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some horizontal padding for smaller screens */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  background-color: #f0f8ff; /* Light blue background */
  color: #333333;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Make it subtle */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  color: #000000; /* Ensure strong contrast over light background/image */
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title */
  line-height: 1.2;
}

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

/* Section Titles */
.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 30px;
  line-height: 1.3;
}

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

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
  color: #333333;
}

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

.page-gdpr__inline-link:hover {
  color: #1a7bbd; /* Slightly darker on hover */
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7bbd; /* Darker shade of primary */
  transform: translateY(-2px);
}

.page-gdpr__btn-contact {
  margin-top: 30px;
}

/* Dark Section */
.page-gdpr__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff; /* White text for contrast */
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #ffffff; /* Ensure titles are white */
}

.page-gdpr__dark-section .page-gdpr__text-block,
.page-gdpr__dark-section .page-gdpr__list-item {
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-gdpr__dark-section .page-gdpr__inline-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__inline-link:hover {
  color: #f0f8ff; /* Lighter on hover */
}

/* Lists */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  text-align: left;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

/* Images */
.page-gdpr__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__faq-question:hover {
  background-color: #f0f0f0;
}

.page-gdpr__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0; /* Brand color for FAQ question */
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px !important; /* Expanded padding */
}

.page-gdpr__faq-answer p {
  margin-bottom: 0; /* Remove bottom margin from last paragraph in answer */
  color: #333333;
}

/* CTA Section */
.page-gdpr__cta-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 20px;
}

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

.page-gdpr__cta-content .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__cta-content .page-gdpr__text-block {
  font-size: 1.2em;
  margin-bottom: 40px;
  text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.4em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  /* Ensure header offset is applied on mobile */
  .page-gdpr {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-gdpr__hero-section {
    padding: 60px 15px;
    min-height: 350px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 1em;
  }

  /* Image responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Button responsive rules */
  .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: 12px 20px;
    font-size: 1em;
  }

  /* If multiple buttons in a row, stack them or wrap */
  .page-gdpr__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-title {
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}