/* Slider kartları için modern kutu stili - Transparan/Blur efekti */
.category-card.single {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  height: 400px;
  transition: all 0.3s ease !important;
  position: relative;
}
@media (max-width: 768px) {
  .category-card.single {
    min-height: 320px;
    height: 320px;
  }
  
  /* Mobilde slider yerine grid görünümü */
  .categorySlider .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    transform: none !important;
    width: 100% !important;
  }
  
  .categorySlider .swiper-slide {
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }
  
  .categorySlider {
    overflow: visible !important;
  }
  
  .category-card.single {
    min-height: 280px;
    height: 280px;
    padding: 20px 15px 15px 15px;
  }
  
  .category-card.single .box-img img {
    max-width: 180px;
    max-height: 180px;
  }
  
  .category-card.single .box-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  /* Daha küçük mobil cihazlar için grid ayarları */
  .categorySlider .swiper-wrapper {
    gap: 15px !important;
  }
  
  .category-card.single {
    min-height: 260px;
    height: 260px;
    padding: 18px 12px 12px 12px;
  }
  
  .category-card.single .box-img img {
    max-width: 160px;
    max-height: 160px;
  }
  
  .category-card.single .box-title {
    font-size: 0.9rem;
  }
}

.category-card.single:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
  transform: translateY(-4px) scale(1.03);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.category-card.single .box-img {
  margin-bottom: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 12px !important;
}
.category-card.single .box-img img {
  max-width: 240px;
  max-height: 240px;
  border-radius: 12px !important;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
/* Kart yan taraflarında eğik/clip effect olmasın */
.category-card.single,
.category-card.single .box-img,
.category-card.single .box-img img {
  -webkit-clip-path: none !important;
          clip-path: none !important;
  -webkit-transform: none !important;
      -ms-transform: none !important;
          transform: none !important;
}
.category-card.single::before,
.category-card.single::after { display: none !important; }
.category-card.single .box-title {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}
/* Alt açıklama veya ek yazı da kartın içinde gözüksün */
.category-card.single > *:not(.box-img):not(.box-title) {
  width: 100%;
  text-align: center;
  color: #ffffff !important;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}
/* Anasayfa header'ı transparan kalır */
.th-header.header-layout1.homepage-header {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

/* Diğer sayfalarda header arkaplan rengi - açık mavi ton */
.th-header.header-layout1:not(.homepage-header) {
  background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}
.th-header.header-layout1:not(.homepage-header) .main-menu ul li a {
  color: #2c3e50 !important;
}
.th-header.header-layout1:not(.homepage-header) .main-menu ul li a:hover {
  color: #34495e !important;
}
nav.main-menu ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}
nav.main-menu ul li {
  white-space: nowrap;
  margin: 0 !important;
  padding: 0 !important;
}
nav.main-menu ul li a {
  padding: 8px 12px !important;
  font-size: 1rem;
  line-height: 1.2;
  display: inline-block;
  white-space: nowrap;
}

/* Custom overrides for bizkimiz page */

/* Compact header height */
.header-layout1 .menu-area {
    padding: 6px 0 !important;
}

/* Fix header layout - keep all menu items on same line */
.header-layout1 .main-menu > ul > li {
    margin: 0 10px !important;
    white-space: nowrap;
}

.header-layout1 .main-menu > ul > li > a {
    font-size: 14px;
    padding: 20px 8px !important;
}

/* Reduce spacing between logo and menu */
.header-layout1 .main-menu {
    padding-left: 30px !important;
}

/* Ensure menu container doesn't wrap */
.header-layout1 .main-menu ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* Kentsel Dönüşüm alt menüsünü çok sütunlu yap ve daha geniş alan tanı */
/* Kentsel Dönüşüm alt menüsü: küçük ve tek sütun, alt alta */
.header-layout1 .main-menu li.menu-kentsel > ul.sub-menu {
  width: 340px !important;
  max-height: 70vh;
  overflow: auto;
  column-count: 1;
  padding: 12px 14px !important;
}
.header-layout1 .main-menu li.menu-kentsel > ul.sub-menu li {
  display: block;
  padding: 2px 0 !important;
}
.header-layout1 .main-menu li.menu-kentsel > ul.sub-menu a {
  white-space: normal;
  line-height: 1.35;
  font-size: 13px !important;
  padding: 6px 4px !important;
}
/* Submenu başındaki uçak/ikon kaldırılsın */
.header-layout1 .main-menu ul.sub-menu li a:before {
  display: none !important;
  content: none !important;
}
@media (max-width: 1199px) {
  .header-layout1 .main-menu li.menu-kentsel > ul.sub-menu {
    width: 300px !important;
  }
}
@media (max-width: 991px) {
  .header-layout1 .main-menu li.menu-kentsel > ul.sub-menu {
    width: auto !important;
    max-height: none;
  }
}

/* Bizkimiz slider boşluğunu azalt ve görseli üstte hizala */
.breadcumb-wrapper[data-bg-src$="bizkimizslider.jpeg"] {
    padding: 110px 0 70px !important;
    min-height: 420px !important; /* daha uzun görünüm */
    margin-top: 12px !important; /* header ile araya boşluk */
    background-position: center center !important;
    background-size: cover !important;
}

@media (max-width: 1199px) {
  .breadcumb-wrapper[data-bg-src$="bizkimizslider.jpeg"] {
    padding: 95px 0 60px !important;
    margin-top: 10px !important;
    min-height: 380px !important;
  }
}

@media (max-width: 991px) {
  .breadcumb-wrapper[data-bg-src$="bizkimizslider.jpeg"] {
    padding: 85px 0 55px !important;
    margin-top: 8px !important;
    min-height: 320px !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1399px) {
    .header-layout1 .main-menu > ul > li {
        margin: 0 6px !important;
    }
    
    .header-layout1 .main-menu > ul > li > a {
        font-size: 13px;
        padding: 20px 6px !important;
    }
}

@media (max-width: 1199px) {
    .header-layout1 .main-menu > ul > li {
        margin: 0 4px !important;
    }
    
    .header-layout1 .main-menu > ul > li > a {
        font-size: 12px;
        padding: 20px 4px !important;
    }
    
    .breadcumb-wrapper {
        padding: 220px 0 !important;
        margin-top: -60px;
    }
}

@media (max-width: 991px) {
    .breadcumb-wrapper[data-bg-src$="bizkimizslider.jpeg"] {
        padding: 70px 0 45px !important;
        margin-top: 6px !important;
    }
}

/* About alanındaki 3 görseli küçült ve konumlandırmayı iyileştir */
.about-area .img-box3 {
  margin-left: 0 !important;
  min-height: 480px;
}
.about-area .img-box3 .img1 img {
  width: 78%;
  display: block;
  border-radius: 16px;
}
.about-area .img-box3 .img2 {
  position: absolute;
  top: 8%;
  right: 0;
  width: 42%;
  z-index: 2;
}
.about-area .img-box3 .img2 img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 4px solid #fff;
}
.about-area .img-box3 .img3 {
  position: absolute;
  left: 4%;
  bottom: -6%;
  width: 38%;
  margin-top: 0;
  z-index: 3;
}
.about-area .img-box3 .img3 img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 4px solid #fff;
}

@media (max-width: 1199px) {
  .about-area .img-box3 { min-height: 440px; }
  .about-area .img-box3 .img1 img { width: 82%; }
  .about-area .img-box3 .img2 { width: 44%; top: 10%; }
  .about-area .img-box3 .img3 { width: 40%; bottom: -4%; }
}

@media (max-width: 991px) {
  .about-area .img-box3 { min-height: 400px; }
}

@media (max-width: 767px) {
  /* Mobilde default akışa dön ve üst üste gelsin */
  .about-area .img-box3 { min-height: initial; }
  .about-area .img-box3 .img2, .about-area .img-box3 .img3 { position: relative; width: 100%; left: 0; right: 0; bottom: 0; top: auto; margin-top: 16px; }
  .about-area .img-box3 .img1 img, .about-area .img-box3 .img2 img, .about-area .img-box3 .img3 img { width: 100%; border-width: 3px; }
}

/* KD sayfası özel stiller */
.kd-breadcumb {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important; /* yarım görünüm için daha az yükseklik */
  padding: 90px 0 60px !important;
  min-height: 300px !important;
  margin-top: 12px !important; /* header ile araya boşluk */
}
@media (max-width: 1199px) {
  .kd-breadcumb { padding: 80px 0 50px !important; min-height: 280px !important; margin-top: 10px !important; }
}
@media (max-width: 991px) {
  .kd-breadcumb { padding: 70px 0 50px !important; min-height: 240px !important; margin-top: 8px !important; }
}

.kd-about .kd-single-img { border-radius: 20px; overflow: hidden; }
.kd-about .kd-single-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 1199px) {
  .kd-about .kd-single-img img { height: 460px; }
}
@media (max-width: 767px) {
  .kd-about .kd-single-img img { height: 340px; }
}

/* Ekibimiz kartlarını eşitle ve görseli dikey orana sabitle */
.team-area3 .th-team.team-grid {
  height: 100%;
}
.team-area3 .th-team.team-grid .team-img {
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
}
.team-area3 .th-team.team-grid .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-area3 .th-team.team-grid .team-content {
  min-height: 140px;
}
@media (max-width: 1199px) {
  .team-area3 .th-team.team-grid .team-img { height: 320px; }
}
@media (max-width: 767px) {
  .team-area3 .th-team.team-grid .team-img { height: 300px; }
}

/* Güvenilir Çözümler 3 maddeyi tek satır ve ortada hizala */
.about-area .about-item-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  justify-items: center;
}
.about-area .about-item.style2 {
  text-align: center;
}
.about-area .about-item.style2 .about-item_img {
  display: inline-block;
  margin: 0 auto 10px auto;
}
@media (max-width: 991px) {
  .about-area .about-item-wrap { grid-template-columns: 1fr; }
}

/* Footer Get In Touch: ortala, genişlet ve 3 kutuyu aynı satıra al */
.footer-layout2 .widget.footer-widget {
  width: 100%;
  text-align: center;
}
.footer-layout2 .th-widget-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 10px auto;
}
.footer-layout2 .th-widget-contact .th-social {
  grid-column: 1 / -1;
  justify-self: center;
}
.footer-layout2 .th-widget-contact .info-box_text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer-layout2 .widget.footer-widget .th-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 960px;
  margin: 8px auto 0 auto;
  width: 100%;
}
/* Footer address kısmını tam ortala */
.footer-layout1 .widget.footer-widget { width: 100%; }
.footer-layout1 .widget.footer-widget .th-widget-contact {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 960px;
}
.footer-layout1 .widget.footer-widget .widget_title { text-align: center; }
/* Footer için blur şerit efekti ve İş Birliklerimiz bölümü */
.partnership-section {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  padding: 30px 20px !important;
  margin: 40px 0 !important;
  text-align: center !important;
}
.partnership-section h3 {
  color: #ffffff !important;
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}
.partnership-logos {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  min-height: 80px !important;
}

@media (max-width: 991px) {
  .footer-layout2 .th-widget-contact { grid-template-columns: 1fr; gap: 12px; }
  .partnership-section {
    margin: 30px 0 !important;
    padding: 25px 15px !important;
  }
  .partnership-section h3 {
    font-size: 1.5rem !important;
  }
}
/* ============================================= */
/* KENTSEL DÖNÜŞÜM SUBMENU - LEFT ALIGNED */
/* ============================================= */
.menu-kentsel {
    position: relative !important;
}

.menu-kentsel .sub-menu {
    display: block !important;
    width: auto !important;
    min-width: 280px !important;
    max-width: 350px !important;
    padding: 10px 0 !important;
    background: white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    border-radius: 5px !important;
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 100% !important;
    z-index: 1000 !important;
    white-space: normal !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease !important;
    text-align: left !important;
}

.menu-kentsel:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.menu-kentsel .sub-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.menu-kentsel .sub-menu li a {
    display: block !important;
    padding: 12px 25px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
    white-space: normal !important;
    text-align: left !important;
}

.menu-kentsel .sub-menu li a:hover {
    background: #f8f8f8 !important;
    color: #000 !important;
    border-left: 3px solid #1a73e8 !important;
    padding-left: 30px !important;
}

.menu-kentsel > a:after {
    display: none !important;
}

/* ============================================= */
/* MOBILE RESPONSIVE ADJUSTMENTS */
/* ============================================= */
@media (max-width: 1199px) {
    .th-header {
        height: auto !important;
        padding: 15px 0 !important;
    }
    
    .header-logo img {
        width: 100px !important;
    }
    
    .menu-kentsel .sub-menu {
        position: static !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: none !important;
        opacity: 1;
        visibility: visible;
        padding-left: 20px !important;
    }
    
    .menu-kentsel.active .sub-menu {
        display: block !important;
    }
    
    .menu-kentsel .sub-menu li a {
        padding-left: 30px !important;
    }
}

/* ============================================= */
/* SAFETY OVERRIDES TO PREVENT CUTTING */
/* ============================================= */
.th-header {
    overflow: visible !important;
}

.main-menu > ul > li {
    overflow: visible !important;
}

.menu-kentsel {
    overflow: visible !important;
}
/* ANA SAYFA HEADER - ŞEFFAF OLSUN */
body.home header.th-header,
body.home header.th-header.is-sticky,
body.home .sticky-wrapper,
body.home .menu-area {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* DİĞER TÜM SAYFALAR - MAVİ OLSUN */
header.th-header:not(.homepage-header),
header.th-header.bg-title,
header.th-header.is-sticky,
header.th-header.sticky,
header.th-header.sticked,
header.th-header[style],
header.th-header.is-sticky[style],
.sticky-header,
.sticky-wrapper:not(.home),
.sticky-wrapper.is-sticky:not(.home),
.menu-area:not(.home),
.menu-area.is-sticky:not(.home),
.menu-area[style]:not(.home),
.header-clone,
.header-clone.is-sticky {
  background-color: var(--title-color) !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* KLON HEADER'LAR */
.header-clone:not(.home),
.header-duplicate:not(.home),
.clone-header:not(.home) {
  background-color: var(--title-color) !important;
}

/* ==== Kentsel Dönüşüm Alt Menü Düzeltmesi ==== */

/* Menü pozisyon kontrolü */
.header-layout1 .main-menu li.menu-kentsel {
  position: relative;
}

/* Alt menünün sola hizalanması ve taşma engeli */
.header-layout1 .main-menu li.menu-kentsel > ul.sub-menu {
  right: 0; /* taşarsa sola yaslar */
  left: auto;
  max-width: 340px;
  overflow-wrap: break-word;
  white-space: normal;
  box-sizing: border-box;
}

/* Büyük ekranlarda daha düzgün hizalama */
@media (min-width: 1200px) {
  .header-layout1 .main-menu li.menu-kentsel > ul.sub-menu {
    transform: translateX(-20%);
  }
}

/* Alt menüde baştaki ikon/ok/işaret kaldırma */
.header-layout1 .main-menu ul.sub-menu li a:before {
  display: none !important;
  content: none !important;
}

/* ==== Genel Menü Taşma Koruması ==== */
.header-layout1 .main-menu ul.sub-menu {
  overflow: hidden;
}

/* Tüm sayfalarda şeffaf header */
.th-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  z-index: 999;
}

/* Menü yazılarını beyaz yap */
.th-header .main-menu > ul > li > a {
  color: #fff !important;
}

/* Sticky olunca arka plan ekle */
.sticky-wrapper.is-sticky .th-header {
  background: rgba(255, 255, 255, 0.95) !important;
}

/* Slider veya sayfa üst görselinin header altında başlamasını sağla */
body:not(.home) .page-header,
body:not(.home) .hero-section,
body:not(.home) .slider-bg-wrapper {
  margin-top: 0;
  padding-top: 100px; /* header yüksekliği kadar boşluk */
}
/* Header menü yazı rengi - şeffaf modda beyaz */
.th-header .main-menu > ul > li > a {
  color: #fff !important;
  border-bottom: none !important; /* Alt çizgiyi kaldır */
}

/* Hover durumunda biraz açık mavi */
.th-header .main-menu > ul > li > a:hover {
  color: #801919  !important;
}

/* Aktif sayfa rengi */
.th-header .main-menu > ul > li.current-menu-item > a,
.th-header .main-menu > ul > li > a.active {
  color: #a30000ef !important;
}

/* Sticky olunca yazılar siyah olsun */
.sticky-wrapper.is-sticky .th-header .main-menu > ul > li > a {
  color: #000 !important;
}
.sticky-wrapper.is-sticky .th-header .main-menu > ul > li.current-menu-item > a,
.sticky-wrapper.is-sticky .th-header .main-menu > ul > li > a.active {
  color: #801919 !important;
}

/* footer konteyneri sabit kalsın */
.footer-wrapper {
  position: relative;
  padding: 40px 0;
}
/* ortak blur-panel sınıfı: çok hafif yarı saydam katman + blur */
.blur-panel {
  background-color: rgba(255, 255, 255, 0.03); /* blur görünürlüğü */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 0; /* köşeleri düz olsun ki alta tam otursun */
  padding: 15px 20px; /* yüksekliği küçültmek için padding azaltıldı */
  margin-bottom: 0;
}

/* İletişim içindeki yazıları beyaz yap */
.contact-section,
.contact-section .widget_title,
.contact-section .details p,
.contact-section .details a {
  color: #ffffff !important;
}

/* İkonlar solda ve metinlerle aynı hizada */
.info-box_text {
  display: flex;
  align-items: center;
  gap: 12px; /* ikon ile metin arası mesafe */
  margin-bottom: 14px;
}

.info-box_text .icon {
  width: 30px;
  flex-shrink: 0;
}

.info-box_text .icon img {
  display: block;
  width: 100%;
  height: auto;
}

/* mobilde daha sıkışık görünmemesi için responsive küçük ayar */
@media (max-width: 576px) {
  .blur-panel { padding: 14px; border-radius: 0; }
  .info-box_text { gap:8px; }
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* Mobile footer: tüm öğeler alt alta */
@media (max-width: 767.98px) {
  .contact-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .contact-row .info-box_text {
    justify-content: flex-start;
  }
}

/* footer boşluğunu tamamen kaldır */
.footer-wrapper {
  padding-bottom: 0;
}

.footer-wrapper .widget-area {
  margin-bottom: 0;
}

footer {
  margin-bottom: 0;
}
.contact-section.blur-panel { padding: 15px 20px; }


/* ============================================= */
/* Global Sticky Header Behavior (All Pages) */
/* Transparan başlangıç, scroll sonrası açık mavi */
/* ============================================= */

/* Başlangıçta (sticky değilken) transparan kalsın */
body .sticky-wrapper:not(.sticky) header.th-header,
body .sticky-wrapper:not(.sticky) .menu-area {
  background: transparent !important;
  box-shadow: none !important;
}

/* Wrapper'ı da transparan tut (önceki kurallar .sticky-wrapper'a arkaplan verebiliyor) */
body .sticky-wrapper:not(.sticky) {
  background: transparent !important;
}

/* Scroll sonrası (sticky iken) açık mavi arkaplan ve okunur yazılar */
.sticky-wrapper.sticky .th-header {
  background: #ffffff !important; /* scroll sonrası BEYAZ */
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Menü alanına da aynı arkaplanı uygula (tema bazı layoutlarda menu-area'yı boyuyor) */
.sticky-wrapper.sticky .menu-area {
  background: #ffffff !important; /* scroll sonrası BEYAZ */
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Wrapper'ın kendisine de beyaz ver (bazı temalarda wrapper arkası görünebilir) */
.sticky-wrapper.sticky {
  background: #ffffff !important;
}

/* Anasayfa sticky'de de BEYAZ olsun */
body.home .sticky-wrapper.sticky .th-header,
body.home .sticky-wrapper.sticky .menu-area {
  background: #ffffff !important;
}

/* Header menü yazı boyutu büyütme (tüm sayfalar) */
.th-header .main-menu > ul > li > a {
  font-size: 16px !important;
}
@media (max-width: 1199px) {
  .th-header .main-menu > ul > li > a {
    font-size: 15px !important;
  }
}

/* Sticky iken tüm linkler siyah, aktif sayfa vurgu rengi */
.sticky-wrapper.sticky .main-menu > ul > li > a {
  color: #000 !important;
}
.sticky-wrapper.sticky .main-menu > ul > li > a:hover {
  color: #333 !important;
}
.sticky-wrapper.sticky .main-menu > ul > li.current-menu-item > a,
.sticky-wrapper.sticky .main-menu > ul > li > a.active {
  color: #801919 !important; /* aktif sayfa rengi */
}

/* Anasayfa harici footer alanını küçült */
body:not(.home) .footer-wrapper {
  padding-top: 75px !important; /* +25px */
  padding-bottom: 75px !important; /* +25px */
}
body:not(.home) .footer-wrapper .widget-area {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-bottom: 0 !important;
}
body:not(.home) .footer-wrapper .widget.footer-widget {
  margin-bottom: 0 !important;
  padding: 0 !important;
}
body:not(.home) .footer-wrapper .copyright-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Footer kapsayıcı gridlerde fazladan boşlukları da sıfırla */
body:not(.home) .footer-wrapper .container,
body:not(.home) .footer-wrapper .row,
body:not(.home) .footer-wrapper [class*="col-"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body:not(.home) .footer-wrapper .widget_title {
  margin-bottom: 6px !important;
}

/* Non-home footer: anasayfa yapısına geçildi (contact-section/blur-panel) */
/* Footer adresinde 2. ofis bir alt satıra insin */
body:not(.home) .contact-section .details span {
  display: block !important;
}

/* Koyu mavinin üstündeki açık mavi blur paneli kaldır */
body:not(.home) .footer-wrapper.bg-title .blur-panel {
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Form gönderim mesajı stilini sade tut */
.form-messages {
  font-size: 14px;
  color: #2c3e50;
}
.form-messages.success { color: #2e7d32; }
.form-messages.error { color: #c62828; }
/* Alt telif satırını da sıkıştır */
body:not(.home) .footer-wrapper .copyright-wrap {
  padding: 8px 0 !important;
}
body:not(.home) .footer-wrapper .copyright-text {
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
/* Footer şekilleri gizle (varsa) */
body:not(.home) .footer-wrapper .shape-mockup {
  display: none !important;
}

/* Sayfa sonundaki bölümün (footer öncesi) alt boşluğunu da kısalt */
body:not(.home) section.space:last-of-type {
  padding-bottom: 12px !important;
}

.sticky-wrapper.sticky .th-header .main-menu > ul > li > a {
  color: #2c3e50 !important;
}

.sticky-wrapper.sticky .th-header .main-menu > ul > li > a:hover {
  color: #34495e !important;
}

/* ============================ */
/* Mobil Hamburger Menü Butonu  */
/* ============================ */
.th-header .th-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #000000; /* varsayılan siyah */
}

.th-header .th-menu-toggle .th-menu-burger,
.th-header .th-menu-toggle .th-menu-burger::before,
.th-header .th-menu-toggle .th-menu-burger::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.th-header .th-menu-toggle .th-menu-burger::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.th-header .th-menu-toggle .th-menu-burger::after {
  position: absolute;
  top: 7px;
  left: 0;
}

/* Sticky olduğunda burger rengi koyu olsun */
.sticky-wrapper.sticky .th-header .th-menu-toggle {
  color: #000000;
}

/* XL ve üzeri: hamburger gizli, zaten ana menü görünüyor */
@media (min-width: 1200px) {
  .th-header .th-menu-toggle { display: none !important; }
}

/* Hamburger sağda sabitlensin (mobil) */
@media (max-width: 1199.98px) {
  .th-header .menu-area { position: relative; }
  .th-header .th-menu-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }
}

/* KD-ONEMI: slider görseli mobilde tam görünsün (kesilmesin) */
@media (max-width: 767.98px) {
  .breadcumb-wrapper[data-bg-src$="kdonemi.jpeg"] {
    background-size: 100% 100% !important; /* hem genişlik hem yükseklik %100 */
    background-repeat: no-repeat !important;
    background-position: center center !important; /* merkez odak */
    min-height: 60vh !important;
    height: 60vh !important;
    padding: 0 !important;
    background-color: #f5f5f5 !important; /* arka plan rengi */
  }
}

/* Daha küçük mobil cihazlar için ek optimizasyon */
@media (max-width: 480px) {
  .breadcumb-wrapper[data-bg-src$="kdonemi.jpeg"] {
    background-size: 100% 100% !important;
    background-position: center center !important;
    min-height: 50vh !important;
    height: 50vh !important;
  }
}

/* NELERYAPIYORUZ SAYFASI: Başlık ve yazıları ortala */
.neleryapiyoruz-page .about-area .title-area {
  text-align: center !important;
}

.neleryapiyoruz-page .about-area .title-area .sub-title {
  text-align: center !important;
  display: block !important;
  font-size: 2.5rem !important; /* daha büyük font */
  font-weight: 700 !important; /* daha kalın */
  margin-bottom: 40px !important;
  color: #2c3e50 !important; /* koyu renk */
  text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.neleryapiyoruz-page .about-area p {
  text-align: justify !important; /* iki yana yaslı */
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.1rem !important; /* daha büyük font */
  line-height: 1.8 !important; /* daha fazla satır aralığı */
  margin-bottom: 25px !important;
}

/* NELERYAPIYORUZ SAYFASI: Header yazılarını siyah yap - GÜÇLÜ KURALLAR */
.neleryapiyoruz-page .th-header .main-menu ul li a {
  color: #000000 !important;
}

.neleryapiyoruz-page .th-header .main-menu ul li a:hover {
  color: #333333 !important;
}

.neleryapiyoruz-page .th-header .main-menu ul li a:focus {
  color: #000000 !important;
}

.neleryapiyoruz-page .th-header .main-menu ul li a:visited {
  color: #000000 !important;
}

/* Hakkımızda linkini kırmızı yap */
.neleryapiyoruz-page .th-header .main-menu ul li a[href*="bizkimiz"],
.neleryapiyoruz-page .th-header .main-menu ul li a.active {
  color: #a30000ef !important; /* diğer sayfalardaki aktif link rengi */
}

.neleryapiyoruz-page .th-header .main-menu ul li a[href*="bizkimiz"]:hover,
.neleryapiyoruz-page .th-header .main-menu ul li a.active:hover {
  color: #801919 !important; /* diğer sayfalardaki hover rengi */
}

/* Sticky header için de siyah renk */
.neleryapiyoruz-page .sticky-wrapper.sticky .th-header .main-menu ul li a {
  color: #000000 !important;
}

.neleryapiyoruz-page .sticky-wrapper.sticky .th-header .main-menu ul li a:hover {
  color: #333333 !important;
}

/* Sticky header'da da Hakkımızda kırmızı olsun */
.neleryapiyoruz-page .sticky-wrapper.sticky .th-header .main-menu ul li a[href*="bizkimiz"],
.neleryapiyoruz-page .sticky-wrapper.sticky .th-header .main-menu ul li a.active {
  color: #801919 !important;
}

/* NELERYAPIYORUZ SAYFASI: Container'ı da ortala */
.neleryapiyoruz-page .about-area .container {
  text-align: center !important;
}

.neleryapiyoruz-page .about-area .row {
  justify-content: center !important;
}

.neleryapiyoruz-page .about-area .col-xl-5 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.neleryapiyoruz-page .about-area .ps-xl-4 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
