/* 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; /* Light text for dark body background */
  background-color: #1a1a2e; /* Inherited from body or set explicitly if needed, but for contrast, main sections will have light backgrounds */
  padding-bottom: 60px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-privacy-policy__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for main title */
}

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

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3; /* Subtle background image */
  z-index: 0;
}

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

/* General Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: #ffffff; /* Default light background for content sections */
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__dark-section {
  background-color: #1a1a2e; /* Dark background for alternating sections */
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand primary color for section titles */
  font-weight: bold;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Brand primary color for sub-titles */
  font-weight: bold;
}

.page-privacy-policy__dark-section .page-privacy-policy__sub-title {
  color: #f0f0f0; /* Light grey for sub-titles on dark background */
}

.page-privacy-policy__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-privacy-policy__paragraph a {
  color: #017439;
  text-decoration: underline;
}

.page-privacy-policy__dark-section .page-privacy-policy__paragraph a {
  color: #FFFF00;
}

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

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

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom Register/Login button color */
  color: #FFFF00; /* Custom Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a00606;
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background-color: #017439; /* Brand primary for secondary button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #005a2e;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: #1a1a2e; /* Dark background for FAQ */
  color: #ffffff;
  padding-bottom: 80px;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item on dark section */
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00; /* Yellow for FAQ questions */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-title {
  margin: 0;
  font-size: 1.2em;
  flex-grow: 1;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Light text for FAQ answer */
}

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