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

/* Disable focus/hover outline effects */
*:focus,
*:focus-visible,
a:focus,
a:active,
button:focus,
button:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove bullet from active nav link on FAQ page */
.nav-link.active::before {
  display: none !important;
}

.nav-link.active {
  background: rgba(201, 154, 141, 0.06) !important;
  color: var(--accent-rose) !important;
}

/* Override navigation height to match other pages */
.nav-container {
  height: 80px;
}

.header.scrolled .nav-container {
  height: 80px !important;
}

/* Ensure logo h5 styling is consistent */
.nav-logo h5 {
  font-family: 'Montserrat', 'Inter', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  font-weight: 600 !important;
  color: #3A3A3A !important;
  margin: 2px 0 0 0 !important;
  text-transform: uppercase !important;
  padding-left: 1px !important;
  line-height: 1.2 !important;
}

/* FAQ Hero Section */
.faq-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 12vw, 8rem) clamp(1.5rem, 5vw, 3rem) clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(201, 154, 141, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.faq-hero-content {
  max-width: 1200px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 154, 141, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 1.5rem;
}

.hero-badge i {
  font-size: 1.1rem;
}

.faq-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-family: "Playfair Display", serif;
}

.faq-hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-medium);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* FAQ Layout */
.faq-layout {
  display: flex;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  background: #ffffff;
}

/* Sidebar Styles */
.faq-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content;
  width: 280px;
  flex-shrink: 0;
  background: #fafafa;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem 0;
}

.sidebar-sticky h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.875rem 1rem;
  text-decoration: none;
  color: #666666;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
}

.sidebar-link i {
  font-size: 1rem;
  width: 20px;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.sidebar-link:hover {
  background: #f5f5f5;
  color: #2d2d2d;
  border-left-color: #b17b6f;
}

.sidebar-link:hover i {
  opacity: 0.9;
}

.sidebar-link.active {
  background: #2d2d2d;
  color: #ffffff;
  border-left-color: #b17b6f;
}

.sidebar-link.active i {
  opacity: 1;
}

/* Sidebar CTA */
.sidebar-cta {
  margin: 0 1rem;
  padding: 1.75rem 1.5rem;
  background: #2d2d2d;
  border-radius: 12px;
  text-align: center;
}

.cta-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: #b17b6f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.sidebar-cta h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #b17b6f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
  background: #c99a8d;
  transform: translateY(-1px);
}

/* FAQ Content Area */
.faq-content {
  flex: 1;
  max-width: 850px;
}

/* Category Sections */
.faq-category {
  scroll-margin-top: 100px;
  margin-bottom: 3rem;
  display: none;
}

.faq-category.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(201, 154, 141, 0.15);
}

.category-header i {
  font-size: 2rem;
  color: #b17b6f;
  margin-bottom: 0.75rem;
  display: block;
}

.category-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
}

.category-header p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* FAQ Items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(177, 123, 111, 0.2);
}

.faq-item.active {
  border-color: rgba(177, 123, 111, 0.3);
  box-shadow: 0 4px 16px rgba(201, 154, 141, 0.08);
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.25s ease;
}

.faq-question span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  padding-right: 1rem;
}

.faq-question i {
  font-size: 1rem;
  color: #b17b6f;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

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

.faq-question:hover span {
  color: #b17b6f;
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 2000px;
}

.faq-answer > div {
  padding: 0 1.75rem 1.75rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.faq-answer ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.faq-answer ul li {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
  text-indent: 0;
}

.faq-answer ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #b17b6f;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-answer ul li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Final CTA Section */
.faq-final-cta {
  margin-top: 4rem;
  padding: 3rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(201, 154, 141, 0.08) 0%,
    rgba(248, 237, 238, 0.6) 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(201, 154, 141, 0.15);
  text-align: center;
}

.final-cta-content i {
  font-size: 3rem;
  color: #b17b6f;
  margin-bottom: 1rem;
}

.final-cta-content h3 {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", serif;
}

.final-cta-content p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn {
  background: #b17b6f;
  color: white;
}

.primary-btn:hover {
  background: #c99a8d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(177, 123, 111, 0.25);
}

.secondary-btn {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(177, 123, 111, 0.3);
  transform: translateY(-1px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .faq-layout {
    gap: 2.5rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .faq-sidebar {
    width: 260px;
  }
}

@media (max-width: 992px) {
  .faq-hero {
    min-height: 60vh;
    padding: 5rem 1.5rem 3rem;
  }

  .faq-layout {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
  }

  .faq-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .faq-content {
    max-width: 100%;
  }

  .category-header {
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
  }

  .faq-answer > div {
    padding: 0 1.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .faq-hero {
    padding: 4rem 1.25rem 2.5rem;
  }

  .faq-hero h1 {
    font-size: 2.5rem;
  }

  .category-header h2 {
    font-size: 1.85rem;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-final-cta {
    padding: 2.5rem 1.75rem;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .faq-layout {
    padding: 2rem 1.25rem;
  }

  .faq-hero {
    min-height: 50vh;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
  }

  .faq-question {
    padding: 1.125rem 1.25rem;
  }

  .faq-question span {
    font-size: 0.95rem;
  }

  .faq-answer > div {
    padding: 0 1.25rem 1.25rem;
  }

  .faq-answer p,
  .faq-answer ul li {
    font-size: 0.9rem;
  }

  .sidebar-cta {
    padding: 1.5rem 1.25rem;
  }

  .category-header i {
    font-size: 1.75rem;
  }
}

/* Print styles */
@media print {
  .faq-sidebar,
  .faq-final-cta,
  .header,
  .footer {
    display: none;
  }

  .faq-layout {
    display: block;
  }

  .faq-category {
    display: block;
    page-break-inside: avoid;
  }

  .faq-item {
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .faq-answer {
    max-height: none !important;
  }
}
