/* style/gdpr.css */

/* Biến CSS */
:root {
  --page-gdpr-primary-color: #0A2463;
  --page-gdpr-secondary-color: #E3B505;
  --page-gdpr-text-dark: #2C3E50; /* Màu chữ chính, đủ tương phản */
  --page-gdpr-text-light: #F8F8F8; /* Màu chữ cho nền tối */
  --page-gdpr-bg-light: #FFFFFF; /* Nền sáng */
  --page-gdpr-bg-dark: #0A2463; /* Nền tối */
  --page-gdpr-accent-color: #f5db9c; /* Màu nhấn từ phân tích */
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-dark);
  background-color: var(--page-gdpr-bg-light);
}

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

.page-gdpr__hero-section {
  background: linear-gradient(135deg, var(--page-gdpr-primary-color) 0%, #1A3E7B 100%); /* Sử dụng gradient với màu chính */
  color: var(--page-gdpr-text-light);
  padding: 80px 0;
  text-align: center;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--page-gdpr-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--page-gdpr-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-gdpr__grid:nth-of-type(even) {
  flex-direction: row-reverse; /* Đổi thứ tự ảnh và văn bản */
}

.page-gdpr__text-block {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__list li {
  background-color: #f0f4f8;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--page-gdpr-secondary-color);
  border-radius: 4px;
  font-size: 1.05em;
}

.page-gdpr__list-item-title {
  color: var(--page-gdpr-primary-color);
}

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

.page-gdpr__right-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__right-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__security-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__security-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-gdpr__item-title {
  font-size: 1.3em;
  color: var(--page-gdpr-primary-color);
  margin-bottom: 10px;
}

.page-gdpr__contact-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-top: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__cta-section {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-light);
  padding: 60px 0;
  text-align: center;
  margin-top: 60px;
}

.page-gdpr__cta-content {
  max-width: 900px;
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  color: var(--page-gdpr-secondary-color);
  margin-bottom: 20px;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-gdpr__cta-button {
  display: inline-block;
  background-color: var(--page-gdpr-secondary-color);
  color: var(--page-gdpr-primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__cta-button:hover {
  background-color: #ebcb50; /* Một biến thể nhẹ hơn của màu phụ */
  transform: translateY(-3px);
}

.page-gdpr__highlight {
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
}

.page-gdpr__hero-description .page-gdpr__highlight {
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__link-text {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }

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

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

  .page-gdpr__grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__grid:nth-of-type(even) {
    flex-direction: column; /* Đảm bảo thứ tự cột vẫn là cột trên di động */
  }

  .page-gdpr__rights-grid, .page-gdpr__security-section {
    grid-template-columns: 1fr;
  }

  .page-gdpr__cta-title {
    font-size: 1.8em;
  }

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

@media (max-width: 480px) {
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  .page-gdpr__hero-title {
    font-size: 1.6em;
  }

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

  .page-gdpr__right-card,
  .page-gdpr__security-item {
    padding: 20px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}