/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark sections */
}

.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 */
  overflow: hidden;
  background-color: #08160F;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #F2FFF6;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-gdpr__btn-secondary {
  background: #0A4B2C;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background: #1E3A2A;
  color: #57E38D;
}

.page-gdpr__content-section,
.page-gdpr__data-collection-section,
.page-gdpr__security-section,
.page-gdpr__changes-section {
  padding: 60px 20px;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section,
.page-gdpr__useful-links-section {
  padding: 60px 20px;
  background-color: #11271B;
  color: #F2FFF6;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #F2C14E;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-gdpr__text-block a {
  color: #57E38D;
  text-decoration: none;
}

.page-gdpr__text-block a:hover {
  text-decoration: underline;
}

.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-gdpr__card {
  background-color: #0A4B2C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #A7D9B8;
}

.page-gdpr__flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.page-gdpr__text-column {
  flex: 2;
  min-width: 300px;
}

.page-gdpr__image-column {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #57E38D;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-gdpr__link-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

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

.page-gdpr__link-list a {
  color: #57E38D;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-gdpr__link-list a:hover {
  color: #F2C14E;
  text-decoration: underline;
}

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

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

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

  .page-gdpr__hero-description {
    font-size: clamp(0.9em, 3vw, 1.1em);
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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;
    margin-left: 0 !important;
  }

  .page-gdpr__button-group {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__grid--3-col {
    grid-template-columns: 1fr;
  }

  .page-gdpr__flex-row {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__text-column,
  .page-gdpr__image-column {
    min-width: unset;
    width: 100%;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
  }

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

  .page-gdpr__content-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__changes-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__contact-section,
  .page-gdpr__useful-links-section {
    padding: 40px 15px;
  }

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

  .page-gdpr__card,
  .page-gdpr__section,
  .page-gdpr__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Smart text color selection based on background brightness (for dynamic or unknown backgrounds) */
/* Assuming default body background from shared.css is dark, applying light text */
.page-gdpr__light-bg {
  color: #F2FFF6; /* Main text color for light-like sections */
  background: #08160F; /* Default background */
}

.page-gdpr__dark-section {
  color: #F2FFF6; /* Main text color for dark sections */
  background: #11271B; /* Card BG */
}

/* Specific elements for contrast */
.page-gdpr__card-title {
  color: #F2C14E;
}

.page-gdpr__card-text {
  color: #A7D9B8;
}

.page-gdpr__text-block {
  color: #A7D9B8;
}

.page-gdpr__text-block a {
  color: #57E38D;
}

.page-gdpr__text-block a:hover {
  color: #F2C14E;
}

.page-gdpr__sub-title {
  color: #57E38D;
}

.page-gdpr__link-list a {
  color: #57E38D;
}

.page-gdpr__link-list a:hover {
  color: #F2C14E;
}