/* style/gdpr.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* Từ body background */
  --btn-login-color: #EA7C07;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Màu chữ mặc định cho nền tối của body */
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ để không bị lặp với body padding-top */
  overflow: hidden;
  background-color: var(--bg-dark);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
  font-size: 1.15em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__introduction-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__data-collection-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__rights-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__security-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__contact-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__conclusion-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.page-gdpr__light-bg {
  background: var(--secondary-color);
  color: var(--text-dark);
}

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

.page-gdpr__light-bg .page-gdpr__card-title {
  color: var(--primary-color);
}

.page-gdpr__card p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
}

.page-gdpr__light-bg .page-gdpr__card p {
  color: var(--text-dark);
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.page-gdpr__light-bg .page-gdpr__list {
  color: var(--text-dark);
}

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

.page-gdpr__list li strong {
  color: var(--secondary-color);
}

.page-gdpr__light-bg .page-gdpr__list li strong {
  color: var(--primary-color);
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  display: block;
}

.page-gdpr__image-centered {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Details element native toggle styling */
.page-gdpr__faq-item summary {
  list-style: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.page-gdpr__contact-info a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: var(--btn-login-color);
  color: var(--secondary-color);
  border: 2px solid var(--btn-login-color);
}

.page-gdpr__btn-primary:hover {
  background: darken(var(--btn-login-color), 10%);
  border-color: darken(var(--btn-login-color), 10%);
}

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

.page-gdpr__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__section {
    padding: 60px 0;
  }

  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }

  .page-gdpr__hero-section {
    min-height: 400px;
  }

  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

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

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

  .page-gdpr__hero-description,
  .page-gdpr__text-block,
  .page-gdpr__contact-info {
    font-size: 1em;
  }

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

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__list,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}