/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the main content area if not overridden by section */
}

/* Color Palette Usage */
.page-gdpr__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__card-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__light-bg {
  background-color: #ffffff; /* Default white background */
  color: #333333; /* Dark text for light backgrounds */
}

.page-gdpr__text-main {
  color: #F2FFF6;
}

.page-gdpr__text-secondary {
  color: #A7D9B8;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit from section background */
}

.page-gdpr__section-title.page-gdpr__text-main {
    color: #F2FFF6;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  color: inherit; /* Inherit from section background */
}

.page-gdpr__paragraph.page-gdpr__text-main {
    color: #F2FFF6;
}
.page-gdpr__paragraph.page-gdpr__text-secondary {
    color: #A7D9B8;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom */
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  background-color: #08160F; /* Fallback background */
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay to darken image */
    z-index: 0;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Buttons */
.page-gdpr__cta-button,
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  margin: 10px;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #11A84E;
  border: 2px solid #11A84E;
  margin: 10px;
}

.page-gdpr__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-gdpr__btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-gdpr__card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #2E7A4E; /* Border */
}

.page-gdpr__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Lists */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section background */
}

.page-gdpr__list--bullet {
    list-style-type: disc;
    list-style-position: inside;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: inherit; /* Inherit from section background */
}

.page-gdpr__list-item strong {
    color: inherit;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    width: 40%; /* Adjust as needed */
    min-width: 300px; /* Ensure it's not too small */
}

.page-gdpr__content-block {
    overflow: hidden; /* Clear floats */
}

/* Contact Info */
.page-gdpr__contact-info {
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__link {
  color: #11A84E; /* Main color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #22C768; /* Auxiliary color on hover */
}

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

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow color for toggle */
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  transition: max-height 0.5s ease-in;
}

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

  .page-gdpr__container {
    padding: 20px 15px;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

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

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
    margin: 10px 0; /* Stack buttons vertically */
  }

  .page-gdpr__btn-container {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__image {
    margin: 20px auto;
  }

  .page-gdpr__image--right {
    float: none;
    margin: 20px auto;
    width: 100%;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure paragraph color for light sections is dark */
.page-gdpr__light-bg .page-gdpr__paragraph {
    color: #333333;
}
.page-gdpr__light-bg .page-gdpr__list-item {
    color: #333333;
}
.page-gdpr__light-bg .page-gdpr__section-title {
    color: #333333;
}
.page-gdpr__light-bg .page-gdpr__contact-info p {
    color: #333333;
}

/* For details/summary elements, prevent default marker and style toggle */
.page-gdpr__faq-item summary {
    list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}