/* style/privacy-policy.css */

:root {
  --phdream-primary: #F2C14E;
  --phdream-secondary: #FFD36B;
  --phdream-card-bg: #111111;
  --phdream-background: #0A0A0A;
  --phdream-text-main: #FFF6D6;
  --phdream-border: #3A2A12;
  --phdream-glow: #FFD36B;
  --phdream-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--phdream-text-main); /* Ensure light text on dark body background */
  background-color: var(--phdream-background);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: var(--phdream-background);
  overflow: hidden;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  margin-top: -150px; /* Pull content up over the image slightly without overlapping text */
  background: linear-gradient(0deg, var(--phdream-background) 0%, rgba(10, 10, 10, 0.7) 70%, rgba(10, 10, 10, 0) 100%);
  padding-top: 150px;
}

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

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--phdream-text-main);
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.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: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: var(--phdream-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 0 15px var(--phdream-glow);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--phdream-glow);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--phdream-primary);
  border: 2px solid var(--phdream-primary);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.8);
}

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

.page-privacy-policy__dark-section {
  background-color: var(--phdream-background);
  color: var(--phdream-text-main);
}

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

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

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

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: var(--phdream-secondary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--phdream-text-main);
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05em;
}

.page-privacy-policy__list li strong {
  color: var(--phdream-primary);
}

.page-privacy-policy__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-privacy-policy__brand-highlight {
  color: var(--phdream-primary);
  font-weight: bold;
}

.page-privacy-policy__last-updated {
  text-align: right;
  font-style: italic;
  color: var(--phdream-secondary);
  margin-top: 50px;
  font-size: 0.9em;
}

.page-privacy-policy__contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  padding: 40px;
  background-color: var(--phdream-card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--phdream-border);
}

.page-privacy-policy__contact-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-privacy-policy a:hover {
  color: var(--phdream-glow);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .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-content {
    padding: 30px 15px;
    margin-top: -100px;
    padding-top: 100px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-privacy-policy__hero-description,
  .page-privacy-policy__text-block,
  .page-privacy-policy__list li {
    font-size: 1em;
  }

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

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

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

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

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

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__contact-cta {
    padding: 20px;
  }

  /* Ensure general content containers adapt to mobile */
  .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;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    margin-top: -80px;
    padding-top: 80px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }
}