/* style/gdpr.css */

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

.page-gdpr {
  color: var(--gdpr-text-main); /* Main text color for dark background */
  background-color: var(--gdpr-background); /* Overall page background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--gdpr-background);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.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: 1em;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure buttons adapt to container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: rgba(var(--gdpr-primary-color), 0.1);
  transform: translateY(-2px);
}

.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-measures,
.page-gdpr__faq-section,
.page-gdpr__call-to-action {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--gdpr-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

.page-gdpr__card {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 10px;
  padding: 30px;
  color: var(--gdpr-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  color: var(--gdpr-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card p {
  font-size: 0.95em;
  color: var(--gdpr-text-secondary);
  line-height: 1.5;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-divider-color);
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--gdpr-text-main);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
  color: var(--gdpr-gold-color);
  margin-right: 10px;
}

.page-gdpr__grid--security {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-gdpr__card--security {
  text-align: center;
  align-items: center;
}

.page-gdpr__security-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for icons */
  height: auto;
  margin-bottom: 20px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--gdpr-primary-color), 0.1);
}

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

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

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

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

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

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

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-gdpr__card,
  .page-gdpr__list-item,
  .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__security-icon {
    max-width: 200px;
  }

  /* Mobile specific image and video responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr video,
  .page-gdpr__video {
    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__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Additional contrast considerations */
.page-gdpr p,
.page-gdpr li,
.page-gdpr__faq-answer {
  color: var(--gdpr-text-secondary);
}

.page-gdpr__card p {
  color: var(--gdpr-text-secondary);
}

.page-gdpr__list-item strong {
  color: var(--gdpr-gold-color);
}

.page-gdpr__main-title,
.page-gdpr__section-title,
.page-gdpr__card-title,
.page-gdpr__faq-question {
  color: var(--gdpr-gold-color);
}

/* Ensure text on primary button is main text color */
.page-gdpr__btn-primary {
  color: var(--gdpr-text-main);
}

/* Ensure text on secondary button is primary color for contrast */
.page-gdpr__btn-secondary {
  color: var(--gdpr-gold-color);
}