/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main from custom palette, contrasts with body background #0A0A0A */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* 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 as body handles --header-offset */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 30px;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  color: #FFF6D6;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Glow color for prominence */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0A0A0A; /* Background color */
}

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

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: #F2C14E; /* Main color */
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #FFD86A 0%, #DDA11D 100%);
  margin: 15px auto 0;
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Glow color */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__text-block a {
  color: #F2C14E; /* Main color for links */
  text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
  color: #FFD36B; /* Glow color on hover */
}

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

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

/* Image Layouts */
.page-privacy-policy__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-privacy-policy__image-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

/* Clear floats for image layouts */
.page-privacy-policy__container::after {
  content: "";
  display: table;
  clear: both;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%); /* Inverted gradient on hover */
  transform: translateY(-2px);
}

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

.page-privacy-policy__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for question */
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Slight highlight on hover */
}

.page-privacy-policy__faq-title {
  margin: 0;
  color: #FFD36B; /* Glow color */
  font-size: 1.2rem;
  font-weight: bold;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Main color */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: #FFD36B; /* Glow color when active */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0A0A0A; /* Background color for answer area */
  color: #FFF6D6; /* Text Main */
}

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

.page-privacy-policy__faq-answer p {
  margin-bottom: 10px;
  color: #FFF6D6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    max-width: 700px;
    padding: 25px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-privacy-policy__hero-description {
    font-size: 1rem;
  }

  .page-privacy-policy__image-right,
  .page-privacy-policy__image-left {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    padding: 20px;
    margin-top: 20px;
    background: rgba(17, 17, 17, 0.9); /* Less transparency on mobile */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-privacy-policy__hero-description {
    font-size: 0.95rem;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__container {
    padding: 20px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

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

  .page-privacy-policy__text-block {
    font-size: 1rem;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__image-right,
  .page-privacy-policy__image-left {
    margin-left: 0;
    margin-right: 0;
    border-radius: 5px;
  }

  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

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

  .page-privacy-policy__faq-title {
    font-size: 1.1rem;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
  }

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

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .page-privacy-policy__hero-description {
    font-size: 0.9rem;
  }

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

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

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

  .page-privacy-policy__faq-title {
    font-size: 1rem;
  }
}