/* style/gdpr.css */

/* Root variables for colors based on custom palette */
:root {
  --page-gdpr-primary-color: #11A84E; /* Main */
  --page-gdpr-secondary-color: #22C768; /* Auxiliary */
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Default text color for the page, assuming dark body bg */
  background-color: var(--page-gdpr-background); /* This will be overridden by shared.css body background but sets a fallback */
}

/* Ensure content is not covered by fixed header, but avoid double padding */
/* body padding-top is handled by shared.css, so no extra padding-top here for .page-gdpr */

.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 as per instruction */
  background-color: var(--page-gdpr-deep-green); /* Example background for hero */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 15px;
  /* No fixed font-size, rely on clamp for responsiveness if needed, but for now, let browser handle */
}

.page-gdpr__lead-paragraph {
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center; /* Ensure text is centered within the button */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main); /* Light text on dark/gradient button */
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-secondary-color); /* Green text on light background */
  border: 2px solid var(--page-gdpr-secondary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section {
  padding: 50px 20px;
  background-color: var(--page-gdpr-background); /* Default section background */
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-card-bg); /* Darker green background for contrast */
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__section-title {
  font-size: 2em;
  color: var(--page-gdpr-gold-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr__subsection-title {
  font-size: 1.5em;
  color: var(--page-gdpr-secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  margin-bottom: 15px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list li {
  margin-bottom: 8px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__link {
  color: var(--page-gdpr-secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--page-gdpr-gold-color);
}

/* Rights Section Specific Styles */
.page-gdpr__rights-grid,
.page-gdpr__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__right-card,
.page-gdpr__security-card {
  background-color: var(--page-gdpr-deep-green);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__right-icon,
.page-gdpr__security-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-gdpr__right-title,
.page-gdpr__security-title {
  font-size: 1.3em;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 10px;
}

.page-gdpr__right-description,
.page-gdpr__security-description {
  color: var(--page-gdpr-text-secondary);
  font-size: 0.95em;
}

/* Contact Section Specific Styles */
.page-gdpr__contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 30px;
}

.page-gdpr__contact-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* FAQ Section Specific Styles */
.page-gdpr__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-deep-green);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  background-color: var(--page-gdpr-card-bg); /* Darker green for question background */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-deep-green);
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--page-gdpr-gold-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  background-color: var(--page-gdpr-deep-green);
  color: var(--page-gdpr-text-secondary);
  font-size: 1em;
  border-top: 1px solid var(--page-gdpr-divider-color);
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em); /* Use clamp for H1 on mobile */
    margin-bottom: 10px;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
    overflow: hidden;
  }

  .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;
  }

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

  .page-gdpr__container {
    padding: 0; /* Remove horizontal padding from container, handled by section */
  }

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

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

  .page-gdpr__rights-grid,
  .page-gdpr__security-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-gdpr__rights-grid img,
  .page-gdpr__security-grid img,
  .page-gdpr__contact-image,
  .page-gdpr__hero-image {
    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-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}

/* Content area image size enforcement */
.page-gdpr__section img,
.page-gdpr__right-card img,
.page-gdpr__security-card img,
.page-gdpr__contact-info img {
  min-width: 200px;
  min-height: 200px;
}