/* ==========================================================================
   Radu VIP Transport Service - FAQ Page Stylesheet
   Luxury Aesthetic: Obsidian & Metallic Gold
   ========================================================================== */

/* Breadcrumb */
.faq-breadcrumb-bar {
  padding: 110px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 11, 14, 0.6);
}

.faq-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.faq-breadcrumbs a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.faq-breadcrumbs a:hover {
  color: var(--gold-light);
}

.faq-breadcrumbs .separator {
  color: rgba(212, 175, 55, 0.4);
}

.faq-breadcrumbs .current {
  color: var(--gold-primary);
  font-weight: 600;
}

/* FAQ Hero */
.faq-hero-section {
  padding: 50px 0 40px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(10, 11, 14, 0) 70%);
}

.faq-hero-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .faq-hero-title {
    font-size: 3.2rem;
  }
}

.faq-hero-desc {
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Search Bar */
.faq-search-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.faq-search-box {
  display: flex;
  align-items: center;
  background: rgba(22, 26, 34, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-normal);
}

.faq-search-box:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
  background: rgba(26, 31, 42, 0.95);
}

.faq-search-icon {
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 10px 0;
}

.faq-search-input::placeholder {
  color: var(--text-muted);
}

.faq-search-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.faq-search-clear:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.faq-search-clear.visible {
  display: flex;
}

/* Category Filter Tabs */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 20px;
}

.faq-category-btn {
  background: rgba(22, 26, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-category-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.faq-category-btn.active {
  background: var(--gold-gradient);
  color: #0b0c10;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

/* Toolbar Controls */
.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 12px 18px;
  background: rgba(18, 20, 26, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.faq-counter strong {
  color: var(--gold-light);
}

.faq-expand-toggle-btn {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-expand-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: #fff;
}

/* FAQ Accordion List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 60px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--gold-border-active);
  background: var(--bg-card-hover);
}

.faq-item.active {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 175, 55, 0.15);
  background: rgba(26, 31, 42, 0.95);
}

.faq-item.hidden-by-filter {
  display: none !important;
}

/* Heading & Trigger Button */
.faq-question-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color var(--transition-fast);
}

@media (min-width: 768px) {
  .faq-trigger {
    font-size: 1.18rem;
    padding: 22px 28px;
  }
}

.faq-trigger:hover {
  color: var(--gold-light);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: -2px;
}

.faq-q-number {
  color: var(--gold-primary);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.85;
  margin-right: 6px;
  flex-shrink: 0;
}

.faq-q-text {
  flex-grow: 1;
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: transform var(--transition-normal), background-color var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item:hover .faq-icon-box {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.faq-item.active .faq-icon-box {
  transform: rotate(180deg);
  background: var(--gold-primary);
  color: #0b0c10;
  border-color: var(--gold-primary);
}

/* Answer Panel */
.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer-panel {
  opacity: 1;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin-top: 4px;
  padding-top: 18px;
}

@media (min-width: 768px) {
  .faq-answer-content {
    padding: 0 28px 28px;
    padding-top: 20px;
    font-size: 1.02rem;
  }
}

.faq-answer-content p {
  margin-bottom: 14px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul {
  list-style: none;
  margin: 14px 0 16px 8px;
  padding: 0;
}

.faq-answer-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-answer-content li::before {
  content: "•";
  color: var(--gold-primary);
  font-size: 1.3rem;
  line-height: 1;
  position: absolute;
  left: 6px;
  top: 0;
}

/* Empty State */
.faq-empty-state {
  text-align: center;
  padding: 50px 20px;
  background: var(--bg-card);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  display: none;
}

.faq-empty-state.visible {
  display: block;
}

.faq-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--gold-primary);
}

/* Still Have Questions CTA Banner */
.faq-cta-card {
  background: linear-gradient(135deg, rgba(22, 26, 34, 0.95) 0%, rgba(30, 27, 20, 0.9) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.faq-cta-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-cta-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .faq-cta-title {
    font-size: 2.2rem;
  }
}

.faq-cta-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
