/* style/privacy-policy.css */

/* Variables */
:root {
  --page-privacy-policy-primary-color: #2F6BFF;
  --page-privacy-policy-secondary-color: #6FA3FF;
  --page-privacy-policy-text-main: #1F2D3D;
  --page-privacy-policy-text-dark: #000000;
  --page-privacy-policy-background-light: #F4F7FB;
  --page-privacy-policy-card-bg: #FFFFFF;
  --page-privacy-policy-border-color: #D6E2FF;
  --page-privacy-policy-glow-color: #A5C4FF;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-privacy-policy-primary-color);
  color: #ffffff;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-privacy-policy__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--page-privacy-policy-primary-color);
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 20px;
}

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

.page-privacy-policy__light-bg {
  background-color: var(--page-privacy-policy-background-light);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__dark-bg {
  background-color: var(--page-privacy-policy-primary-color);
  color: #ffffff; /* Forced white text for dark background */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: inherit;
}

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

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

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--page-privacy-policy-card-bg);
  color: var(--page-privacy-policy-primary-color);
  border: 2px solid var(--page-privacy-policy-primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--page-privacy-policy-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 10px 0;
  }

  .page-privacy-policy__hero-content {
    padding: 30px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

  .page-privacy-policy__content-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  /* Image responsiveness for content area */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure image containers also adapt */
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 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;
    padding-right: 15px;
    text-align: center;
  }

  /* If multiple buttons were present, they would stack or wrap */
}