/* style/gdpr.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

:root {
  --page-gdpr-primary-color: #C91F17;
  --page-gdpr-secondary-color: #E53935;
  --page-gdpr-text-main: #FFF5E1;
  --page-gdpr-card-bg: #D32F2F;
  --page-gdpr-background-general: #B71C1C;
  --page-gdpr-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --page-gdpr-border-color: #F2B544;
  --page-gdpr-glow-color: #FFCC66;
  --page-gdpr-gold-color: #F4D34D;
  --page-gdpr-deep-red: #7A0E0E;
}

.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-general);
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để tránh trùng với padding-top của body */
  background-color: var(--page-gdpr-deep-red);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-gdpr-gold-color);
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #333333;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--page-gdpr-gold-color);
  border: 2px solid var(--page-gdpr-gold-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-gold-color);
  color: var(--page-gdpr-deep-red);
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__background-secondary {
  background-color: var(--page-gdpr-card-bg);
}

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-gdpr-gold-color);
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
  text-align: left;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

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

.page-gdpr__image-text-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-left,
.page-gdpr__image-right {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__text-content {
  flex: 1;
}

.page-gdpr__cta-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-gdpr__image-text-block,
  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }

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

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

  .page-gdpr__hero-section,
  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body đã xử lý offset */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px;
    margin-bottom: 10px; /* Khoảng cách giữa các nút khi xếp chồng */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

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

  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-text-block,
  .page-gdpr__image-text-block--reverse,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-gdpr__section.page-gdpr__commitment-section .page-gdpr__container,
  .page-gdpr__section.page-gdpr__principles-section .page-gdpr__container,
  .page-gdpr__section.page-gdpr__rights-section .page-gdpr__container,
  .page-gdpr__section.page-gdpr__data-protection-section .page-gdpr__container,
  .page-gdpr__section.page-gdpr__processing-sharing-section .page-gdpr__container,
  .page-gdpr__section.page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__section.page-gdpr__cta-section .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}