/* style/gdpr.css */

/* General Styles */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color for dark body background */
  background-color: #08160F; /* Body background */
}

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

.page-gdpr__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-gdpr__light-bg {
  background-color: #11271B; /* Card BG as light background for contrast */
  color: #F2FFF6;
}

.page-gdpr__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-gdpr__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
  color: #F2FFF6;
}

.page-gdpr__inline-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: #2AD16F;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #F2FFF6;
  padding: 20px;
  max-width: 900px;
}

.page-gdpr__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
}

.page-gdpr__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-gdpr__cta-button--secondary {
  background: #11271B; /* Card BG */
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Border */
  margin-left: 15px;
}

.page-gdpr__cta-button--secondary:hover {
  background: #1E3A2A; /* Deep Green */
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

.page-gdpr__cta-button--large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Principles Section */
.page-gdpr__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-gdpr__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 16px;
  color: #A7D9B8;
}

/* Rights Section & Data Processing Section */
.page-gdpr__rights-list,
.page-gdpr__processing-list,
.page-gdpr__security-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #F2FFF6;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
  font-size: 20px;
}

.page-gdpr__image-content {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #F2C14E; /* Gold */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-gdpr__faq-question:hover {
  background-color: #0A4B2C;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-gdpr__hero-description {
    font-size: 16px;
  }

  .page-gdpr__cta-button {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    max-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-button--secondary {
    margin-top: 0;
  }

  .page-gdpr__cta-section .page-gdpr__container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-gdpr__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }

  .page-gdpr__text-block, .page-gdpr__card-text, .page-gdpr__list-item, .page-gdpr__faq-answer p {
    font-size: 15px;
  }

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

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 20px;
  }

  .page-gdpr__list-item {
    padding-left: 25px;
  }

  .page-gdpr__list-item::before {
    font-size: 18px;
  }

  .page-gdpr__faq-question {
    font-size: 16px;
    padding: 18px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 18px 20px;
  }

  /* Ensure images and videos are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image {
    filter: brightness(0.4);
  }

  .page-gdpr__image-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

/* Ensure all images are content images, not icons and meet min size */
.page-gdpr img:not([alt*="icon"]) {
    min-width: 200px;
    min-height: 200px;
}