/* style/gdpr.css */

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

.page-gdpr {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-gdpr__hero-section {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--color-deep-green); /* Using Deep Green for contrast */
  border-bottom: 1px solid var(--color-divider);
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--color-gold); /* Using gold for main title to stand out */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Added for mobile responsiveness */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Ensure padding and border are included in width */
  max-width: 300px; /* Limit individual button width */
}

.page-gdpr__btn-primary {
  background: var(--btn-gradient);
  color: var(--color-text-main); /* White-ish text on dark button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--color-primary); /* Green text */
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-divider);
}

.page-gdpr__section--intro {
  background-color: var(--color-background);
}

.page-gdpr__section--data-collection,
.page-gdpr__section--contact {
  background-color: var(--color-deep-green);
}

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

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

.page-gdpr__article-wrap {
  max-width: 900px; /* Narrower for readability */
  margin: 0 auto;
}

.page-gdpr__heading {
  font-size: 2.2em;
  color: var(--color-primary);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-gdpr p {
  margin-bottom: 1em;
  color: var(--color-text-main);
}

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

.page-gdpr a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.page-gdpr__list {
  list-style: disc;
  margin: 0 0 1.5em 25px;
  color: var(--color-text-secondary);
}

.page-gdpr__list li {
  margin-bottom: 0.8em;
}

.page-gdpr__image-wrapper {
  margin: 40px auto;
  max-width: 680px; /* Matches image placeholder width */
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Ensure image itself has border-radius */
}

.page-gdpr__image-caption {
  font-size: 0.9em;
  color: var(--color-text-secondary);
  margin-top: 10px;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for caption */
}

.page-gdpr__promo-box {
  background-color: var(--color-card-bg); /* Darker card background */
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 30px;
  margin: 50px auto;
  text-align: center;
  max-width: 700px;
  box-shadow: 0 0 20px var(--color-glow); /* Subtle glow */
}

.page-gdpr__promo-title {
  font-size: 1.8em;
  color: var(--color-gold);
  margin-bottom: 15px;
}

.page-gdpr__promo-text {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
}

.page-gdpr__last-update {
  text-align: right;
  font-size: 0.9em;
  color: var(--color-text-secondary);
  margin-top: 40px;
}

.page-gdpr__cta-buttons--bottom {
  margin-top: 40px;
}


/* --- Responsive Styles --- */

/* @media (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__heading {
    font-size: 2em;
  }
  .page-gdpr__section {
    padding: 50px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
}


/* @media (max-width: 768px) - Mobile Specific Styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  /* 1. Top Section Title + CTA */
  .page-gdpr__hero-section {
    padding: 10px 15px 20px 15px !important; /* Adjusted top padding to 10px as per instruction */
  }
  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important; /* Ensure buttons take full width */
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__cta-buttons--bottom {
    flex-direction: column;
    gap: 15px;
  }

  /* 2. Single Column Long Text Container */
  .page-gdpr__section {
    padding: 30px 0;
  }
  .page-gdpr__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-gdpr__container,
  .page-gdpr__article-wrap,
  .page-gdpr__promo-box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr p,
  .page-gdpr li {
    font-size: 1em;
  }

  /* 3. General Images and Figure */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__image-wrapper {
    margin: 20px auto;
    border-radius: 5px;
  }
  .page-gdpr__image-caption {
    font-size: 0.85em;
  }

  /* 4. Buttons and Button Containers (covered above, ensuring explicit mention in list) */
  /* .page-gdpr__cta-buttons, .page-gdpr__btn-primary, .page-gdpr__btn-secondary rules ensure responsiveness */

  /* 5. Registration Tutorial and FAQ Blocks (N/A for this page, but general text blocks for structure) */
  .page-gdpr__list {
    margin-left: 20px;
  }
  .page-gdpr__promo-box {
    padding: 20px;
    margin: 30px auto;
  }
  .page-gdpr__promo-title {
    font-size: 1.5em;
  }
  .page-gdpr__promo-text {
    font-size: 1em;
  }
  .page-gdpr__last-update {
    text-align: center;
    margin-top: 20px;
  }
}