/* style/gdpr.css */

/* --- Base Styles for .page-gdpr (scoped to main content) --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Main text color for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
  line-height: 1.6;
  font-size: 16px;
}

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

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

.page-gdpr__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #F3C54D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFF1E8;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

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

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom */
  overflow: hidden;
  background-color: #140C0C; /* Match body background for seamless look */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to prevent overly tall image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
  font-weight: 800;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text for gold button */
  border: none;
  margin-top: 20px;
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold text */
  border: 2px solid #F3C54D; /* Gold border */
  margin-top: 20px;
}

.page-gdpr__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C; /* Dark text on gold hover */
  transform: translateY(-2px);
}

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

/* --- Content Grid Sections --- */
.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__content-grid--reverse {
  grid-template-areas: "image text"; /* Reverse order for some sections */
}

.page-gdpr__content-grid--reverse .page-gdpr__text-block {
  grid-area: text;
}

.page-gdpr__content-grid--reverse .page-gdpr__image-wrapper {
  grid-area: image;
}

.page-gdpr__image-wrapper {
  text-align: center;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it respects max-width */
  margin: 0 auto;
}

/* --- Dark Section Specifics --- */
.page-gdpr__dark-section {
  background-color: #2A1212; /* Card BG color */
  color: #FFF1E8; /* Main text color */
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #F3C54D; /* Gold for titles in dark sections */
}

.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list li {
  color: #FFF1E8;
}

/* Ensure no filter is applied to images */
.page-gdpr img {
  filter: none;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__main-title {
    font-size: clamp(28px, 5vw, 48px);
  }
  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__content-grid--reverse {
    grid-template-areas: unset; /* Remove explicit grid areas for mobile */
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 20px;
  }
  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 40px);
    max-width: 100%;
  }
  .page-gdpr__description {
    font-size: 16px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: unset !important; /* Remove max-height for mobile hero image */
  }

  /* Mobile button responsiveness */
  .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;
  }
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    overflow: hidden !important;
  }

  /* Ensure containers have padding on mobile */
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
}