/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #017439; /* Fallback background */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

.page-gdpr__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__content-area {
  padding: 60px 20px;
  text-align: left;
}

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

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

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

.page-gdpr__sub-title {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439; /* Brand color for sub-titles in light sections */
  font-weight: bold;
}

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

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__paragraph--white {
  color: #ffffff; /* White text for dark background */
}

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

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

/* Background Color Classes */
.page-gdpr__dark-bg {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #a00606; /* Darker red on hover */
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #017439;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__btn-primary--large,
.page-gdpr__btn-secondary--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

/* Grid Layout for Principles Section */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-gdpr__grid-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Image and Text Blocks */
.page-gdpr__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-gdpr__image-text-block .page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image-text-block .page-gdpr__text-wrapper {
  flex: 2;
  min-width: 300px;
}

.page-gdpr__image-left-text-right {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-gdpr__image-left-text-right .page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image-left-text-right .page-gdpr__text-wrapper {
  flex: 2;
  min-width: 300px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block; /* Ensure no extra space below image */
}

/* Contact Block */
.page-gdpr__contact-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-gdpr__contact-info {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__contact-image {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__contact-detail {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Yellow for contact links on dark background */
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #fff;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-gdpr__faq-item {
  background-color: #f8f8f8; /* Light background for FAQ items */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-item[open] {
  background-color: #e6f7ed; /* Lighter green background when open */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #017439; /* Brand color for FAQ questions */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}

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

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #017439;
}

.page-gdpr__faq-answer {
  padding: 0 20px 15px 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
  margin-bottom: 0;
}

.page-gdpr__faq-answer .page-gdpr__link {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__faq-answer .page-gdpr__link:hover {
  color: #004d2c;
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439; /* Brand color background */
  color: #ffffff;
}

.page-gdpr__cta-container {
  max-width: 900px;
}

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


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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    height: 500px;
    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__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__section,
  .page-gdpr__content-area,
  .page-gdpr__cta-section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }
}