/* style/gdpr.css */

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --page-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the GDPR page */
.page-gdpr {
  color: var(--text-main); /* Default text color for the page content, assuming dark body bg */
  background-color: var(--page-bg);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Ensure body padding-top is handled by shared.css */
/* .page-gdpr { padding-top: var(--header-offset); } REMOVED - Handled by body in shared.css */

.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, header offset handled by body */
  background-color: var(--page-bg);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

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

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.page-gdpr__section {
  padding: 40px 20px;
  margin-bottom: 20px;
  background-color: var(--page-bg);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--text-main);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-gdpr__list {
  list-style: disc inside;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-gdpr__list-item strong {
  color: var(--text-main);
}

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

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

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: bold;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 15px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Details tag specific styles */
.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-item:not([open]) .page-gdpr__faq-toggle {
  content: '+';
}

/* Responsive Design */

/* All images responsive */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All image containers responsive */
.page-gdpr__hero-image-wrapper,
.page-gdpr__container,
.page-gdpr__section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mobile-specific 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; /* body already handles --header-offset */
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

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

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-gdpr__list {
    padding-left: 15px;
  }

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

  /* Ensure all content images meet minimum size */
  .page-gdpr__image,
  .page-gdpr__hero-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* FAQ specific mobile styles */
  .page-gdpr__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  /* Buttons container for multiple buttons */
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}