/* style/privacy-policy.css */

/* General styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-bottom: 50px; /* Space above footer */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #7A0E0E; /* Deep Red for hero section background */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-privacy-policy__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-privacy-policy__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold color for main title */
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 18px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
}

/* Content Area */
.page-privacy-policy__content-area {
  padding: 40px 0;
  background-color: #B71C1C; /* Background */
}

.page-privacy-policy__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold color for section titles */
}

.page-privacy-policy h2:first-of-type {
  margin-top: 0;
}

.page-privacy-policy h3 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold color for sub-titles */
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main */
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: #FFF5E1; /* Text Main */
}

.page-privacy-policy a {
  color: #FFD86A; /* Gold for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #F2B544; /* Border color for hover */
}

.page-privacy-policy__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Button */
.page-privacy-policy__contact-button-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__btn-contact {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: #7A0E0E; /* Ensure text color remains Deep Red on hover */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 0;
  background-color: #B71C1C; /* Background */
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background: #D32F2F; /* Card BG */
  overflow: hidden;
  border: 1px solid #F2B544; /* Border color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF5E1; /* Text Main */
  font-weight: bold;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #C91F17; /* Main color for hover */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1; /* Text Main */
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F4D34D; /* Gold color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  background: #D32F2F; /* Card BG */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1; /* Text Main */
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: #FFF5E1; /* Text Main */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 40px;
  }

  .page-privacy-policy__section-title {
    font-size: 28px;
  }

  .page-privacy-policy h3 {
    font-size: 22px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensures small top padding */
    padding-bottom: 30px;
  }

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

  .page-privacy-policy__main-title {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Content Area */
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 30px 0;
  }

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

  .page-privacy-policy__section-title {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 15px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

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

  /* Contact Button */
  .page-privacy-policy__contact-button-wrapper {
    margin-top: 30px;
  }

  .page-privacy-policy__btn-contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* FAQ Section */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 16px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

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