/* style/gdpr.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-color: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

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

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

/* HERO Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.page-gdpr__hero-image img:hover {
  transform: scale(1.02);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-gdpr__section {
  padding: 50px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-gdpr__subsection-title {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-main);
}

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

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-gdpr__list li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-main);
}

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

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

.page-gdpr__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}

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

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

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--card-bg), 0.8);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.page-gdpr__faq-answer p {
  margin-top: 10px;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Mobile top padding */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section {
    padding: 30px 0;
  }

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

  .page-gdpr__subsection-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__image-wrapper {
    margin: 20px auto;
  }

  .page-gdpr__image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-qtext {
    font-size: 1rem;
  }

  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
  
  /* Ensure all content containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure image filter is not used */
.page-gdpr img {
  filter: none; /* Explicitly disable any potential filters */
}

/* Color Contrast Fixes (if needed) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}