/* CSS cho trang Tuân thủ GDPR của GU88 */

/* Biến màu sắc */
:root {
  --gu88-primary-color: #2F6BFF;
  --gu88-secondary-color: #6FA3FF;
  --gu88-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --gu88-card-bg: #FFFFFF;
  --gu88-background: #F4F7FB;
  --gu88-text-main: #1F2D3D;
  --gu88-text-black: #000000;
  --gu88-border-color: #D6E2FF;
  --gu88-glow-color: #A5C4FF;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--gu88-text-main); /* Default text color for light background */
  background-color: var(--gu88-background); /* Default background */
  line-height: 1.6;
}

/* HERO Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, main offset from body padding-top */
  margin-bottom: 40px;
  background-color: var(--gu88-primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gu88-button-gradient);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-gdpr__cta-button--secondary {
  background: #FFFFFF;
  color: var(--gu88-primary-color);
  border: 2px solid var(--gu88-primary-color);
  box-shadow: none;
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--gu88-primary-color);
  color: #FFFFFF;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-gdpr__light-bg {
  background-color: var(--gu88-background);
  color: var(--gu88-text-main);
}

.page-gdpr__dark-bg {
  background-color: var(--gu88-primary-color);
  color: #FFFFFF;
}

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

.page-gdpr__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section (light/dark bg) */
}

.page-gdpr__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

.page-gdpr__list-item strong {
  color: inherit;
}

/* Grid Container for Rights Section */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: var(--gu88-card-bg);
  border: 1px solid var(--gu88-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--gu88-text-main);
}

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

.page-gdpr__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gu88-primary-color);
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gu88-text-main);
}

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

.page-gdpr a:hover {
  color: var(--gu88-secondary-color);
}

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

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

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

  .page-gdpr__content-section {
    padding: 50px 0;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, main offset from body padding-top */
    margin-bottom: 30px;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem); /* Further adjust H1 for mobile */
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-button, .page-gdpr__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .page-gdpr__content-section {
    padding: 30px 0;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-gdpr__paragraph {
    font-size: 1rem;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-gdpr__list {
    margin-left: 10px;
    font-size: 1rem;
  }

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

  .page-gdpr__card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__card-text {
    font-size: 0.9rem;
  }
}