/* style/privacy-policy.css */

/* General page styles */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is #000 from shared.css */
  padding-top: 120px; /* Space for fixed header on desktop */
}

.page-privacy-policy a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #28a745;
  text-decoration: underline;
}

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

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__section:last-child {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy h3 {
  font-size: 1.8em;
  color: #007bff; /* Brand color for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-privacy-policy ul {
  list-style: disc inside;
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-privacy-policy li {
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

/* Hero Banner Section */
.page-privacy-policy__hero-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 5px solid #ffd700; /* Golden border */
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiM1NTVCN0YiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0bC02LTZsLTYgNmgxMnpNMjQgMjZsNi02bDYgNmgxMnpNNDggMTJsLTYtNmw2LTZoMTJ6TDEyIDBMMCA2bDYtNmgxMnpNMzYgMkwzMCA4bDYtNmgxMnpNNDggMzZsLTYtNmw2LTZoMTJ6TDI0IDQ4bDYtNmw2IDZoMTJ6Ii8+PC9nPjwvZmdoWz0iIi8+PC9nPjwvc3ZnPg=='); /* Subtle pattern */
  opacity: 0.1;
  z-index: 0;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.page-privacy-policy__subtitle {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 0;
}

.page-privacy-policy__subtitle a {
  color: #ffd700;
}

.page-privacy-policy__subtitle a:hover {
  color: #ffffff;
}

/* Content Wrapper with Image */
.page-privacy-policy__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-privacy-policy__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-privacy-policy__image-block {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #007bff;
}

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

.page-privacy-policy__text-block {
  flex: 2;
}

/* Card Styles */
.page-privacy-policy__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-privacy-policy__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 123, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__card-title {
  font-size: 1.6em;
  color: #ffd700; /* Golden color for card titles */
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-privacy-policy__card ul {
  list-style: disc inside;
  padding-left: 0;
}

.page-privacy-policy__card li {
  margin-bottom: 0.8em;
}

.page-privacy-policy__list-items {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-privacy-policy__list-items li {
  background: rgba(0, 123, 255, 0.1);
  border-left: 5px solid #007bff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-privacy-policy__list-items li:hover {
  background-color: rgba(0, 123, 255, 0.2);
  border-left-color: #ffd700;
}

/* Contact Section Specifics */
.page-privacy-policy__contact ul {
  list-style: none;
  padding-left: 0;
}

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

.page-privacy-policy__contact li strong {
  color: #ffd700;
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: rgba(0, 123, 255, 0.2);
  border-color: #007bff;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffd700;
  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: 28px;
  height: 28px;
}

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

.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 20px;
  opacity: 0;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 5px 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__main-title {
    font-size: 3em;
  }
  .page-privacy-policy__subtitle {
    font-size: 1.3em;
  }
  .page-privacy-policy__content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .page-privacy-policy__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-privacy-policy__image-block {
    min-width: unset;
    width: 80%;
  }
  .page-privacy-policy__text-block {
    flex: none;
    width: 100%;
  }
  .page-privacy-policy__content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: 100px !important; /* Space for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__hero-banner {
    padding: 60px 0;
  }
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__subtitle {
    font-size: 1.1em;
  }
  .page-privacy-policy__section {
    padding: 40px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-privacy-policy h3 {
    font-size: 1.5em;
  }
  .page-privacy-policy p, .page-privacy-policy li {
    font-size: 1em;
  }
  .page-privacy-policy__image-block {
    width: 100%;
  }
  .page-privacy-policy__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image responsive styles */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}