/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text content */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any potential background elements */
  padding: 0 15px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-gdpr__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1); /* Light hover effect */
  transform: translateY(-2px);
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #57E38D; /* Glow */
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: #F2FFF6; /* Text Main */
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-gdpr__text-block a {
  color: #57E38D; /* Glow for links */
  text-decoration: underline;
}

.page-gdpr__text-block a:hover {
  color: #2AD16F;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-gdpr__faq-section {
  margin-top: 60px;
  border-top: 1px solid #1E3A2A; /* Divider */
  padding-top: 40px;
}

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

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green for hover */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Final CTA */
.page-gdpr__cta-final {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-gdpr__cta-final .page-gdpr__btn-primary {
  margin-top: 30px;
}

/* Ensure no filter on images */
.page-gdpr img {
  filter: none; /* Absolutely no CSS filters to change image colors */
}

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

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

  .page-gdpr__main-title {
    font-size: 2.2em; /* Adjusted for mobile */
  }

  .page-gdpr__description {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px; /* Adjust padding for mobile */
    margin-left: auto; /* Center buttons if flex-direction is column */
    margin-right: auto;
  }
  
  .page-gdpr__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

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

  .page-gdpr__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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

/* Content area images minimum size check for desktop */
.page-gdpr__image {
  min-width: 200px;
  min-height: 200px;
}