/* style/cookies-policy.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey/Black */
  --accent-color: #FF0000; /* Red for emphasis */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --card-background-light: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
}

.page-cookies-policy {
  color: var(--text-light); /* Light text on dark body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  background-color: var(--background-dark);
}

/* Fixed nav bar padding */
.page-cookies-policy__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 40px;
  background: linear-gradient(135deg, var(--secondary-color), #000000);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cookies-policy__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cookies-policy__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-cookies-policy__hero-description {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cookies-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

.page-cookies-policy__content-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-cookies-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cookies-policy__card {
  background-color: var(--card-background-light);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-cookies-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-cookies-policy__section-title:first-of-type {
  margin-top: 0;
}

.page-cookies-policy__sub-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cookies-policy p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
}

.page-cookies-policy ul {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.page-cookies-policy li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-cookies-policy__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cookies-policy__link:hover {
  color: #FFC107; /* Lighter gold on hover */
  text-decoration: underline;
}

.page-cookies-policy__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-cookies-policy__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cookies-policy__image--small {
  max-width: 400px;
}

/* FAQ Section */
.page-cookies-policy__faq-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
}

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

.page-cookies-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

.page-cookies-policy__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.page-cookies-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-cookies-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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-cookies-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;
  padding: 0 15px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-cookies-policy__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 30px;
  }

  .page-cookies-policy__main-title {
    font-size: 2.2em;
  }

  .page-cookies-policy__hero-description,
  .page-cookies-policy p,
  .page-cookies-policy li {
    font-size: 1em;
  }

  .page-cookies-policy__content-section,
  .page-cookies-policy__faq-section {
    padding: 30px 0;
  }

  .page-cookies-policy__container {
    padding: 0 15px;
  }

  .page-cookies-policy__card {
    padding: 25px;
  }

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

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

  .page-cookies-policy ul {
    margin-left: 20px;
  }

  .page-cookies-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-cookies-policy__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }

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

  .page-cookies-policy__faq-answer {
    padding: 0 15px;
  }

  .page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
    padding: 15px !important;
  }

  /* Image responsive fix */
  .page-cookies-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cookies-policy__section,
  .page-cookies-policy__card,
  .page-cookies-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}