/* style/privacy-policy.css */

:root {
  --primary-color: #CC0000;
  --secondary-color: #333333;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light-alpha: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-privacy-policy {
  color: var(--text-light); /* Body background is #000000 (dark), so text must be light */
  background-color: var(--background-dark);
  line-height: 1.7;
  font-family: 'Arial', sans-serif;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: var(--secondary-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-privacy-policy__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-privacy-policy__main-title {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  background-color: darken(var(--primary-color), 10%); /* Example of dynamic color adjustment */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

.page-privacy-policy__content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-dark);
  box-sizing: border-box;
}

.page-privacy-policy__content-container {
  background-color: var(--background-light-alpha);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-privacy-policy__article-title:first-of-type {
  margin-top: 0;
}

.page-privacy-policy__paragraph {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-privacy-policy__list-item {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.6;
}

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

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

.page-privacy-policy__image-caption {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -10px;
  margin-bottom: 30px;
}

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

.page-privacy-policy__contact-link:hover {
  color: #ff3333;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 36px;
  }
  .page-privacy-policy__hero-description {
    font-size: 16px;
  }
  .page-privacy-policy__article-title {
    font-size: 24px;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }
  .page-privacy-policy__content-container {
    padding: 30px;
  }
}

@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;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 300px !important; /* Constrain button width on mobile */
    box-sizing: border-box !important;
    margin: 0 auto;
  }

  .page-privacy-policy__content-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-privacy-policy__content-container {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-privacy-policy__article-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 14px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__image-caption {
    font-size: 13px;
    margin-top: -5px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 24px;
  }
  .page-privacy-policy__hero-description {
    font-size: 14px;
  }
  .page-privacy-policy__article-title {
    font-size: 20px;
  }
  .page-privacy-policy__cta-button {
    font-size: 15px;
    padding: 10px 20px;
    max-width: 250px !important;
  }
}

/* Ensure all images in content areas are responsive and don't cause overflow */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__content-container,
  .page-privacy-policy__article {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* No CSS filter on images */
.page-privacy-policy img {
  filter: none;
}