/* style/privacy-policy.css */

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color, #E53935); /* Fallback if hero-image is not full width */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-privacy-policy__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--primary-color, #E53935); /* Dark background */
  color: #ffffff; /* Light text */
  margin-top: -5px; /* Slightly overlap with image for visual continuity */
}

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

.page-privacy-policy__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main, #333333);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: inherit; /* Inherit from parent section */
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
}

.page-privacy-policy__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Grid for sub-sections */
.page-privacy-policy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-privacy-policy__grid-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 25px;
  border-radius: 8px;
}

/* Contact Section */
.page-privacy-policy__contact-section {
  background-color: var(--primary-color, #E53935);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-privacy-policy__contact-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-privacy-policy__contact-text {
  max-width: 800px;
}

.page-privacy-policy__contact-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 15px;
}

/* Colors and Contrast */
.page-privacy-policy__light-bg {
  background-color: var(--bg-color, #F5F7FA);
  color: var(--text-main, #333333);
}

.page-privacy-policy__dark-section {
  background-color: var(--primary-color, #E53935);
  color: #ffffff;
}
.page-privacy-policy__dark-section .page-privacy-policy__section-title,
.page-privacy-policy__dark-section .page-privacy-policy__sub-title {
    color: #ffffff;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background: linear-gradient(180deg, var(--auxiliary-color, #FF5A4F) 0%, var(--primary-color, #E53935) 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on desktop */
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-color, #E53935) 0%, var(--auxiliary-color, #FF5A4F) 100%);
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background: #ffffff;
  color: var(--primary-color, #E53935);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid var(--primary-color, #E53935);
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on desktop */
  box-sizing: border-box;
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--primary-color, #E53935);
  color: #ffffff;
}

.page-privacy-policy__link {
  color: var(--primary-color, #E53935);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--auxiliary-color, #FF5A4F);
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main, #333333);
  background-color: var(--card-bg, #FFFFFF);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #f0f0f0;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 10px;
  color: var(--primary-color, #E53935);
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 15px;
  color: var(--text-main, #333333);
  background-color: var(--card-bg, #FFFFFF);
}