/* style/gdpr.css */
/* Body background is #0D0E12 (dark), so default text color should be light (#FFF3E6) */

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Main text color for dark background */
  background-color: #0D0E12; /* Explicitly set to match shared.css expectation */
}

/* Ensure the main content area has appropriate padding */
.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;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  min-height: 450px; /* Ensure hero section has a minimum height */
  background-color: #17191F; /* Card BG for hero section */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3; /* Overlay for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #FFF3E6;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-gdpr__section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-gdpr__dark-section {
  background-color: #17191F; /* Card BG color */
  color: #FFF3E6;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__section-title--light {
  color: #FFB04D; /* Glow for titles on dark sections */
}

.page-gdpr__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #FFF3E6;
}

.page-gdpr__paragraph--light {
  color: #FFF3E6;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #FFF3E6;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFA53A; /* Accent color for list bullet */
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.page-gdpr__list-item--light {
  color: #FFF3E6;
}

.page-gdpr__list-item--light::before {
  color: #FFB04D;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-gdpr__link {
  color: #FFA53A;
  text-decoration: underline;
}

.page-gdpr__link--light {
  color: #FFB04D;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-gdpr__container {
    padding: 0 15px !important;
  }

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

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

  .page-gdpr__description-text {
    font-size: 1rem;
  }

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

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

  .page-gdpr__paragraph {
    font-size: 0.95rem;
  }

  .page-gdpr__list-item {
    font-size: 0.95rem;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin: 0 auto 20px auto;
    max-width: 100% !important;
  }

  /* Buttons responsive */
  .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;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8rem;
  }

  .page-gdpr__section-title {
    font-size: 1.5rem;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* Ensure content area images maintain minimum size if not full width */
.page-gdpr .page-gdpr__section img:not(.page-gdpr__hero-image) {
  min-width: 200px; 
  min-height: 200px;
}

/* Contrast fix for any unforeseen issues */
.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;
}