/* style/privacy-policy.css */

/* Root variables for colors */
:root {
  --fb777-primary-color: #F2C14E;
  --fb777-secondary-color: #FFD36B;
  --fb777-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --fb777-card-bg: #111111;
  --fb777-background-color: #0A0A0A;
  --fb777-text-main: #FFF6D6;
  --fb777-border-color: #3A2A12;
  --fb777-glow-color: #FFD36B;
  --fb777-dark-text: #333333;
  --fb777-light-text: #ffffff;
}

.page-privacy-policy {
  background-color: var(--fb777-background-color);
  color: var(--fb777-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--fb777-card-bg);
}

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

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

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  max-width: 900px;
  padding: 20px;
  z-index: 2;
  margin-top: -150px; /* Adjust to pull content up slightly over the bottom of the image */
  background-color: rgba(17, 17, 17, 0.85); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--fb777-secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fb777-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: var(--fb777-button-gradient);
  color: var(--fb777-light-text);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-privacy-policy__section {
  padding: 60px 20px;
  background-color: var(--fb777-background-color);
  color: var(--fb777-text-main);
}

.page-privacy-policy__section--dark {
  background-color: var(--fb777-card-bg);
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fb777-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--fb777-secondary-color);
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--fb777-secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--fb777-text-main);
}

.page-privacy-policy__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--fb777-text-main);
}

.page-privacy-policy__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--fb777-primary-color);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
}

.page-privacy-policy__inline-link {
  color: var(--fb777-secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__inline-link:hover {
  color: var(--fb777-primary-color);
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__faq-section {
  padding-bottom: 80px;
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--fb777-background-color);
  border: 1px solid var(--fb777-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fb777-secondary-color);
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fb777-secondary-color);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--fb777-primary-color);
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 20px;
  padding-top: 0;
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: var(--fb777-text-main);
}

.page-privacy-policy__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-privacy-policy__cta-button--secondary {
  background: none;
  border: 2px solid var(--fb777-primary-color);
  color: var(--fb777-primary-color);
  box-shadow: none;
}

.page-privacy-policy__cta-button--secondary:hover {
  background-color: var(--fb777-primary-color);
  color: var(--fb777-light-text);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__contact-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--fb777-text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -100px;
  }
}

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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 40px;
  }

  .page-privacy-policy__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 15px;
  }

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

  .page-privacy-policy__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

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

  .page-privacy-policy__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question h3,
  .page-privacy-policy__faq-answer p,
  .page-privacy-policy__contact-item {
    font-size: 1rem;
  }

  /* Ensure all images are responsive and do not cause overflow */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-item,
  .page-privacy-policy__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8rem;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.6rem;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }
}