/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--secondary-color, #ffffff);
}

/* Hero Section */
.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 top padding, body handles header offset */
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #017439; /* Brand color for main title */
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid #eeeeee;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-gdpr__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333333;
}

.page-gdpr__paragraph a {
  color: #017439;
  text-decoration: underline;
}

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

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

.page-gdpr__list-item strong {
  color: #017439;
}

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

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-gdpr__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Dark background section for contrast */
.page-gdpr__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__main-title,
.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__hero-description,
.page-gdpr__dark-bg .page-gdpr__paragraph,
.page-gdpr__dark-bg .page-gdpr__list-item {
  color: #f0f0f0;
}

.page-gdpr__dark-bg .page-gdpr__paragraph a {
  color: #FFFF00; /* Yellow for links on dark background */
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Contact Box */
.page-gdpr__contact-box {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__contact-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-gdpr__contact-detail {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #555555;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #f5f5f5;
}

.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;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #eeeeee;
}

.page-gdpr__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

/* Hide default details marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Final CTA Section */
.page-gdpr__cta-final {
  text-align: center;
  padding: 80px 20px;
}

.page-gdpr__cta-final .page-gdpr__section-title {
  margin-bottom: 25px;
}

.page-gdpr__cta-final .page-gdpr__paragraph {
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .page-gdpr__hero-description,
  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

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

  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__content-area,
  .page-gdpr__contact-box,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .page-gdpr__hero-description,
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__contact-detail,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    font-size: 0.9rem;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 20px 10px;
    padding-top: 10px !important;
  }

  .page-gdpr__section {
    padding: 30px 10px;
  }

  .page-gdpr__content-area,
  .page-gdpr__contact-box,
  .page-gdpr__faq-item {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.4rem, 8vw, 1.8rem);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 7vw, 1.4rem);
  }

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