/* ============ FAQ PAGE STYLES ============ */

/* CSS Variables (inherited from styles.css, redeclared for clarity) */
:root {
  --gold: #C9982E;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --text: #333;
  --dark: #2d2d2d;
}

/* Gold underline on active FAQ nav item */
.nav-list > li > a.active {
  position: relative;
}

.nav-list > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ============ FAQ HERO / HEADING ============ */
.faq-hero {
  background: #fff;
  padding: 50px 0 35px;
  text-align: center;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-title-underline {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.faq-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: #666;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ FAQ SECTION ============ */
.faq-section {
  background: #f5f5f5;
  padding: 50px 0 70px;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============ FAQ ITEM ============ */
.faq-item {
  border-radius: 6px;
  overflow: hidden;
}

/* Question bar */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: #efefef;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  gap: 16px;
}

.faq-question:hover {
  background: #e6e6e6;
}

.faq-question-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Toggle circle with chevron */
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  transition: transform 0.3s ease, background 0.2s ease;
}

.faq-toggle i {
  transition: transform 0.3s ease;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #555;
  line-height: 1.75;
}

/* ============ ACTIVE / OPEN STATE ============ */
.faq-item.active .faq-question {
  background: #e8e8e8;
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 18px 0 22px;
}

.faq-item.active .faq-answer p {
  padding: 0 22px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .faq-title {
    font-size: 26px;
  }

  .faq-subtitle {
    font-size: 14px;
  }

  .faq-question {
    padding: 15px 16px;
  }

  .faq-question-text {
    font-size: 15px;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
  }

  .faq-answer p {
    font-size: 14px;
    padding: 0 16px;
  }

  .faq-item.active .faq-answer p {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .faq-hero {
    padding: 35px 0 25px;
  }

  .faq-section {
    padding: 35px 0 50px;
  }

  .faq-title {
    font-size: 22px;
  }

  .faq-question-text {
    font-size: 14px;
  }
}
