/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-dark: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

/* General page styling */
.page-privacy-policy {
  background-color: var(--background-dark);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for spacing */
}

.page-privacy-policy a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

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

.page-privacy-policy__hero-content {
  max-width: 1200px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--text-main-color);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__section-container {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
  color: var(--primary-color);
  font-size: 2.2em;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--deep-orange-color);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-main-color);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  color: var(--text-main-color);
}

.page-privacy-policy__image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

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

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

.page-privacy-policy__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
  box-shadow: 0 0 15px var(--glow-color);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid transparent; /* default */
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom-color: var(--deep-orange-color);
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
  color: var(--primary-color);
}

.page-privacy-policy__faq-item details > summary {
  list-style: none;
}

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

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content {
    padding: 0 10px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__content-area {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-privacy-policy__section-container {
    padding: 20px;
  }

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

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

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  /* Image responsive rules */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__section-container,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__faq-question {
    font-size: 1em;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 1.2em;
  }
}