/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background-color: #26A9E0;
  color: #FFFFFF;
  overflow: hidden;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

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

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

.page-gdpr__content-wrapper {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 20px;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 40px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #333333;
}

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

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

.page-gdpr__card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-gdpr__card-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-gdpr__user-rights-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__user-rights-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-gdpr__rights-list {
  flex: 2 1 600px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__rights-item {
  background: #e9f7fe;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #333333;
}

.page-gdpr__data-collection-list, .page-gdpr__purpose-list, .page-gdpr__legal-basis-list, .page-gdpr__third-party-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  color: #333333;
}

.page-gdpr__data-collection-item, .page-gdpr__purpose-item, .page-gdpr__legal-basis-item, .page-gdpr__third-party-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__security-item {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__security-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__security-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-gdpr__faq-container {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  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-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #e9f7fe;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 30px;
  background-color: #e9f7fe;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-gdpr__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-gdpr__contact-text {
  font-size: 1.15em;
  color: #333333;
  margin-bottom: 25px;
  max-width: 700px;
}

.page-gdpr__effective-date {
  text-align: right;
  font-size: 0.9em;
  color: #777777;
  margin-top: 50px;
}

.page-gdpr__copyright {
  text-align: center;
  font-size: 0.9em;
  color: #777777;
  margin-top: 20px;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background: #FFFFFF;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__paragraph {
    font-size: 1em;
  }
  .page-gdpr__card, .page-gdpr__security-item {
    padding: 20px;
  }
  .page-gdpr__card-title, .page-gdpr__security-title {
    font-size: 1.2em;
  }
  .page-gdpr__user-rights-container {
    flex-direction: column;
  }
  .page-gdpr__user-rights-image {
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__rights-item {
    font-size: 0.95em;
  }
  .page-gdpr__data-collection-item, .page-gdpr__purpose-item, .page-gdpr__legal-basis-item, .page-gdpr__third-party-item {
    font-size: 1em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr__contact-info {
    padding: 20px;
  }
  .page-gdpr__contact-text {
    font-size: 1em;
  }
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Mobile button responsiveness */
  .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;
  }
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}