/* =========================================================
   PRIVATE CSS
   NİPT Plus - Sayfaya özel ek düzenlemeler
   Optimize edilmiş / tekilleştirilmiş sürüm
   ========================================================= */

/* ---------------------------------------------------------
   01) HEADER ALIGNMENT
   Desktop: logo solda, menü logoya yakın
   Mobile: logo solda, hamburger sağda
   --------------------------------------------------------- */
.header .branding .logo {
  flex: 0 0 auto;
}

@media (min-width: 1200px) {
  .header .branding .navmenu ul {
    justify-content: flex-start !important;
  }
}

@media (max-width: 991.98px) {
  .header .branding .container {
    justify-content: space-between !important;
    gap: 10px;
  }

  .header .branding .navmenu {
    margin-left: 0 !important;
  }
}

/* ---------------------------------------------------------
   02) ACTIVE MENU
   --------------------------------------------------------- */
.navmenu li.active > a,
.navmenu a.active {
  color: var(--accent-color, #0d6efd) !important;
  font-weight: 700 !important;
}

.navmenu a:hover {
  color: var(--accent-color, #0d6efd) !important;
}

/* ---------------------------------------------------------
   03) MOBILE MENU FIX
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
  .mobile-nav-active .navmenu > ul {
    max-height: 70vh !important;
    overflow-y: auto !important;
  }

  .mobile-nav-active .navmenu > ul > li > a {
    font-size: 17px !important;
    padding: 11px 16px !important;
    line-height: 1.35 !important;
  }
}

/* ---------------------------------------------------------
   04) HOME HERO
   --------------------------------------------------------- */
#hero {
  position: relative;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90% !important;
  height: 2px !important;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.2),
    transparent
  ) !important;
}

/* Trust badges küçük ve orta ekranlarda gizlenir */
@media (max-width: 1199.98px) {
  .trust-badges,
  #hero .trust-badges {
    display: none !important;
  }
}

/* Hero badge okunurluk düzeltmesi */
#hero .trust-badges .badge-item,
#hero .trust-badges .badge-item span,
#hero .trust-badges .badge-item i,
.hero .trust-badges .badge-item,
.hero .trust-badges .badge-item span,
.hero .trust-badges .badge-item i {
  color: #111827 !important;
}

#hero .trust-badges .badge-item,
.hero .trust-badges .badge-item {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(17, 36, 68, 0.08) !important;
}

/* Hero stats okunurluk */
#hero .hero-stats p,
#hero .stats-row p,
#hero .hero-stats .stat-item p,
#hero .stats-row .stat-item p {
  color: #5b6676 !important;
}

/* Home hero mobil görünüm */
@media (max-width: 991.98px) {
  .hero-visual,
  #hero .col-lg-6:last-child {
    display: none !important;
  }

  #hero {
    padding-top: 100px !important;
  }
}

@media (max-width: 767.98px) {
  #hero {
    padding-top: 72px !important;
    padding-bottom: 42px !important;
    min-height: auto !important;
  }

  #hero .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #hero h1,
  #hero .hero-title {
    font-size: 2rem !important;
    line-height: 1.14 !important;
    letter-spacing: -0.4px;
    margin-bottom: 16px !important;
  }

  #hero p,
  #hero .hero-description,
  #hero .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
  }

  #hero .hero-stats,
  #hero .stats-row {
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  #hero .hero-buttons,
  #hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  #hero .hero-buttons .btn,
  #hero .hero-actions .btn {
    width: 100% !important;
    min-height: 52px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
  }
}

/* ---------------------------------------------------------
   05) WHY NIPT PLUS HERO / LOGO WATERMARK
   --------------------------------------------------------- */
.why-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  padding: 96px 0 76px !important;
}

.hero-logo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.14;
  transform: translateY(10px);
}

.hero-logo-bg img {
  width: min(760px, 86vw);
  max-width: 86%;
  filter: grayscale(100%);
  user-select: none;
}

.why-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.78) 0%,
    rgba(255,255,255,.70) 48%,
    rgba(255,255,255,.88) 100%
  );
}

.why-hero .container,
.why-hero .heading-title,
.why-hero .hero-lead,
.why-hero .hero-badge {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(20, 83, 136, 0.08);
  color: #145388;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 980px;
  margin: 0 auto;
  color: #5f6b7a;
  line-height: 2.05;
  font-size: 16.8px;
}

@media (max-width: 991.98px) {
  .why-hero {
    padding: 72px 0 54px !important;
  }

  .hero-logo-bg {
    opacity: 0.10;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* ---------------------------------------------------------
   06) WHY NIPT PLUS / VIAGEN LAB NOTE
   --------------------------------------------------------- */
.lab-note {
  max-width: 900px;
  margin-top: 30px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lab-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.lab-note h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #111827;
  font-size: 22px;
  font-weight: 750;
}

.lab-note p {
  color: #4b5563;
  font-size: 15.8px;
  line-height: 1.95;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(20, 83, 136, 0.06);
  color: #145388;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #145388 !important;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 800;
}

.partner-link:hover {
  color: #0f3f68 !important;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .lab-note {
    padding: 24px 20px;
  }
}

/* ---------------------------------------------------------
   07) NİPT AVANTAJLARI / CARD COLOR FIXES
   --------------------------------------------------------- */
#advantages-nipt .section-title h2,
#advantages-nipt .section-title p,
#advantages-nipt .modern-link-card h4,
#advantages-nipt .department-highlight h4,
#advantages-nipt .highlight-icon,
#advantages-nipt .highlight-icon i,
#advantages-nipt .advantage-card-title,
.nipt-advantages-primary .section-title h2,
.nipt-advantages-primary .section-title p,
.nipt-advantages-primary .modern-link-card h4,
.nipt-advantages-primary .department-highlight h4,
.nipt-advantages-primary .advantage-card-title,
.nipt-advantages-primary h4 {
  color: #111827 !important;
}

#advantages-nipt .modern-link-card p,
#advantages-nipt .department-highlight p,
#advantages-nipt .advantage-card-text,
.nipt-advantages-primary .modern-link-card p,
.nipt-advantages-primary .department-highlight p,
.nipt-advantages-primary .advantage-card-text {
  color: #516173 !important;
}

#advantages-nipt .modern-link-card,
#advantages-nipt .department-highlight,
.nipt-advantages-primary .modern-link-card,
.nipt-advantages-primary .department-highlight {
  background: #ffffff !important;
}

#advantages::before {
  content: "";
  display: block;
  width: 96px;
  height: 2px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, #111827, transparent);
}

/* ---------------------------------------------------------
   08) FAQ
   --------------------------------------------------------- */
#faq-nipt .section-title h2 {
  margin-bottom: 5px;
  font-size: 24px;
}

.faq-mini {
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
}

.faq-mini a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #212529;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-mini a:hover,
.faq-mini i {
  color: #0d6efd;
}

.faq-mini i {
  font-size: 14px;
}

.faq-bottom-link {
  position: relative;
  color: #111111;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: color 0.3s ease;
}

.faq-bottom-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #0d6efd;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.faq-bottom-link:hover {
  color: #0d6efd;
}

.faq-bottom-link:hover::after {
  width: 100%;
}

/* ---------------------------------------------------------
   09) EMERGENCY / CTA BANNER
   --------------------------------------------------------- */
.mobile-break {
  display: none;
}

.emergency-content h4,
.faq-callout-banner .emergency-content h4 {
  margin-bottom: 10px;
  color: #111827 !important;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.emergency-content p,
.faq-callout-banner .emergency-content p {
  color: #4b5563 !important;
}

@media (max-width: 576px) {
  .mobile-break {
    display: inline;
  }
}

@media (max-width: 768px) {
  .emergency-content {
    text-align: center;
  }

  .emergency-content h4 {
    font-size: 20px;
  }

  .emergency-content p {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .emergency-btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }
}

/* ---------------------------------------------------------
   10) BLOG RESPONSIVE FIXES
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
  .topic-cluster-box {
    display: none !important;
  }

  .blog-page .row.g-4 > .col-lg-8 {
    order: 2;
  }

  .blog-page .row.g-4 > .col-lg-4 {
    order: 1;
  }

  .quick-contact-card,
  .blog-quick-contact,
  .blog-page .quick-contact,
  .blog-page .contact-box {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .blog-share-inline,
  .blog-action-buttons,
  .blog-detail-action-buttons,
  .share-box,
  .blog-post-card .share-box {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   11) CONTACT PAGE
   --------------------------------------------------------- */
.contact-card .contact-value,
.contact-info-card .contact-value,
.contact-box .contact-link-btn,
.contact-box a,
.contact-box .address,
.contact-card .address,
.contact-info-card .address {
  color: #4b5563 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.contact-card .contact-value:hover,
.contact-info-card .contact-value:hover,
.contact-box .contact-link-btn:hover,
.contact-box a:hover {
  color: #111111 !important;
}

@media (max-width: 768px) {
  .contact-item {
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px;
    text-align: center;
  }

  .contact-item i {
    margin-right: 0 !important;
    font-size: 18px;
  }

  .contact-item span,
  .contact-item a {
    display: block;
  }
}

/* ---------------------------------------------------------
   12) FOOTER
   --------------------------------------------------------- */
.footer,
.footer p,
.footer span,
.footer small,
.footer strong,
.footer li,
.footer .copyright,
.footer .credits,
.footer .footer-about,
.footer .footer-contact,
.footer .contact-link,
.footer .contact-item span,
.footer .contact-info p,
.footer .contact-info a,
.footer .footer-nav a,
.footer .legal-links a,
.footer .footer-links a,
.footer a {
  color: #6b7280 !important;
}

.footer a:hover,
.footer .contact-link:hover,
.footer .contact-info a:hover,
.footer .footer-nav a:hover,
.footer .legal-links a:hover,
.footer .footer-links a:hover,
.footer .copyright a:hover,
.footer .credits a:hover {
  color: #111111 !important;
}

.footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.footer .contact-info p,
.footer .contact-info a {
  display: flex;
  align-items: center !important;
  gap: 10px;
  margin: 0;
  text-decoration: none;
  font-size: 15px;
}

.footer .contact-info p {
  line-height: 1.6;
}

.footer .contact-item {
  gap: 10px;
}

.footer .contact-info i,
.footer .contact-item i,
.footer .footer-contact i,
.footer .bi {
  min-width: 20px;
  color: #6b7280 !important;
  font-size: 18px;
}

/* Footer mobile accordion */
.footer-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #111111;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.footer-toggle i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.footer-toggle.active i {
  transform: rotate(45deg);
}

@media (max-width: 991.98px) {
  .footer-mobile-group {
    padding-top: 2px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .footer-collapsible {
    display: none;
    padding-bottom: 12px;
  }

  .footer-collapsible.open {
    display: block;
  }

  .footer-nav a {
    display: block;
    margin-bottom: 8px;
  }
}

@media (min-width: 992px) {
  .footer-collapsible {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .footer .contact-info p,
  .footer .contact-info a {
    gap: 8px;
    font-size: 14px;
  }
}
