/* style/privacy-policy.css */

/* Variables for brand colors */
:root {
  --w88-primary-color: #CC0000;
  --w88-secondary-color: #FFD700;
  --w88-dark-text: #333333;
  --w88-light-text: #ffffff;
  --w88-background-dark: #000000; /* From shared.css body */
  --w88-background-light: #f5f5f5;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--w88-light-text); /* Default text color for dark body background */
  line-height: 1.7;
  background-color: var(--w88-background-dark); /* Ensure consistency */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--w88-primary-color), #8B0000);
  color: var(--w88-light-text);
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--w88-light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--w88-secondary-color);
  color: var(--w88-dark-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  background: #E5B800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button--secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--w88-light-text);
  border: 2px solid var(--w88-light-text);
}

.page-privacy-policy__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--w88-secondary-color);
  color: var(--w88-secondary-color);
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-privacy-policy__content-section {
  padding: 60px 20px;
  color: var(--w88-light-text);
}

.page-privacy-policy__dark-bg {
  background-color: var(--w88-background-dark);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--w88-secondary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  line-height: 1.8;
  text-align: justify;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #e0e0e0;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy__list ul {
  list-style: circle inside;
  margin-top: 10px;
  padding-left: 20px;
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-privacy-policy__contact-link {
  color: var(--w88-secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--w88-light-text);
  text-decoration: underline;
}

/* General link styling within content */
.page-privacy-policy__text-block a,
.page-privacy-policy__list a {
  color: var(--w88-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover,
.page-privacy-policy__list a:hover {
  color: var(--w88-light-text);
  text-decoration: underline;
}

/* Headings within lists */
.page-privacy-policy__list li strong {
  color: var(--w88-secondary-color);
}

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

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-privacy-policy__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-section {
    padding: 40px 15px;
  }

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list li {
    font-size: 0.95em;
    line-height: 1.7;
  }

  .page-privacy-policy__list {
    padding-left: 15px;
  }

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

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}

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

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

  .page-privacy-policy__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}