/* style/gdpr.css */

:root {
  --primary-color: #CC0000; /* Đỏ - Passion, Luck */
  --secondary-color: #003366; /* Xanh đậm - Professionalism, Trust */
  --accent-color: #FFD700; /* Vàng kim - Luxury, Highlight */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0a192f;
  --border-color: #e0e0e0;
}

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

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

.page-gdpr .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3 {
  color: var(--secondary-color);
}

.page-gdpr p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-gdpr a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.page-gdpr .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
  min-height: 450px;
  background-color: var(--background-dark);
}

.page-gdpr .hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr .hero-image-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Make image darker for text readability */
  z-index: 1;
}

.page-gdpr .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 900px;
  color: var(--text-color-light);
  padding: 40px 20px;
}

.page-gdpr .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr .cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr .secondary-button {
  background: var(--secondary-color);
}

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

/* General Section Styling */
.page-gdpr section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-gdpr section:nth-of-type(even) {
  background-color: #e9ecef; /* Slightly different background for visual break */
}

.page-gdpr .content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-gdpr .content-wrapper .text-content {
  flex: 1;
}

.page-gdpr .content-wrapper .image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr .content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr .wide-image {
  display: block;
  margin: 40px auto;
  max-width: 80%;
}

/* Data Points */
.page-gdpr .data-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr .data-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr .data-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

/* Lists */
.page-gdpr ul {
  list-style: disc inside;
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-gdpr ul li {
  margin-bottom: 0.8em;
  font-size: 1.1em;
}

.page-gdpr .list-legal-basis li strong, .page-gdpr .list-security-measures li strong, .page-gdpr .list-sharing li strong, .page-gdpr .list-cookies li strong {
  color: var(--primary-color);
}

/* User Rights Grid */
.page-gdpr .rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr .right-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--secondary-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-gdpr .right-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.page-gdpr .right-item-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-gdpr .note-text {
  text-align: center;
  font-style: italic;
  margin-top: 40px;
  font-size: 1em;
  color: #666;
}

/* Contact Info */
.page-gdpr .contact-info {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  text-align: center;
}

.page-gdpr .contact-info p {
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-gdpr .faq-list {
  margin-top: 40px;
}

.page-gdpr .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-gdpr .faq-question:hover {
  background: #f5f5f5;
}

.page-gdpr .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

.page-gdpr .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-gdpr .faq-item.active .faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to become an X or minus */
  color: var(--primary-color);
}

.page-gdpr .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-gdpr .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to show content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.page-gdpr .faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr .hero-title {
    font-size: 2.8em;
  }
  .page-gdpr .hero-description {
    font-size: 1.1em;
  }
  .page-gdpr .section-title {
    font-size: 2em;
  }
  .page-gdpr .content-wrapper {
    flex-direction: column;
  }
  .page-gdpr .content-wrapper .image-content {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-gdpr .wide-image {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .page-gdpr .hero-section {
    min-height: 400px;
  }
  .page-gdpr .hero-title {
    font-size: 2.2em;
  }
  .page-gdpr .hero-description {
    font-size: 1em;
  }
  .page-gdpr .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-gdpr .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr p, .page-gdpr ul li, .page-gdpr .faq-answer p {
    font-size: 1em;
  }
  .page-gdpr .data-item, .page-gdpr .right-item {
    padding: 25px;
  }
  .page-gdpr .data-item-title, .page-gdpr .right-item-title {
    font-size: 1.3em;
  }
  .page-gdpr .faq-question {
    padding: 15px;
  }
  .page-gdpr .faq-question h3 {
    font-size: 1.1em;
  }
  .page-gdpr .faq-toggle {
    font-size: 1.5em;
  }
  .page-gdpr .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr .hero-section {
    padding: 20px 0;
    min-height: 350px;
  }
  .page-gdpr .hero-title {
    font-size: 1.8em;
  }
  .page-gdpr .hero-description {
    font-size: 0.9em;
  }
  .page-gdpr .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-gdpr .section-title {
    font-size: 1.5em;
  }
  .page-gdpr .container {
    padding: 15px;
  }
  .page-gdpr .data-points, .page-gdpr .rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr .faq-question h3 {
    font-size: 1em;
  }
}