/* ==========================
   FAQ Page – Frederick's Apartelle
   ========================== */

.faqs-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background-color: #fff;
}

.faqs-page h1 {
  font-size: 2.2rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.faqs-page .intro {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Accordion Container */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* FAQ Item */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff8f5;
  box-shadow: 0 2px 12px rgba(255, 87, 34, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.08);
}

/* Summary (Question) */
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--primary);
}

/* Answer Content */
.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-item .faq-answer ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
  list-style: disc;
  color: #444;
}

.faq-item .faq-answer ul li {
  margin-bottom: 0.4rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* External Link */
.faqs-page .more-info {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

.faqs-page .more-info a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.faqs-page .more-info a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .faqs-page {
    padding: 1.5rem 1rem;
  }

  .faq-item summary {
    font-size: 1rem;
  }

  .faq-item .faq-answer {
    font-size: 0.9rem;
  }
}

/* Highlight animation */
.faq-item.highlight {
  box-shadow: 0 0 0 3px var(--accent);
  transition: box-shadow 0.4s ease;
}

.faq-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5em;
  vertical-align: middle;
  filter: grayscale(100%) brightness(0);
  opacity: 0.8;
    position: relative;
  top: 1px;

}

@media (max-width: 600px) {
  .faq-icon {
    display: none;
  }
}


