/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Matches body background */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #26A9E0, #a0dfff); /* Brand colors for hero background */
  color: #ffffff; /* White text for dark background */
  overflow: hidden; /* Prevent image overflow */
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2; /* Ensure content is above image */
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Limit image width */
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* No filter on image */
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Custom color for login/register */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  background: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #ffffff; /* Explicitly white background for content for readability */
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Primary brand color for main titles */
  margin-bottom: 25px;
  text-align: center;
  padding-top: 20px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #333333;
  margin-top: 35px;
  margin-bottom: 15px;
}

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

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

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

.page-privacy-policy__list-item strong {
  color: #26A9E0; /* Highlight key terms */
}

.page-privacy-policy__image-wrapper {
  margin: 30px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  /* No filter on image */
}

.page-privacy-policy a {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #1a7bb5;
}

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

  .page-privacy-policy__intro-text {
    font-size: 1.1em;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-container,
  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important; /* Ensure content is full width on mobile */
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important; /* Mobile button width */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    text-align: left;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  /* Mobile image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0; /* Remove padding if any, let inner img handle */
  }
}

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }
}