/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --gowin-primary-color: #2F6BFF;
  --gowin-secondary-color: #6FA3FF;
  --gowin-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --gowin-card-bg: #FFFFFF;
  --gowin-background: #F4F7FB;
  --gowin-text-main: #1F2D3D;
  --gowin-text-black: #000000;
  --gowin-border-color: #D6E2FF;
  --gowin-glow-color: #A5C4FF;
}

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

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for separation */
  color: #ffffff;
  overflow: hidden;
  background-color: var(--gowin-primary-color); /* Fallback for dark-bg */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast, but not changing color */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual appeal */
  padding: 0 20px;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 100%;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: var(--gowin-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--gowin-card-bg); /* White background for content */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-top: -40px; /* Overlap with hero section */
  position: relative;
  z-index: 5;
}

.page-privacy-policy__article {
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gowin-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gowin-border-color);
  padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--gowin-text-main);
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--gowin-text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-privacy-policy__list-item strong {
  color: var(--gowin-text-black);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-privacy-policy__contact-link {
  color: var(--gowin-primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-privacy-policy__contact-link:hover {
  color: var(--gowin-secondary-color);
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--gowin-border-color);
}

.page-privacy-policy__cta-button {
  font-size: 1.2rem;
  padding: 18px 35px;
}

.page-privacy-policy__faq-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gowin-border-color);
}

.page-privacy-policy__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-privacy-policy__faq-item {
  background-color: var(--gowin-card-bg);
  border: 1px solid var(--gowin-border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gowin-text-black);
  cursor: pointer;
  list-style: none;
  outline: none;
  background-color: #f9f9f9;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-item summary:hover {
  background-color: #f0f0f0;
  color: var(--gowin-primary-color);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gowin-primary-color);
}

.page-privacy-policy__faq-item[open] summary {
  background-color: var(--gowin-primary-color);
  color: #ffffff;
  border-bottom-color: var(--gowin-primary-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  color: #ffffff;
}

.page-privacy-policy__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--gowin-text-main);
  background-color: var(--gowin-card-bg);
  border-top: 1px solid var(--gowin-border-color);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-privacy-policy__hero-content {
    margin-top: -80px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-privacy-policy__hero-content {
    margin-top: -60px;
    padding: 0 15px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-privacy-policy__content-area {
    padding: 30px 15px;
    margin-top: -30px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }
  .page-privacy-policy__cta-wrapper {
    margin-top: 40px;
    padding-top: 20px;
  }
  .page-privacy-policy__cta-button {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
  .page-privacy-policy__faq-section {
    margin-top: 40px;
    padding-top: 30px;
  }
  .page-privacy-policy__faq-item summary {
    padding: 15px;
    font-size: 1rem;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow for image containers */
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile vertical stacking for button groups */
  }
}

/* Color Contrast Fixes (if needed, based on background analysis) */
.page-privacy-policy__dark-bg {
  background-color: var(--gowin-primary-color);
  color: #ffffff;
}

.page-privacy-policy__light-bg {
  background-color: var(--gowin-background);
  color: var(--gowin-text-main);
}

/* Ensure all text within .page-privacy-policy is readable */
.page-privacy-policy p, .page-privacy-policy li, .page-privacy-policy strong {
  color: var(--gowin-text-main);
}
.page-privacy-policy__dark-bg p, .page-privacy-policy__dark-bg li, .page-privacy-policy__dark-bg strong {
  color: #ffffff;
}

/* No filter on images */
.page-privacy-policy img {
  filter: none; /* Ensure no color-changing filters */
}

/* Specific filter for hero image to dim, not change color */
.page-privacy-policy__hero-image {
  filter: brightness(0.7);
}