/* style/privacy-policy.css */

/* Variables and Base Styles */
:root {
  --primary-color: #0047AB; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-color-dark-bg: #ffffff; /* White for dark backgrounds */
  --text-color-light-bg: #333333; /* Dark gray for light backgrounds */
  --background-dark: #121212; /* Body background from shared.css */
  --background-light: #f9f9f9; /* Light background for sections */
  --border-color: #e0e0e0;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure consistency with body bg */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

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

/* Section Styling */
.page-privacy-policy__hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%); /* Deep blue gradient */
  color: var(--text-color-dark-bg);
  box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--background-dark); /* Default dark background */
  color: var(--text-color-dark-bg);
}

.page-privacy-policy__content-section.page-privacy-policy__light-bg {
  background-color: var(--background-light); /* Light background for contrast */
  color: var(--text-color-light-bg);
}

.page-privacy-policy__call-to-action {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(45deg, #002D62 0%, var(--primary-color) 100%);
  color: var(--text-color-dark-bg);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

/* Titles and Text */
.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--secondary-color); /* Gold for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-section.page-privacy-policy__light-bg .page-privacy-policy__section-title {
  color: var(--primary-color); /* Blue for section titles on light background */
  text-shadow: none;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--secondary-color); /* Gold for sub titles */
}

.page-privacy-policy__content-section.page-privacy-policy__light-bg .page-privacy-policy__sub-title {
  color: var(--primary-color); /* Blue for sub titles on light background */
}

.page-privacy-policy p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-privacy-policy__content-section.page-privacy-policy__light-bg p {
  color: var(--text-color-light-bg);
}

/* Buttons */
.page-privacy-policy__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons on small screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button adapts to width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold button */
  border: 2px solid var(--secondary-color);
}

.page-privacy-policy__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold */
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--secondary-color); /* Gold text on transparent background */
  border: 2px solid var(--secondary-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold background on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__contact-cta {
  margin-top: 30px;
  text-align: center;
}

/* Images */
.page-privacy-policy__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

/* Contact List */
.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__contact-list a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-list a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a; /* Dark background for question */
  color: var(--text-color-dark-bg);
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color); /* Gold for FAQ question */
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign */
  color: var(--secondary-color);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #1e1e1e; /* Slightly lighter dark background for answer */
  border: 1px solid #3a3a3a;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  color: var(--text-color-dark-bg);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to ensure content fits */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: 100px; /* Mobile: Adjust for fixed header */
    font-size: 15px;
    line-height: 1.6;
  }

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

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

  .page-privacy-policy__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

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

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

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

  .page-privacy-policy__call-to-action {
    padding: 60px 0;
  }

  .page-privacy-policy__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%; /* Full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__image-wrapper {
    margin: 30px auto;
  }

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

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1em;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }

  .page-privacy-policy__contact-cta .page-privacy-policy__btn-primary {
    width: auto; /* Revert to auto or specific width if not full width needed */
    max-width: 300px; /* Example max width for a single button */
    margin: 0 auto; /* Center it */
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }
}