/* style/gdpr.css */

/* Biến màu sắc */
:root {
  --c7clubs-primary: #0A2463;
  --c7clubs-secondary: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f0f0f0;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

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

.page-gdpr__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-gdpr__dark-bg {
  background-color: var(--c7clubs-primary);
  color: var(--text-light);
}

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

/* Hero Section */
.page-gdpr__hero-section {
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--c7clubs-primary) 0%, #06173d 100%);
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:1920x1080:abstract_pattern,dark_blue,gold_accents]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 1.2em;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-gdpr__hero-image-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--c7clubs-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-gdpr__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Section Titles */
.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
  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(--c7clubs-secondary);
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__text-block strong {
  color: inherit;
}

.page-gdpr__highlight {
  color: var(--c7clubs-secondary);
  font-weight: bold;
}

.page-gdpr__list,
.page-gdpr__ordered-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__ordered-list {
  list-style: decimal;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit;
}

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

.page-gdpr__card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-light);
}

.page-gdpr__light-bg .page-gdpr__card {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.5;
  color: inherit;
}

/* Image Styling */
.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image-center {
  display: block;
  margin: 40px auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Links */
.page-gdpr__contact-link {
  color: var(--c7clubs-secondary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background: linear-gradient(135deg, #0A2463 0%, #06173d 100%);
  color: var(--text-light);
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--card-bg-dark);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-gdpr__faq-title {
  margin: 0;
  color: inherit;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--c7clubs-secondary);
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides other styles */
  padding: 15px 25px 25px 25px;
}

/* Call to Action Section */
.page-gdpr__call-to-action {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2463 0%, #06173d 100%);
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }

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

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

  .page-gdpr__hero-image-wrapper {
    max-width: 700px;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile spacing */
    padding-bottom: 60px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__section-title::after {
    width: 60px;
    height: 3px;
  }

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block, .page-gdpr__list-item {
    font-size: 1em;
  }

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

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

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

  .page-gdpr__card {
    padding: 25px;
  }

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

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

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-full-width,
  .page-gdpr__image-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

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

  .page-gdpr__call-to-action {
    padding: 60px 0;
  }

  .page-gdpr__btn-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
}