/* Isolated Hero Styles for JENESIS page */
.hero-title--jenesis {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Aralık azaltıldı */
  gap: min(9vw, 65px);
  /* Tek satırda kalması için wrap kapatıldı */
  flex-wrap: nowrap;
  /* Font boyutu artırıldı */
  font-size: clamp(3rem, 14vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
  width: 100%;
  /* Perfect centering için */
  margin: 0 auto;
  position: relative;
}
.hero-info-inline {
  font-family: "Space Colony", sans-serif;
  font-size: clamp(
    0.6rem,
    0.8vw,
    0.8rem
  ); /* Responsive boyut - biraz daha artırıldı */
  font-weight: 100; /* En ince ağırlık */
  font-variation-settings: "wght" 100; /* Değişken fontu zorla */
  color: #3b3a3a; /* Yan metin rengi */
  opacity: 1; /* %100 opaklık talep edildi */
  white-space: nowrap;
  letter-spacing: 0.06em; /* Biraz daraltıldı */
  -webkit-font-smoothing: antialiased;
}

/* Merkezdeki JENESIS kelimesi rengi */
.hero-title--jenesis > div > span {
  font-family: "Space Colony", sans-serif;
  font-weight: 600;
  color: #dc5310;
}
/* Yan metinler ile ana başlık arasındaki boşluk perfect centering için */
.hero-info-before {
  margin-right: -0.3rem;
  flex-shrink: 0;
}
.hero-info-after {
  margin-left: -0.3rem;
  flex-shrink: 0;
}

/* Responsive ayarları */
@media (min-width: 1600px) {
  .hero-title--jenesis {
    font-size: clamp(6rem, 10vw, 9rem);
    /* gap: min(0.8vw, 20px); */
    max-width: 1400px;
  }
  .hero-info-inline {
    font-size: clamp(0.75rem, 0.9vw, 0.95rem);
  }
}

@media (max-width: 1200px) {
  .hero-title--jenesis {
    flex-direction: column;
    gap: 0.2rem;
    font-size: clamp(2.5rem, 13vw, 7rem);
    max-width: 95%;
  }
  .hero-info-inline {
    font-size: clamp(0.55rem, 0.75vw, 0.75rem);
    letter-spacing: 0.05em;
  }
  .hero-info-before {
    margin-right: 0;
    margin-bottom: -0.3rem;
  }
  .hero-info-after {
    margin-left: 0;
    margin-top: -0.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title--jenesis {
    gap: 0.8rem;
    font-size: clamp(2.2rem, 16vw, 5.5rem);
    max-width: 90%;
  }
  .hero-info-inline {
    font-size: clamp(0.85rem, 2.4vw, 1.1rem);
    letter-spacing: 0.05em;
    line-height: 1.4;
  }
  .hero-info-before {
    margin-bottom: 0.5rem;
  }
  .hero-info-after {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title--jenesis {
    gap: 1rem;
    font-size: clamp(2rem, 18vw, 4rem);
    max-width: 85%;
  }
  .hero-info-inline {
    font-size: clamp(0.95rem, 3.2vw, 1.2rem);
    letter-spacing: 0.06em;
    line-height: 1.5;
  }
  .hero-info-before {
    margin-bottom: 0.8rem;
  }
  .hero-info-after {
    margin-top: 0.8rem;
  }
}

/* HUB SİSTEMİ navigation styling - Contact page inspired */
.hub-navigation-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1800px;
}

.hub-info-before {
  font-family: "Space Colony", sans-serif;
  font-size: 16px;
  font-weight: 500 !important;
  color: #000;
  letter-spacing: 0;
  margin: 0;
  width: 300px;
  text-align: left;
  padding-left: 80px;
  line-height: 20px;
}

.next-hero-title--hub {
  font-family: "Space Colony", sans-serif;
  font-size: calc(1rem + 5vw);
  font-weight: 600;
  /* letter-spacing: -0.4vw; */
  color: #dc530f;
  margin: 0;
  text-align: center;
  flex-shrink: 0;
  text-transform: none;
  line-height: calc(1rem + 7vw);
}

.hub-info-after {
  font-family: "Space Colony", sans-serif;
  font-size: 15px;
  font-weight: 500 !important;
  color: #000;
  letter-spacing: 0;
  margin: 0;
  width: 300px;
  text-align: left;
  padding-left: 40px;
  line-height: 20px;
}

@media (max-width: 1024px) {
  .hub-navigation-container {
    padding: 0 3%;
  }

  .next-hero-title--hub {
    font-size: calc(1rem + 5vw);
    letter-spacing: -0.3vw;
    line-height: calc(1rem + 6vw);
  }

  .hub-info-before {
    width: 250px;
    padding-left: 30px;
    font-size: 14px;
    line-height: 18px;
  }

  .hub-info-after {
    width: 250px;
    padding-left: 30px;
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 768px) {
  .hub-navigation-container {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .next-hero-title--hub {
    font-size: calc(1rem + 4vw);
    letter-spacing: -0.2vw;
    line-height: calc(1rem + 5vw);
    order: 1;
  }

  .hub-info-before {
    order: 0;
    width: 100%;
    text-align: center;
    padding-left: 0;
    font-size: 14px;
    line-height: 18px;
  }

  .hub-info-after {
    order: 2;
    width: 100%;
    text-align: center;
    padding-left: 0;
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .next-hero-title--hub {
    font-size: calc(1rem + 3.5vw);
    letter-spacing: -0.15vw;
    line-height: calc(1rem + 4.5vw);
  }

  .hub-info-before,
  .hub-info-after {
    width: 100%;
    padding: 0;
    font-size: 12px;
    line-height: 16px;
  }
}

/* Footer Mobile Improvements */
@media (max-width: 768px) {
  .clapat-footer {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.02);
  }

  .clapat-footer #footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 20px;
    max-width: 100%;
  }

  .clapat-footer #backtotop {
    order: 1;
    margin-bottom: 10px;
  }

  .clapat-footer .footer-middle {
    order: 3;
  }

  .clapat-footer .socials-wrap {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .clapat-footer .socials-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
  }

  .clapat-footer .socials {
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
  }

  .clapat-footer .socials li {
    margin: 0;
  }

  .clapat-footer .socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .clapat-footer .socials a:hover {
    background: #dc5310;
    color: white;
    transform: translateY(-2px);
  }

  .clapat-footer .copyright {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    max-width: 280px;
    margin: 0 auto;
  }

  .clapat-footer .copyright a {
    color: #dc5310;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .clapat-footer {
    padding: 35px 0;
  }

  .clapat-footer #footer-container {
    gap: 25px;
    padding: 0 15px;
  }

  .clapat-footer .socials {
    gap: 20px;
  }

  .clapat-footer .socials a {
    width: 34px;
    height: 34px;
    font-size: 14px;
    background: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .clapat-footer .socials a:hover {
    background: #dc5310;
    color: white;
    transform: translateY(-2px);
  }

  .clapat-footer .copyright {
    font-size: 12px;
    max-width: 260px;
  }

  .clapat-footer .socials-text {
    font-size: 15px;
  }
}

/* WhatsApp Button Mobile Positioning */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 8px !important;
    bottom: 70px !important;
    z-index: 9999 !important;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 12px !important;
    bottom: 60px !important;
    width: 28px !important; /* match footer social icon on small screens */
    height: 28px !important;
  }

  .whatsapp-float .whatsapp-icon {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Sosyal Medya Dikey Sıralama - Sağda */
@media (max-width: 768px) {
  .clapat-footer #footer-container {
    position: relative;
  }

  .clapat-footer .socials-wrap {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    order: unset !important;
    flex-direction: column !important;
    align-items: flex-end !important;
  }

  .clapat-footer .socials {
    flex-direction: column !important;
    gap: 18px !important;
  }

  .clapat-footer .socials a {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    background: white !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
  }

  .clapat-footer .socials a:hover {
    background: #dc5310 !important;
    color: white !important;
    transform: translateY(-2px) !important;
  }

  .clapat-footer .socials-text {
    display: none !important;
  }

  .clapat-footer .footer-middle {
    margin-right: 120px !important;
  }

  .clapat-footer #backtotop {
    margin-right: 120px !important;
  }
}

@media (max-width: 480px) {
  .clapat-footer .socials-wrap {
    right: 10px !important;
  }

  .clapat-footer .socials {
    gap: 15px !important;
  }

  .clapat-footer .socials a {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    background: white !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
  }

  .clapat-footer .socials a:hover {
    background: #dc5310 !important;
    color: white !important;
    transform: translateY(-2px) !important;
  }

  .clapat-footer .footer-middle {
    margin-right: 80px !important;
  }

  .clapat-footer #backtotop {
    margin-right: 80px !important;
  }
}

/* Mobile Menu Fix - Alt menülerin başlangıçta kapalı olması */
@media (max-width: 1024px) {
  /* Ana flexnav'ı gizle, sadece hamburger menu ile açılacak */
  .flexnav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    padding-top: 80px;
    overflow-y: auto;
  }

  /* Hamburger menu açıkken göster */
  .flexnav.flexnav-show {
    display: block !important;
  }

  /* Alt menüleri başlangıçta gizle */
  .flexnav ul {
    display: none !important;
  }

  /* Açık alt menüler */
  .flexnav ul.flexnav-show {
    display: block !important;
  }

  /* Ana menü öğeleri düzenlemesi */
  .flexnav > li {
    display: block !important;
    /* border-bottom kaldırıldı - çizgi yok */
  }

  .flexnav > li > a {
    font-family: "Space Colony", sans-serif !important;
    color: white !important;
    padding: 20px 35px !important;
    font-size: 20px !important;
    text-align: center !important;
    display: block !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border-radius: 15px !important;
    margin: 8px 25px !important;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05)
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .flexnav > li > a:before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    ) !important;
    transition: left 0.6s !important;
  }

  .flexnav > li > a:hover {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.1)
    ) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
  }

  .flexnav > li > a:hover:before {
    left: 100% !important;
  }

  /* Alt menü styling - Clean & Modern Design */
  .flexnav ul {
    background: rgba(20, 20, 20, 0.95) !important;
    margin: 12px 25px !important;
    border-radius: 16px !important;
    padding: 8px 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  }

  .flexnav ul li {
    border-bottom: none !important;
    margin: 0 !important;
  }

  .flexnav ul li a {
    font-family: "Space Colony", sans-serif !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    text-align: center !important;
    display: block !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    border-radius: 10px !important;
    margin: 3px 12px !important;
    background: transparent !important;
    position: relative !important;
  }

  .flexnav ul li a:hover {
    background: rgba(220, 83, 16, 0.8) !important;
    color: #fff !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(220, 83, 16, 0.3) !important;
  }

  /* 3. seviye menü - Simple Clean Design */
  .flexnav ul ul {
    background: rgba(10, 10, 10, 0.9) !important;
    margin: 8px 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 5px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  }

  .flexnav ul ul li {
    border-bottom: none !important;
    margin: 0 !important;
  }

  .flexnav ul ul li a {
    padding: 12px 18px !important;
    font-size: 14px !important;
    text-align: center !important;
    display: block !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 2px 8px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 300 !important;
    background: transparent !important;
  }

  .flexnav ul ul li a:hover {
    background: rgba(250, 130, 29, 0.6) !important;
    color: #fff !important;
    transform: scale(1.01) !important;
    box-shadow: 0 2px 10px rgba(250, 130, 29, 0.2) !important;
  }
}

/* ============================================
   NUCLEAR OVERRIDE - GELECEĞİN KAZAN DAİRELERİ İÇİN ULTRA LIGHT
   ============================================ */

/* En güçlü override - her koşulda Light yapar */
body .hero-subtitle-light .secondary-font,
body .hero-subtitle-light .secondary-font span,
html .hero-subtitle-light .secondary-font,
html .hero-subtitle-light .secondary-font span,
* .hero-subtitle-light .secondary-font,
* .hero-subtitle-light .secondary-font span {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 400 !important;
  font-variation-settings: "wght" 400 !important;
  font-size: 16px !important;
  -webkit-font-smoothing: antialiased !important;
  letter-spacing: 0.1em !important;
}

/* ============================================
   İLETİŞİM BİLGİLERİ FONT AİLESİ - SPACE COLONY
   ============================================ */

/* İletişim kartlarındaki tüm yazılar için Space Colony font ailesi */
.box-icon-content h6,
.box-icon-content p {
  font-family: "Space Colony", sans-serif !important;
}

/* İletişim kartlarındaki linkler için de Space Colony */
.box-icon-content h6 a,
.box-icon-content p a {
  font-family: "Space Colony", sans-serif !important;
}

/* E-posta adresi için daha güçlü seçici */
.box-icon-content h6.no-margins a[href*="mailto"],
.box-icon-content h6 a[href*="jenesis.com.tr"],
a[href="mailto:info@jenesis.com.tr"] {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 500 !important;
}

/* Telefon numarası için de aynı şekilde */
.box-icon-content h6 a[href*="tel"] {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 400 !important;
}

/* NUCLEAR OVERRIDE - E-posta ve telefon linkleri için en güçlü kural */
body .box-icon-content h6 a,
html .box-icon-content h6 a,
* .box-icon-content h6 a {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 400 !important;
}

/* ULTRA GÜÇLÜ OVERRIDE - Hiçbir şey bunu ezemesin */
body div.box-icon-content h6.no-margins a[href*="jenesis.com.tr"],
html div.box-icon-content h6.no-margins a[href*="jenesis.com.tr"],
body div.box-icon-content h6.no-margins a[href*="mailto"],
html div.box-icon-content h6.no-margins a[href*="mailto"] {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* Tüm box-icon-content alanındaki tüm elementler için güçlü override */
.content-row .box-icon-wrapper .box-icon-content h6 a,
.content-row .box-icon-wrapper .box-icon-content h6,
.content-row .box-icon-wrapper .box-icon-content p {
  font-family: "Space Colony", sans-serif !important;
}

/* Merkez, Fabrika, Telefon, E-posta başlıklarını özelleştir */
.box-icon-content h6[style*="color: #dc530f"],
.box-icon-content p[style*="color: #dc530f"] {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 600 !important;
}

/* Adres ve iletişim bilgileri için */
.box-icon-content h6:not([style*="color: #dc530f"]) {
  font-family: "Space Colony", sans-serif !important;
  font-weight: 400 !important;
}
