/* style/privacy-policy.css */

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

.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;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-privacy-policy__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-privacy-policy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Content Area */
.page-privacy-policy__content-area {
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(1, 116, 57, 0.3);
}

.page-privacy-policy__sub-section-title {
  font-size: 1.8em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #e0e0e0;
}

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

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

.page-privacy-policy__list-item strong {
  color: #ffffff;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__paragraph a {
  color: #017439; /* Link color using brand color */
  text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover {
  color: #00a04e; /* Lighter shade on hover */
  text-decoration: none;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #333333;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #444444;
}

.page-privacy-policy__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439; /* Brand color for toggle icon */
}

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

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #2a2a2a;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large height for content */
  padding: 20px 25px;
}

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

/* Call to Action Section */
.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #2a2a2a; /* Darker background for CTA */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  text-decoration: none;
  border-radius: 50px;
  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 15px rgba(0, 0, 0, 0.2);
  min-width: 150px; /* Ensure button is not too small */
  text-align: center;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #e02020; /* Slightly lighter red on hover */
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 3em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1.1em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area {
    padding: 30px 0;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.4em;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Image responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-privacy-policy__image-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* FAQ responsive */
  .page-privacy-policy__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px 20px;
  }

  /* CTA responsive */
  .page-privacy-policy__cta-text {
    font-size: 1.2em;
  }
  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-privacy-policy__cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    height: 350px;
  }
  .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.6em;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.2em;
  }
  .page-privacy-policy__faq-question {
    font-size: 1em;
  }
  .page-privacy-policy__btn-primary {
    font-size: 1em;
    padding: 10px 20px;
  }
}