/* style/privacy-policy.css */

/* Base styles for the privacy policy page, assuming a dark background from shared.css */
.page-privacy-policy {
  background-color: var(--site-bg, #0A0A0A); /* Fallback to a dark background */
  color: #FFF6D6; /* Main text color for dark backgrounds */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* Section styling */
.page-privacy-policy__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Hero section for the main title and image */
.page-privacy-policy__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  color: #F2C14E; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
}

.page-privacy-policy__description {
  font-size: 1.1rem;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* General headings */
.page-privacy-policy__heading-2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color for H2 */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy__heading-3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #F2C14E; /* Main brand color for H3 */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-privacy-policy__heading-4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFF6D6; /* Text Main for H4 */
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
}

/* Paragraphs and lists */
.page-privacy-policy p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-privacy-policy ul,
.page-privacy-policy ol {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-privacy-policy li {
  margin-bottom: 8px;
  color: #FFF6D6;
}

/* Card styling for content blocks if needed */
.page-privacy-policy__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6; /* Text Main for cards */
}

/* Image blocks within content */
.page-privacy-policy__image-block {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
}

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

/* Contact info styling */
.page-privacy-policy__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.page-privacy-policy__contact-info p {
  margin-bottom: 10px;
}

/* Buttons */
.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text on gradient button */
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__button-group {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 20px; /* Space between buttons if multiple */
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Links within content */
.page-privacy-policy a:not(.page-privacy-policy__cta-button) {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:not(.page-privacy-policy__cta-button):hover {
  color: #F2C14E; /* Main brand color on hover */
}

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

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

  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-privacy-policy__heading-2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__heading-3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__heading-4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .page-privacy-policy ul,
  .page-privacy-policy ol {
    margin-left: 20px;
  }

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

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

  .page-privacy-policy__button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}