/* style/gdpr.css */

:root {
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* body đã padding-top: var(--header-offset) từ shared.css; trang này không được thêm lại */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Mặc định chữ sáng trên nền tối */
  background-color: var(--page-gdpr-background);
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Chỉ padding-bottom, padding-top nhỏ */
  padding-top: 10px;
  background-color: var(--page-gdpr-background);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--page-gdpr-gold);
  margin-bottom: 20px;
  max-width: 100%;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
}

.page-gdpr__content-area,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-collection-section,
.page-gdpr__security-section,
.page-gdpr__sharing-section,
.page-gdpr__storage-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section,
.page-gdpr__updates-section,
.page-gdpr__conclusion-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-background);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
  background-color: #0d1e15; /* Nền tối nhẹ để chữ sáng dễ đọc */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--page-gdpr-gold);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-gdpr-border);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: var(--page-gdpr-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__list-item {
  background-color: var(--page-gdpr-card-bg);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--page-gdpr-deep-green);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list-item strong {
  color: var(--page-gdpr-gold);
}

.page-gdpr__image-container {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-gdpr-border);
}

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

.page-gdpr a {
  color: var(--page-gdpr-glow);
  text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2.5em;
  }

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

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-content {
    padding: 10px;
    margin-top: 10px;
  }

  .page-gdpr__main-title {
    font-size: 1.8em; /* clamp is preferred, but this is a fallback for strict font-size rules */
    margin-bottom: 15px;
  }

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

  .page-gdpr__btn-primary {
    padding: 10px 20px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-area,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__sharing-section,
  .page-gdpr__storage-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__updates-section,
  .page-gdpr__conclusion-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block,
  .page-gdpr__card-text {
    font-size: 0.95em;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__list-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  .page-gdpr__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px; /* Ensure content padding */
  }

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

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

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

  .page-gdpr__btn-primary {
    width: 100%;
    padding: 12px 15px;
  }
}