/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--fe88-text-main); /* Light text for dark background */
  background-color: var(--fe88-background); /* Dark background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px;
  background-color: var(--fe88-background);
}

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

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up over the bottom of the image for visual flow */
  position: relative; /* Ensure content is above image when overlapping */
  z-index: 1;
  background: linear-gradient(to bottom, transparent 0%, var(--fe88-background) 80%);
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--fe88-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  color: var(--fe88-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--fe88-button-gradient);
  color: var(--fe88-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
  filter: brightness(1.1);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--fe88-text-main);
  border: 2px solid var(--fe88-primary-color);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-gdpr__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(34, 199, 104, 0.1);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--fe88-background);
  border-radius: 10px;
}

.page-gdpr__dark-section {
  background-color: var(--fe88-background);
  color: var(--fe88-text-main);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--fe88-primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(34, 199, 104, 0.3);
}

.page-gdpr__paragraph {
  font-size: 1.05rem;
  color: var(--fe88-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-gdpr__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  max-width: 100%;
  height: auto;
}

.page-gdpr__text-content {
  flex: 1;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--fe88-text-secondary);
  font-size: 1.05rem;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--fe88-primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  top: -2px;
}

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

.page-gdpr__btn-text {
  display: inline-block;
  color: var(--fe88-primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-right: 20px;
  font-size: 1.05rem;
}

.page-gdpr__btn-text:hover {
  color: var(--fe88-gold-color);
  text-decoration: underline;
}

.page-gdpr__related-links {
  margin-top: 30px;
  text-align: center;
}

/* FAQ Section */
.page-gdpr__faq-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: var(--fe88-card-bg);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

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

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

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

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  color: var(--fe88-primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--fe88-text-secondary);
  line-height: 1.7;
  background-color: var(--fe88-background);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -50px;
  }
}

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

  .page-gdpr__hero-content {
    padding: 30px 15px;
    margin-top: 0;
    background: var(--fe88-background); /* Solid background on mobile to prevent text over image */
  }

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8rem;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__btn-text {
    font-size: 0.95rem;
  }

  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__text-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__faq-section {
    margin: 30px auto;
    padding: 20px 15px;
  }

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

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-image {
    padding-left: 0;
    padding-right: 0;
  }
  .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__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    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;
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .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-wrap: wrap !important;
    gap: 10px;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}