/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: #0a0a0a; /* Body background color from shared.css */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #FFFFFF;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-gdpr__btn-primary:hover {
  background: #d66f00;
  border-color: #d66f00;
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-gdpr__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay */
}

.page-gdpr__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 1;
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #26A9E0; /* Primary brand color */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
  padding-bottom: 10px;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr p a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list li strong {
  color: #26A9E0;
}

.page-gdpr__image-container {
  margin: 30px 0;
  text-align: center;
}

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

/* Video Section */
.page-gdpr__video-wrapper {
  margin: 40px 0;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__video-wrapper .page-gdpr__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-gdpr__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #ccc;
}

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

.page-gdpr__faq-item {
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #3a3a3a;
  color: #FFFFFF;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #4a4a4a;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #FFFFFF;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: #EA7C07;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

.page-gdpr__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .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: 12px 20px;
  }

  .page-gdpr__content-area {
    padding: 20px 15px;
    margin-top: -40px;
  }

  .page-gdpr__section-title {
    font-size: 1.5em;
  }

  .page-gdpr p,
  .page-gdpr li {
    font-size: 0.95em;
  }

  /* Responsive images */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-container,
  .page-gdpr__video-wrapper,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  /* Responsive videos */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
    height: 0 !important;
    position: relative !important;
  }
  .page-gdpr__video-link {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}