/* style/privacy-policy.css */

/* Base styles for the page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #333; /* Inherited from shared.css body */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  overflow: hidden;
}

.page-privacy-policy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Content Area */
.page-privacy-policy__content-area {
  background-color: #ffffff; /* White background for readability */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for main titles */
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

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

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

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

.page-privacy-policy__sub-list {
  list-style: circle inside;
  margin-left: 20px;
  margin-top: 5px;
}

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

.page-privacy-policy__contact-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-privacy-policy__contact-link:hover {
  color: #005f2e;
}

/* Call to Action Button */
.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

/* Dark background elements */
.page-privacy-policy__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

/* Light background elements */
.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-area {
    padding: 40px 0;
  }

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

  .page-privacy-policy__text-block p,
  .page-privacy-policy__list-item {
    font-size: 1em;
  }

  /* Ensure images are responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers with images are responsive */
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__text-block,
  .page-privacy-policy__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure buttons are responsive */
  .page-privacy-policy__btn-primary,
  .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: 12px 20px !important;
    font-size: 1.1em !important;
  }

  .page-privacy-policy__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

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

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

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

  .page-privacy-policy__btn-primary {
    font-size: 1em !important;
    padding: 10px 15px !important;
  }
}