/* style/gdpr.css */

:root {
  --page-gdpr-bg-color: #08160F;
  --page-gdpr-card-bg: #11271B;
  --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-color: #0A4B2C;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  background-color: var(--page-gdpr-bg-color);
  color: var(--page-gdpr-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4 {
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr h1 {
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.page-gdpr h2 {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-gdpr-gold-color);
}

.page-gdpr p {
  margin-bottom: 1em;
}

.page-gdpr a {
  color: var(--page-gdpr-gold-color);
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

.page-gdpr ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-gdpr ol {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-gdpr li {
  margin-bottom: 0.5em;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for desktop */
}

.page-gdpr__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--page-gdpr-gold-color);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-gold-color);
  border: 2px solid var(--page-gdpr-gold-color);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__introduction-section,
.page-gdpr__data-usage-section,
.page-gdpr__rights-section,
.page-gdpr__changes-section,
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-dark-section-bg, var(--page-gdpr-card-bg));
  color: var(--page-gdpr-text-main);
}

.page-gdpr__data-collection-section,
.page-gdpr__data-sharing-section,
.page-gdpr__security-section,
.page-gdpr__contact-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-bg-color);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-text-block .page-gdpr__image {
  flex: 1;
  min-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  width: 100%; /* Ensure image takes full width of its flex item */
  height: auto;
  display: block;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question {
  color: var(--page-gdpr-gold-color);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-gdpr-glow-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__image-text-block {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }

  .page-gdpr__image-text-block .page-gdpr__image {
    min-width: unset;
    width: 100%;
    margin-bottom: 20px;
  }

  .page-gdpr__image-text-block .page-gdpr__text-content {
    min-width: unset;
    width: 100%;
  }
}

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

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

  .page-gdpr__hero-content {
    padding: 20px 15px;
    margin-top: 10px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

  .page-gdpr__introduction-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__changes-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image {
    max-height: 400px; /* Adjust max-height for mobile hero */
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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__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-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important; /* Adjust gap for stacked buttons */
    overflow: hidden !important;
  }

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

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