/* style/gdpr.css */

/* Body background is #08160F (dark), so text should be light */
.page-gdpr {
  color: #F2FFF6; /* Text Main */
  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;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  background: #08160F; /* Background */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height to prevent overly large hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  color: #F2FFF6;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-gdpr__dark-bg {
  background: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__light-bg {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__image-with-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-with-text--right .page-gdpr__text-content {
  flex: 1;
}

.page-gdpr__image-with-text--right .page-gdpr__image-wrapper {
  flex: 0 0 40%;
  max-width: 40%;
}

.page-gdpr__image-with-text--left .page-gdpr__text-content {
  flex: 1;
}

.page-gdpr__image-with-text--left .page-gdpr__image-wrapper {
  flex: 0 0 40%;
  max-width: 40%;
}

.page-gdpr__image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 0;
  background: #0A4B2C; /* Deep Green */
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-gdpr__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1); /* Slight background on hover */
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__image-with-text {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__image-with-text--right .page-gdpr__image-wrapper,
  .page-gdpr__image-with-text--left .page-gdpr__image-wrapper {
    max-width: 80%;
    order: -1; /* Image appears above text on smaller screens */
  }

  .page-gdpr__hero-content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-gdpr__main-title {
    font-size: 2rem;
  }

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

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

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__image-with-text--right .page-gdpr__image-wrapper,
  .page-gdpr__image-with-text--left .page-gdpr__image-wrapper {
    max-width: 100%;
  }

  .page-gdpr__content-area,
  .page-gdpr__section,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content area images are at least 200px */
  .page-gdpr__image {
    min-width: 200px;
    min-height: 200px;
  }
}