/* style/privacy-policy.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --bg-dark: #0D0E12;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #ffffff;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default for light background */
  background-color: var(--bg-light); /* Assuming body is light */
}

/* Adjust based on body background in shared.css */
/* If shared.css body background is dark (e.g., #0d0e12) */
.page-privacy-policy.page-content {
  color: var(--text-light); /* Light text for dark background */
  background-color: var(--bg-dark); /* Dark background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 40px 0; /* Minimal top padding, relies on body padding-top from shared */
  color: var(--text-light);
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--primary-color) 100%);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image slightly */
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-privacy-policy__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--text-main-color);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-light);
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 40px 20px;
  background-color: var(--bg-dark); /* Dark background for content */
  color: var(--text-light);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-main-color);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--text-main-color);
}

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

.page-privacy-policy a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--primary-color);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -100px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }

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

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__hero-content {
    margin-top: -50px; /* Adjust for smaller screens */
    padding: 15px;
    width: calc(100% - 30px);
  }

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

  .page-privacy-policy__description {
    font-size: 1em;
  }

  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__content-section {
    padding: 20px 0;
  }

  .page-privacy-policy__container {
    padding: 15px;
    border-radius: 0;
    box-shadow: none;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  /* General content image container/section adaptation */
  .page-privacy-policy__content-section,
  .page-privacy-policy__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__list {
    margin-left: 15px;
  }
}