/* style/privacy-policy.css */

/* General Page Styles */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-privacy-policy__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #1a1a1a; /* Default section background, same as body for consistency */
}

.page-privacy-policy__section:nth-of-type(even) {
  background-color: #24273f; /* Slightly lighter dark background for alternating sections */
}

.page-privacy-policy__section-title {
  font-size: 32px;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__sub-section-title {
  font-size: 24px;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light grey for paragraphs */
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 80px;
  background-color: #2C2F4C; /* Main brand color for hero background */
}

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

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 120px 20px 0; /* Add top padding to account for header if not handled by body */
  margin: 0 auto;
  color: #ffffff;
}

.page-privacy-policy__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-privacy-policy__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons adapt to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #2C2F4C; /* Dark blue-purple text */
  border: 2px solid #FFD700;
}

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

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #FFD700;
  color: #2C2F4C;
  transform: translateY(-2px);
}

.page-privacy-policy__btn-text-link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__btn-text-link:hover {
  color: #e6c200;
}

/* Image content within sections */
.page-privacy-policy__image-content {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* CTA buttons group */
.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 40px;
  }
  .page-privacy-policy__hero-description {
    font-size: 17px;
  }
  .page-privacy-policy__section-title {
    font-size: 28px;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    padding-top: 80px; /* Adjust for smaller header on mobile if needed */
  }
  .page-privacy-policy__hero-title {
    font-size: 32px;
  }
  .page-privacy-policy__hero-description {
    font-size: 16px;
  }
  .page-privacy-policy__section {
    padding: 40px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 20px;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }
  .page-privacy-policy__container {
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important; /* Ensure padding is not too small */
    padding-right: 15px !important;
  }
  .page-privacy-policy__hero-buttons,
  .page-privacy-policy__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure content area images are not too small */
.page-privacy-policy__image-content {
    min-width: 200px;
    min-height: 200px;
    max-width: 800px; /* Set a reasonable max-width for content images */
}

/* No CSS filter for images */
.page-privacy-policy img {
  filter: none !important; /* Explicitly disable any potential filters */
}