/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  color: var(--text-main);
  background-color: var(--background-color);
  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;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--deep-green) 0%, var(--background-color) 100%);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-gdpr__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow, but text is below image in DOM */
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.page-gdpr__content-section {
  padding: 60px 0;
}

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

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

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

.page-gdpr__paragraph strong {
  color: var(--text-main);
}

.page-gdpr__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-title {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
}

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__rights-list .page-gdpr__list-item,
.page-gdpr__security-list .page-gdpr__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--glow);
  text-decoration: underline;
}

.page-gdpr__contact-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: rgba(17, 39, 27, 0.5); /* Slightly lighter card background for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-gdpr__faq-question:hover {
  background-color: rgba(17, 39, 27, 0.7);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

.page-gdpr__faq-answer .page-gdpr__paragraph:last-child {
  margin-bottom: 0;
}

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

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

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

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

  .page-gdpr__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-gdpr__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__paragraph {
    font-size: 0.95rem;
  }

  .page-gdpr__card,
  .page-gdpr__rights-list .page-gdpr__list-item,
  .page-gdpr__security-list .page-gdpr__list-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-gdpr__card-title,
  .page-gdpr__list-title {
    font-size: 1.3rem;
  }

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

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

  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
  
  /* Ensure all containers with images/buttons/videos are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__contact-card,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

/* Ensure content area images are at least 200px */
.page-gdpr p img, .page-gdpr ul img, .page-gdpr div img:not(.page-gdpr__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast fixes based on body background #08160F (dark) */
.page-gdpr {
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__paragraph {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__card {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__link {
  color: var(--gold); /* #F2C14E */
}

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

.page-gdpr__faq-toggle {
  color: var(--glow);
}

.page-gdpr__faq-answer {
  color: var(--text-secondary);
}