/* style/gdpr.css */

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

/* Base Styles for .page-gdpr (assuming body has --bg-color from shared.css, which is likely dark) */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page, assuming dark background */
  background-color: var(--main-bg); /* Explicit background for main content area to ensure consistency */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-gdpr__hero-content {
  position: relative; /* Ensure content is below image in normal flow */
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
  background-color: rgba(17, 39, 27, 0.8); /* Semi-transparent card-bg for readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: var(--main-bg);
  color: var(--text-main);
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.page-gdpr__ordered-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-main);
}

.page-gdpr__list-item::before {
  content: '✔';
  color: var(--glow-color);
  position: absolute;
  left: 0;
  top: 0;
}

.page-gdpr__ordered-list .page-gdpr__list-item::before {
  content: none; /* Remove custom bullet for ordered list */
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
  object-fit: cover;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 400px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 400px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: none;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-gdpr__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--main-bg);
}

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

.page-gdpr__link:hover {
  color: var(--gold-color);
}

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

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-main);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-gdpr__faq-item {
  background-color: var(--main-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;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--primary-color);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow-color);
  line-height: 1;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 500px;
  }
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin: 30px auto;
    max-width: 100%;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

  .page-gdpr__content-section,
  .page-gdpr__faq-section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
  }

  /* Ensure no horizontal scroll for image/video containers */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__dark-section,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Ensure no filter is used for images */
.page-gdpr img {
  filter: none !important;
}