/* style/gdpr.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light-card: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so text is light */
  line-height: 1.6;
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: 120px; /* Desktop: Adjust for fixed header */
  text-align: center;
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg, var(--secondary-color) 0%, #a02020 100%);
  overflow: hidden;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-gdpr__numbered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #FFC107;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__contact-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__contact-button:hover {
  background-color: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 100px; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 15px;
  }

  .page-gdpr__list,
  .page-gdpr__numbered-list {
    margin-left: 20px;
  }

  .page-gdpr__contact-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 所有图片的基础响应式样式 */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* 移动端强制适配（必须包含） */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

/* 颜色对比度保障 */
.page-gdpr__dark-bg {
  color: var(--text-light);
}

.page-gdpr__main-title,
.page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__contact-button {
  background-color: var(--primary-color);
  color: var(--text-dark); /* Ensure dark text on gold button */
}

.page-gdpr__contact-button:hover {
  background-color: #FFC107;
}

.page-gdpr__link {
  color: var(--primary-color);
}

.page-gdpr__link:hover {
  color: #FFC107;
}