/* ================================
   HERO (SVG ANIMASYON)
   ================================ */
.faq-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: #fff;
}

.svg-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.faq-hero__fog {
  position: absolute;
  bottom: -100px;
  width: 100%;
  height: auto;
  opacity: 1;
  pointer-events: none;
}


/* === GENEL === */
.faq-main {
  padding: 3rem 0 0;
  display: flex;
  justify-content: center;
}

.faq-grid {
  display: grid;
  /* grid-template-columns: 280px 1fr; */
  gap: 4rem;
  align-items: start;
}

/* === SOL MENÜ === */
.faq-sidebar__title {
  font-size: 1.1rem;
  color: #000;
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-sidebar__list {
  list-style: none;
  padding: 0;
}
.faq-sidebar__list li {
  margin-bottom: 0.75rem;
}
.faq-tab {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}
.faq-tab.active,
.faq-tab:hover {
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
}
.faq-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--color-primary-dark);
}

/* === SAĞ BAŞLIK === */
.faq-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}
.faq-title span {
  color: var(--color-primary);
}
.faq-desc {
  max-width: 1200px;
  color: var(--color-secondary);
  line-height: 1.7;
  margin-bottom: 3rem;
  text-align: center;
}

/* === GRUPLAR === */
.faq-groups {
  position: relative;
  min-height: 200px;
}
.faq-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.faq-group.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* === ACCORDION === */
.faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e1e7ef;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  position: relative;
  color: var(--color-primary-dark);
  transition: 0.3s;
  font-size: 1.05rem;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.4rem;
  transition: transform 0.3s;
  color: var(--color-primary-dark);
}
.faq-question.active::after {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
  color: var(--color-secondary);
  line-height: 1.6;
  background: #fafafa;
  border-top: 1px solid #e1e7ef;
}
.faq-answer.open {
  max-height: 500px;
  padding: 1rem 1.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    text-align: center;
    margin-bottom: 2rem;
  }
  .faq-title {
    font-size: 2.2rem;
  }
}

.svg-container svg {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.svg-container .bottom {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.svg-container button {
  text-transform: uppercase;
  font-family: helvetica, sans-serif;
  letter-spacing: 0.2rem;
  background-color: white;
  color: black;
  transition: all 0.3s ease;
}

.svg-container button:hover,
.svg-container button:focus {
  background-color: black;
  color: white;
  outline: none;
}


/* Responsive */
@media (max-width: 992px) {
  .faq-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
  .faq-cta-text h2 {
    font-size: 1.7rem;
  }
  .faq-cta-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
}

/* ================================
   ALT CTA ALANI
   ================================ */
.faq-cta {
  background: #f5f5f5;
  padding: 4rem 1rem;
}

.faq-cta-box {
  background: #fff;
  border-radius: 24px;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.faq-cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.faq-cta-text p {
  font-size: 1.05rem;
  color: var(--color-secondary);
  line-height: 1.6;
  max-width: 800px;
}

.faq-cta-btn {
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
}

.faq-cta-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* === RESPONSIVE === */
/* --- Laptop & Tablet Yatay (992px–1439px) --- */
@media (min-width: 992px) and (max-width: 1439px) {
  .faq-hero {
    height: 40vh;
  }
}

@media (max-width: 992px) {
    .faq-hero {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    background: #fff;
}
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-sidebar {
    display: none;
  }
  .faq-mobile-select {
    display: block;
  }
  .faq-main {
    padding: 4rem 1rem 0;
  }
  .faq-title {
    text-align: center;
    font-size: 2rem;
  }
  .faq-desc {
    text-align: center;
    font-size: 0.95rem;
  }
  .faq-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
  .faq-cta-text h2 {
    font-size: 1.7rem;
  }
} /* ================================
   CUSTOM DROPDOWN TASARIMI
   ================================ */
.custom-select {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin-bottom: 2rem;
  font-family: inherit;
}

.custom-select-trigger {
  background-color: #fff;
  border: 1px solid #ccd6e0;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary-dark);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(-135deg);
}

.custom-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccd6e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 10;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 14px;
  cursor: pointer;
  color: var(--color-primary-dark);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-option:hover,
.custom-option.active {
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
}
/* Mobil için göster, masaüstünde gizle */
@media (min-width: 993px) {
  .custom-select {
    display: none;
  }
}
