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

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

.page-gdpr__section {
  padding: 80px 0;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gp88-primary-color);
}

.page-gdpr__section-title--light {
  color: var(--gp88-text-main);
}

.page-gdpr__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--gp88-text-secondary);
}

.page-gdpr__section-description--light {
  color: var(--gp88-text-main);
}

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

.page-gdpr__container--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.8em); /* Responsive font size */
  font-weight: 700;
  color: var(--gp88-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-gdpr__cta-buttons--inline {
  justify-content: flex-start;
}

.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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: var(--gp88-btn-gradient);
  color: var(--gp88-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(--gp88-primary-color);
  border: 2px solid var(--gp88-primary-color);
}

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

/* Content Grid */
.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

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

.page-gdpr__text-block {
  padding: 20px;
}

.page-gdpr__text-block--light {
  color: var(--gp88-text-main);
}

.page-gdpr__text-block h3 {
  font-size: 1.8em;
  color: var(--gp88-primary-color);
  margin-bottom: 15px;
}

.page-gdpr__text-block--light h3 {
  color: var(--gp88-gold-color);
}

.page-gdpr__text-block p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--gp88-text-secondary);
}

.page-gdpr__text-block--light p {
  color: var(--gp88-text-main);
}

.page-gdpr__text-block a {
  color: var(--gp88-gold-color);
  text-decoration: underline;
}

.page-gdpr__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__image-wrapper--center {
  margin-top: 40px;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Principles Grid */
.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: var(--gp88-card-bg);
  border: 1px solid var(--gp88-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--gp88-text-main);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--gp88-gold-color);
  margin-bottom: 15px;
}

.page-gdpr__card p {
  font-size: 1em;
  color: var(--gp88-text-secondary);
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: var(--gp88-text-main);
  background-color: var(--gp88-deep-green);
}

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

.page-gdpr__faq-qtext {
  color: var(--gp88-text-main);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gp88-gold-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 20px 30px;
  font-size: 1.1em;
  color: var(--gp88-text-secondary);
  border-top: 1px solid var(--gp88-divider-color);
}

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

/* Commitment Section */
.page-gdpr__commitment-section {
  padding-bottom: 80px;
}

.page-gdpr__commitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Background colors for sections */
.page-gdpr__dark-bg {
  background-color: var(--gp88-background);
}

.page-gdpr__light-bg {
  background-color: #0d1e15; /* A slightly lighter dark green to provide contrast */
  color: var(--gp88-text-main);
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--gp88-gold-color);
}

.page-gdpr__light-bg .page-gdpr__section-description {
  color: var(--gp88-text-secondary);
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2.2em;
  }

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

  .page-gdpr__content-grid {
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 60px 0;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-gdpr__content-grid,
  .page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-gdpr__text-block {
    padding: 0;
  }

  .page-gdpr__image-wrapper {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 30px;
  }

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

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

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

  /* Mobile 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__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-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}