/* style/privacy-policy.css */

:root {
  --ko66-primary-color: #26A9E0;
  --ko66-secondary-color: #FFFFFF;
  --ko66-login-color: #EA7C07;
  --ko66-text-dark: #333333;
  --ko66-text-light: #FFFFFF;
  --ko66-body-bg: #1a1a2e; /* From shared.css */
}

.page-privacy-policy {
  color: var(--ko66-text-light); /* Text for dark body background */
  background-color: var(--ko66-body-bg);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-privacy-policy__hero-content {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 30px;
  color: var(--ko66-text-light);
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ko66-secondary-color);
  max-width: 100%;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--ko66-text-light);
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--ko66-primary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--ko66-secondary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.page-privacy-policy__highlight {
  color: var(--ko66-primary-color);
  font-weight: bold;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__contact-item strong {
  color: var(--ko66-primary-color);
}

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

.page-privacy-policy__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--ko66-text-light);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ko66-secondary-color);
  list-style: none; /* Hide default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.0em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: linear-gradient(90deg, #26A9E0, #1a7bb5);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-text {
  font-size: 1.4em;
  color: var(--ko66-secondary-color);
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-privacy-policy__btn-primary {
  background: var(--ko66-login-color); /* #EA7C07 */
  color: var(--ko66-secondary-color);
  border: 2px solid var(--ko66-login-color);
}

.page-privacy-policy__btn-primary:hover {
  background: darken(var(--ko66-login-color), 10%);
  border-color: darken(var(--ko66-login-color), 10%);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--ko66-secondary-color);
  border: 2px solid var(--ko66-secondary-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

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

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

  .page-privacy-policy__hero-image {
    max-height: 300px;
  }

  .page-privacy-policy__hero-content {
    margin-top: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block {
    font-size: 1em;
  }

  /* Mobile image responsive adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-privacy-policy__cta-section {
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    display: block;
    margin: 10px auto;
    width: calc(100% - 30px) !important; /* Account for padding */
    max-width: 300px !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }
}