/* ==========================================================================
   Yükser Mühendislik — Modern tasarım katmanı
   --------------------------------------------------------------------------
   Bu dosya style.css ve responsive.css'ten SONRA yüklenir ve mevcut temanın
   üzerine biner. Amaç: tema dosyalarına dokunmadan görünümü modernleştirmek.
   Sorun çıkarsa header.php'deki tek <link> satırı kaldırılarak eski görünüme
   dönülebilir.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tasarım değişkenleri
   -------------------------------------------------------------------------- */
:root {
  /* Marka — mevcut turuncu korundu, çevresine tutarlı bir skala kuruldu */
  --yk-primary:      #EE8440;
  --yk-primary-600:  #D96C22;
  --yk-primary-700:  #B85717;
  --yk-primary-50:   #FDF2E8;

  /* Güneş enerjisi için ikincil: derin lacivert (mühendislik/güven) */
  --yk-navy:         #10243A;
  --yk-navy-600:     #1B3A5C;

  /* Metin ve yüzeyler */
  --yk-ink:          #1A1F26;
  --yk-body:         #4A5563;
  --yk-muted:        #7A8694;
  --yk-line:         #E5EAF0;
  --yk-surface:      #FFFFFF;
  --yk-surface-2:    #F6F8FB;

  /* Geometri */
  --yk-radius-sm:    8px;
  --yk-radius:       14px;
  --yk-radius-lg:    20px;

  /* Yükseklik — turuncu tonlu, temadaki kırmızı gölge hatası düzeltildi */
  --yk-shadow-sm:    0 1px 2px rgba(16, 36, 58, .06),
                     0 2px 8px rgba(16, 36, 58, .05);
  --yk-shadow:       0 4px 12px rgba(16, 36, 58, .07),
                     0 12px 28px rgba(16, 36, 58, .07);
  --yk-shadow-lg:    0 8px 20px rgba(16, 36, 58, .09),
                     0 24px 48px rgba(16, 36, 58, .10);
  --yk-shadow-brand: 0 8px 24px rgba(238, 132, 64, .32);

  --yk-ease:         cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Temel tipografi ve ritim
   -------------------------------------------------------------------------- */
body {
  color: var(--yk-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p { line-height: 1.75; }

h1, h2, h3, h4, h5, h6,
.heading-01, .heading-02, .heading-03, .heading-04, .heading-05, .heading-06 {
  color: var(--yk-ink);
  letter-spacing: -.015em;
  line-height: 1.25;
}

.heading-01 { line-height: 1.14; letter-spacing: -.025em; }
.heading-02 { line-height: 1.2;  letter-spacing: -.02em;  }

/* Bölüm başlığı üstündeki küçük etiket — çizgi yerine hap rozeti */
.section-title .title.both-line,
.section-title-wrap .title.uppercase {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--yk-primary-50);
  color: var(--yk-primary-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
}
/* Temanın etiket etrafına çizdiği yatay çizgileri kaldır */
.section-title .title.both-line::before,
.section-title .title.both-line::after { display: none; }

/* --------------------------------------------------------------------------
   3. Bölüm aralıkları — dar boşluklar ferahlatıldı
   -------------------------------------------------------------------------- */
.padding-50 { padding-top: 88px; padding-bottom: 88px; }

section + section { border-top: 1px solid transparent; }

/* Şeritleri dönüşümlü zeminle ayır, sayfa monoton görünmesin */
.our-service,
.latest-news,
.awesome-blog-section { background-color: var(--yk-surface-2); }

.featured-vehicles-section,
.our-process-section,
.how-we-are { background-color: var(--yk-surface); }

/* --------------------------------------------------------------------------
   4. Butonlar
   -------------------------------------------------------------------------- */
.main-btn-wrap .main-btn,
.service-btn,
a.main-btn {
  min-width: 0;
  padding: 13px 28px;
  border-radius: 999px;
  background-color: var(--yk-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  border: 0;
  /* Temadaki kırmızı gölge, turuncu butonla uyumsuzdu */
  box-shadow: var(--yk-shadow-brand);
  transition: transform .22s var(--yk-ease),
              box-shadow .22s var(--yk-ease),
              background-color .22s var(--yk-ease);
}

.main-btn-wrap .main-btn:hover,
.service-btn:hover,
a.main-btn:hover {
  background-color: var(--yk-primary-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(238, 132, 64, .42);
}

.main-btn-wrap .main-btn:active,
a.main-btn:active { transform: translateY(0); }

/* İkincil buton — çerçeveli */
.main-btn.outline,
.main-btn-wrap .main-btn.outline {
  background: transparent;
  color: var(--yk-primary-700);
  border: 1.5px solid var(--yk-primary);
  box-shadow: none;
}
.main-btn.outline:hover {
  background: var(--yk-primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Kartlar — hizmet, ürün, proje, blog
   -------------------------------------------------------------------------- */
/* Kart sınıfları canlı işaretlemeden doğrulandı. Her bölüm bu temada
   kendi adlandırmasını kullanıyor, ortak bir "card" sınıfı yok:
     hizmetler -> .service-items-wrap__items
     ürünler   -> .h2-vehicle-slider-items
     projeler  -> .latest-news-slider-items .cards
     blog      -> .h5-awesome-blog-single-item
     ekip      -> .home-2-our-team-items
     yorumlar  -> .h5-testimonial-single-items                               */
.service-items-wrap__items,
.h2-vehicle-slider-items,
.latest-news-slider-items .cards,
.h5-awesome-blog-single-item,
.home-2-our-team-items,
.h5-testimonial-single-items {
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius);
  overflow: hidden;
  box-shadow: var(--yk-shadow-sm);
  transition: transform .28s var(--yk-ease),
              box-shadow .28s var(--yk-ease),
              border-color .28s var(--yk-ease);
}

.service-items-wrap__items:hover,
.h2-vehicle-slider-items:hover,
.latest-news-slider-items .cards:hover,
.h5-awesome-blog-single-item:hover,
.home-2-our-team-items:hover,
.h5-testimonial-single-items:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 132, 64, .35);
  box-shadow: var(--yk-shadow-lg);
}

/* Kart görselleri — sabit oran, hover'da hafif yakınlaşma */
.h2-vehicle-slider-items .items-head,
.latest-news-slider-items .cards-img,
.h5-awesome-blog-single-item .thumb-area {
  overflow: hidden;
}

.h2-vehicle-slider-items .items-head img,
.latest-news-slider-items .cards-img img,
.h5-awesome-blog-single-item .thumb-area img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--yk-ease);
}

.h2-vehicle-slider-items:hover .items-head img,
.latest-news-slider-items .cards:hover .cards-img img,
.h5-awesome-blog-single-item:hover .thumb-area img {
  transform: scale(1.04);
}

/* Kart gövdeleri — tema dar boşluk kullanıyor, ferahlatılıyor */
.h2-vehicle-slider-items .items-body,
.latest-news-slider-items .cards-body,
.h5-awesome-blog-single-item .content-area {
  padding: 20px 22px 24px;
}

/* Temanın ürün kartına verdiği gri çerçeve, yeni kart çerçevesiyle
   çakışıyor; kaldırılıyor. */
.h2-vehicle-slider-items.gray-border,
.h2-vehicle-slider-items .gray-border { border: 0; }

/* Süreç adımları */
.our-process-section__work-items {
  padding: 26px 22px;
  border-radius: var(--yk-radius);
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  transition: transform .25s var(--yk-ease), box-shadow .25s var(--yk-ease);
}
.our-process-section__work-items:hover {
  transform: translateY(-4px);
  box-shadow: var(--yk-shadow);
}

/* Kart görselleri — sabit oran, kırpma, hover'da hafif yakınlaşma */
.service-items-wrap__items .overlay-img {
  position: relative;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  transition: transform .5s var(--yk-ease);
}
.service-items-wrap__items:hover .overlay-img { transform: scale(1.04); }

/* Kart içindeki sıra numarası — rozet haline getirildi */
.service-items-wrap__items .items-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background: var(--yk-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--yk-shadow-brand);
  position: relative;
  z-index: 2;
}

.service-items-wrap__items .items__content { padding: 0 22px 26px; }

.service-items-wrap__items .heading-04 {
  font-size: 19px;
  margin-bottom: 6px;
}

.service-items-wrap__items p {
  color: var(--yk-muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   6. Sayaç şeridi (kurulu güç, proje sayısı …)
   -------------------------------------------------------------------------- */
.counterup-section {
  background: linear-gradient(135deg, var(--yk-navy) 0%, var(--yk-navy-600) 100%);
  color: #fff;
}

.counterup-section .single-couterup {
  text-align: center;
  padding: 26px 14px;
  border-radius: var(--yk-radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  transition: background .25s var(--yk-ease), transform .25s var(--yk-ease);
}
.counterup-section .single-couterup:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-4px);
}

.counterup-section .count-num,
.counterup-section .plus {
  color: var(--yk-primary);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}

.counterup-section .title {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   7. Üst menü
   --------------------------------------------------------------------------
   Seçiciler canlı sayfanın işaretlemesinden doğrulandı. Bu tema Bootstrap
   navbar yapısı kullanıyor (.navbar-area > .navbar-nav), tema geleneğindeki
   .main-menu DEĞİL.

   DİKKAT 1: Menü çok seviyeli. Alt menülere overflow:hidden verilmemeli,
   iç içe menüyü kırpar.

   DİKKAT 2: Tema menü öğelerine `line-height: 65px` veriyor ve öğeler
   inline-block. Bir öğenin metni iki satıra düşerse yüksekliği 130px olur,
   başlık şeridini taşar ve üstten kırpılır. Ayrıca temanın açılır menü oku
   `position:absolute; top:50%` ile konumlandığı için metnin altına kayar.
   Bu yüzden menü metnine GENİŞLİK EKLEYEN hiçbir şey yazılmamalı
   (font-weight artışı, letter-spacing gibi) ve satır kaydırma kapalı olmalı.
   -------------------------------------------------------------------------- */
.header-bottom-area { box-shadow: var(--yk-shadow-sm); }

/* Menü öğesi asla iki satıra bölünmesin — yukarıdaki nedenle */
.navbar-area .navbar-nav > li { white-space: nowrap; }

.navbar-area .navbar-nav > li > a {
  transition: color .2s var(--yk-ease);
}
.navbar-area .navbar-nav > li > a:hover { color: var(--yk-primary); }

/* Açılır menüler */
.navbar-area .sub-menu {
  border-radius: var(--yk-radius-sm);
  border: 1px solid var(--yk-line);
  box-shadow: var(--yk-shadow);
  padding: 6px 0;
  /* overflow: hidden YOK — iç içe alt menü kırpılmasın */
}

.navbar-area .sub-menu > li > a {
  padding: 9px 18px;
  transition: background .18s var(--yk-ease), color .18s var(--yk-ease);
}
.navbar-area .sub-menu > li > a:hover {
  background: var(--yk-primary-50);
  color: var(--yk-primary-700);
}

/* Açılır menü oku EKLENMEZ: tema zaten
   .navbar-nav li.menu-item-has-children:before ile Font Awesome "\f0d7"
   okunu çiziyor (style.css:1922). İkinci bir ok eklemek çift gösterime
   yol açar. */

/* Mobil menü açma düğmesi.
   Temanın .humberger-menu bloğu zaten turuncu zeminli ve beyaz çizgili;
   üstüne ikinci bir düğme kutusu (zemin/çerçeve) çizilmez, ikisi çakışır.
   Buradaki tek müdahale hizalama: bkz. mobil bölümündeki margin-left. */
.navbar-toggler {
  padding: 0;
  border: 0;
  background: transparent;
}
.navbar-toggler .humberger-menu span {
  transition: background-color .2s var(--yk-ease), width .2s var(--yk-ease);
}

/* --------------------------------------------------------------------------
   8. Alt bilgi
   -------------------------------------------------------------------------- */
.footer-area { background: var(--yk-navy); }

.footer-area a { transition: color .2s var(--yk-ease); }
.footer-area a:hover { color: var(--yk-primary); }

.footer-area .widget-title,
.footer-area h4 { color: #fff; }

/* --------------------------------------------------------------------------
   9. Formlar
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea,
.nice-select {
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius-sm);
  padding: 12px 15px;
  font-size: 15px;
  color: var(--yk-ink);
  background: var(--yk-surface);
  transition: border-color .2s var(--yk-ease), box-shadow .2s var(--yk-ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus,
.nice-select.open {
  outline: none;
  border-color: var(--yk-primary);
  box-shadow: 0 0 0 3px rgba(238, 132, 64, .16);
}

/* --------------------------------------------------------------------------
   10. WhatsApp yüzen butonu
   -------------------------------------------------------------------------- */
.yk-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 19px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .38),
              0 14px 34px rgba(16, 36, 58, .16);
  transition: transform .24s var(--yk-ease), box-shadow .24s var(--yk-ease);
}

.yk-whatsapp:hover,
.yk-whatsapp:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .48),
              0 20px 44px rgba(16, 36, 58, .20);
}

.yk-whatsapp svg {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  fill: currentColor;
}

.yk-whatsapp__label { white-space: nowrap; }

/* Dikkat çekmek için ilk yüklemede tek seferlik nabız */
.yk-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25D366;
  animation: yk-pulse 2.4s var(--yk-ease) 3;
  pointer-events: none;
}

@keyframes yk-pulse {
  0%   { opacity: .75; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.28); }
  100% { opacity: 0;   transform: scale(1.28); }
}

/* Mobilde yalnızca ikon — ekranı kaplamasın */
@media (max-width: 575px) {
  .yk-whatsapp {
    height: 54px;
    width: 54px;
    padding: 0;
    justify-content: center;
    right: 16px;
    bottom: 16px;
  }
  .yk-whatsapp__label { display: none; }
}

/* Yukarı çık butonu WhatsApp ile çakışmasın */
.back-to-top,
#back-to-top { bottom: 92px !important; }

@media (max-width: 575px) {
  .back-to-top,
  #back-to-top { bottom: 82px !important; }
}

/* --------------------------------------------------------------------------
   11. Güven şeridi — sertifikalar
   -------------------------------------------------------------------------- */
.yk-trust {
  padding: 64px 0;
  background: var(--yk-surface-2);
  border-top: 1px solid var(--yk-line);
  border-bottom: 1px solid var(--yk-line);
}

.yk-trust__head {
  text-align: center;
  margin-bottom: 34px;
}

.yk-trust__head h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.yk-trust__head p {
  color: var(--yk-muted);
  max-width: 620px;
  margin: 0 auto;
}

.yk-trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.yk-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 14px;
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius);
  text-align: center;
  transition: transform .25s var(--yk-ease),
              box-shadow .25s var(--yk-ease),
              border-color .25s var(--yk-ease);
}

.yk-trust__item:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 132, 64, .35);
  box-shadow: var(--yk-shadow);
}

.yk-trust__item img {
  max-height: 62px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* Rozetler tek tip görünsün, hover'da rengine dönsün */
  filter: grayscale(1);
  opacity: .72;
  transition: filter .25s var(--yk-ease), opacity .25s var(--yk-ease);
}

.yk-trust__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.yk-trust__item span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yk-body);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. Teklif çağrısı (CTA)
   -------------------------------------------------------------------------- */
.yk-cta {
  position: relative;
  padding: 78px 0;
  background: linear-gradient(135deg, var(--yk-navy) 0%, var(--yk-navy-600) 100%);
  color: #fff;
  overflow: hidden;
}

/* Arkaya yumuşak güneş parıltısı */
.yk-cta::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -110px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle,
              rgba(238, 132, 64, .30) 0%,
              rgba(238, 132, 64, 0) 70%);
  pointer-events: none;
}

.yk-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.yk-cta__text { flex: 1 1 420px; }

.yk-cta__text h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.22;
  margin-bottom: 12px;
}

.yk-cta__text p {
  color: rgba(255, 255, 255, .78);
  font-size: 16.5px;
  margin: 0;
  max-width: 560px;
}

.yk-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.yk-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .22s var(--yk-ease),
              box-shadow .22s var(--yk-ease),
              background-color .22s var(--yk-ease);
}

.yk-cta__btn--primary {
  background: var(--yk-primary);
  color: #fff;
  box-shadow: var(--yk-shadow-brand);
}
.yk-cta__btn--primary:hover {
  background: var(--yk-primary-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(238, 132, 64, .45);
}

.yk-cta__btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.yk-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .yk-cta { padding: 58px 0; }
  .yk-cta__text h2 { font-size: 26px; }
  .yk-cta__actions { width: 100%; }
  .yk-cta__btn { flex: 1 1 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   13. Erişilebilirlik — klavye odağı
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(238, 132, 64, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hareket azaltma tercihine saygı */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   14. Duyarlılık düzeltmeleri
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .padding-50 { padding-top: 62px; padding-bottom: 62px; }
  .heading-02 { font-size: 27px; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .padding-50 { padding-top: 48px; padding-bottom: 48px; }
  .heading-01 { font-size: 30px; }
  .heading-02 { font-size: 24px; }
  .counterup-section .count-num,
  .counterup-section .plus { font-size: 34px; }
  .yk-trust__grid { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
}

/* Görsellerin taşmasını engelle */
img { max-width: 100%; height: auto; }

/* ==========================================================================
   İKİNCİ AŞAMA — iç sayfalar, footer, mobil, metin yoğunluğu
   --------------------------------------------------------------------------
   Bu bölümdeki tüm seçiciler canlı sayfaların işaretlemesinden doğrulandı
   (13 iç sayfa + ana sayfa tarandı). Tahmine dayalı seçici yok.
   ========================================================================== */

/* --------------------------------------------------------------------------
   15. Metin yoğunluğunu azaltma
   --------------------------------------------------------------------------
   Tema her yere büyük punto, sıkı satır aralığı ve bol BÜYÜK HARF koyuyor;
   sayfa kalabalık görünüyor. Burada okuma satırı sınırlanır, hiyerarşi
   sakinleştirilir.
   -------------------------------------------------------------------------- */

/* Okuma satırı 75 karakteri geçmesin — uzun satır okumayı yorar */
.about-story-section p,
.blog-page-content p,
.service-content p,
.common-section-content p,
.paragraph p,
.card-body p {
  max-width: 75ch;
  color: var(--yk-body);
}

/* Başlık ölçeği sakinleştirildi — tema birbirine çok yakın 6 boy kullanıyor */
.heading-02 { font-size: 32px; }
.heading-04 { font-size: 20px; }
.heading-05 { font-size: 17px; }
.heading-06 { font-size: 14px; }

/* Gövde metninde BÜYÜK HARF kullanımı azaltıldı; yalnızca küçük
   etiketlerde kalsın. Büyük harf uzun metinde okunurluğu düşürür. */
.heading-02.uppercase,
.heading-04.uppercase,
.heading-05.uppercase,
h2.uppercase,
h4.uppercase,
h5.uppercase {
  text-transform: none;
}

/* Bölüm başlığı ile içerik arasındaki nefes payı */
.section-title-wrap { margin-bottom: 18px; }

/* Tema boşluk yardımcıları — 100-160px aralıklar aşırı, ölçeklendi */
.padding-top-120    { padding-top: 88px !important; }
.padding-top-100    { padding-top: 76px !important; }
.padding-bottom-160 { padding-bottom: 96px !important; }
.padding-bottom-120 { padding-bottom: 88px !important; }
.padding-bottom-100 { padding-bottom: 76px !important; }
.padding-bottom-65  { padding-bottom: 56px !important; }

/* --------------------------------------------------------------------------
   16. İç sayfa üst bandı (breadcrumb)
   --------------------------------------------------------------------------
   13 iç sayfanın tamamında var; tek noktadan tüm siteyi etkiler.
   Arka planda fotoğraf, üstünde beyaz metin olduğu için okunurluk için
   koyu bir katman şart.
   -------------------------------------------------------------------------- */
.breadcrumb-area {
  position: relative;
  padding: 92px 0 84px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Metin okunurluğu için koyu degrade katman */
.breadcrumb-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(16, 36, 58, .78) 0%,
              rgba(16, 36, 58, .62) 100%);
}

.breadcrumb-area .container { position: relative; z-index: 1; }

.breadcrumb-area .page-title {
  color: #fff;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.breadcrumb-area .page-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-area .page-list li {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.breadcrumb-area .page-list li a {
  color: #fff;
  text-decoration: none;
  transition: color .2s var(--yk-ease);
}
.breadcrumb-area .page-list li a:hover { color: var(--yk-primary); }

/* Ayırıcı — tema karakter kullanmıyor, ekliyoruz */
.breadcrumb-area .page-list li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, .40);
}

/* --------------------------------------------------------------------------
   17. Hizmet listesi sayfası
   -------------------------------------------------------------------------- */
.service-single-item {
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius);
  overflow: hidden;
  box-shadow: var(--yk-shadow-sm);
  transition: transform .28s var(--yk-ease),
              box-shadow .28s var(--yk-ease),
              border-color .28s var(--yk-ease);
}
.service-single-item:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 132, 64, .35);
  box-shadow: var(--yk-shadow-lg);
}

.service-single-item .thumb-wrap { overflow: hidden; }
.service-single-item .thumb-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--yk-ease);
}
.service-single-item:hover .thumb-wrap img { transform: scale(1.04); }

.service-single-item .service-content { padding: 20px 22px 24px; }

.service-single-item .item-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--yk-primary-50);
  color: var(--yk-primary-700);
  font-size: 13px;
  font-weight: 700;
}

.service-single-item .more-details {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--yk-primary-700);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap .2s var(--yk-ease), color .2s var(--yk-ease);
}
.service-single-item .more-details:hover {
  color: var(--yk-primary-600);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   18. SSS akordeonu
   --------------------------------------------------------------------------
   Bootstrap .card genel bir sınıf; yalnızca akordeon içinde hedeflenir.
   -------------------------------------------------------------------------- */
.accordion-wrapper .card {
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--yk-shadow-sm);
  transition: border-color .22s var(--yk-ease), box-shadow .22s var(--yk-ease);
}
.accordion-wrapper .card:hover {
  border-color: rgba(238, 132, 64, .35);
}

.accordion-wrapper .card-header {
  background: var(--yk-surface);
  border-bottom: 1px solid var(--yk-line);
  padding: 0;
}
.accordion-wrapper .card-header a,
.accordion-wrapper .card-header button {
  display: block;
  width: 100%;
  padding: 16px 20px;
  color: var(--yk-ink);
  font-weight: 600;
  font-size: 15.5px;
  text-align: left;
  text-decoration: none;
  transition: color .2s var(--yk-ease), background .2s var(--yk-ease);
}
.accordion-wrapper .card-header a:hover {
  color: var(--yk-primary-700);
  background: var(--yk-primary-50);
}

.accordion-wrapper .card-body {
  padding: 18px 20px 22px;
  color: var(--yk-body);
}

/* --------------------------------------------------------------------------
   19. Sertifika / süreç kartları (sertifika sayfası, ürün detayı)
   -------------------------------------------------------------------------- */
.process-section__left__items {
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius);
  padding: 18px;
  margin-bottom: 24px;
  text-align: center;
  transition: transform .25s var(--yk-ease),
              box-shadow .25s var(--yk-ease),
              border-color .25s var(--yk-ease);
}
.process-section__left__items:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 132, 64, .35);
  box-shadow: var(--yk-shadow);
}

.process-section__left__items .thumb img {
  max-height: 260px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.process-section__left__items .content-area .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--yk-ink);
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   20. Ürün ızgarası ve sekmeler
   -------------------------------------------------------------------------- */
.grid-list-column-item {
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius);
  overflow: hidden;
  transition: transform .28s var(--yk-ease),
              box-shadow .28s var(--yk-ease),
              border-color .28s var(--yk-ease);
}
.grid-list-column-item:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 132, 64, .35);
  box-shadow: var(--yk-shadow-lg);
}

/* Temanın siyah çerçevesi yeni kart çerçevesiyle çakışıyor */
.grid-list-column-item .black-border,
.grid-list-column-item.black-border { border: 0; }

.common-price-style {
  color: var(--yk-primary-700);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}

/* Ürün detay sekmeleri */
.product-information .nav-tabs {
  border-bottom: 1px solid var(--yk-line);
  gap: 4px;
}
.product-information .nav-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 18px;
  color: var(--yk-muted);
  font-weight: 600;
  font-size: 14.5px;
  background: transparent;
  transition: color .2s var(--yk-ease), border-color .2s var(--yk-ease);
}
.product-information .nav-tabs .nav-link:hover { color: var(--yk-ink); }
.product-information .nav-tabs .nav-link.active {
  color: var(--yk-primary-700);
  border-bottom-color: var(--yk-primary);
  background: transparent;
}

.product-meta {
  color: var(--yk-muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   21. Liste sayfaları — yan sütun ve sayfalama
   -------------------------------------------------------------------------- */
.widget-area .widget {
  background: var(--yk-surface);
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius);
  padding: 22px;
  margin-bottom: 22px;
}

.widget-area .widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--yk-ink);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yk-line);
}

.blog-pagination { margin-top: 34px; }

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0 4px 8px 0;
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius-sm);
  background: var(--yk-surface);
  color: var(--yk-body);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s var(--yk-ease);
}
.blog-pagination .page-numbers:hover {
  border-color: var(--yk-primary);
  color: var(--yk-primary-700);
  background: var(--yk-primary-50);
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers.active {
  background: var(--yk-primary);
  border-color: var(--yk-primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   22. Alt bilgi düzeni
   -------------------------------------------------------------------------- */
.footer-area .footer-top { padding-top: 72px; }

.footer-area .footer-widget { margin-bottom: 30px; }

.footer-area .widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -.005em;
}

.footer-area .widget_nav_menu ul { padding: 0; list-style: none; }

.footer-area .widget_nav_menu ul li {
  margin-bottom: 9px;
  line-height: 1.5;
}

.footer-area .widget_nav_menu ul li a,
.footer-area .contact-area a,
.footer-area .about_us_widget a {
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
}
.footer-area .widget_nav_menu ul li a:hover,
.footer-area .contact-area a:hover { color: var(--yk-primary); }

.footer-area .contact-area li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.5;
}
.footer-area .contact-area li .icon { color: var(--yk-primary); flex: 0 0 auto; }

.footer-area .footer-social-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82);
  transition: all .22s var(--yk-ease);
}
.footer-area .footer-social-icon a:hover {
  background: var(--yk-primary);
  border-color: var(--yk-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-area .copyright-area {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 18px;
}
.footer-area .copyright-area-inner {
  padding: 22px 0;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   23. Hero slider
   -------------------------------------------------------------------------- */
.home-slider-area .slider-items {
  background-size: cover;
  background-position: center;
}

/* Beyaz başlık fotoğraf üzerinde okunsun */
.home-slider-area .slider-items.overlay-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(16, 36, 58, .80) 0%,
              rgba(16, 36, 58, .52) 48%,
              rgba(16, 36, 58, .28) 100%);
}

.home-slider-area .slider-content-inner { position: relative; z-index: 2; }

.home-slider-area .slider-title .heading-01 {
  color: #fff;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -.028em;
}

.home-slider-area .slider-paragraph p {
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   24. Formlar ve teklif penceresi
   -------------------------------------------------------------------------- */
.modal-content {
  border: 0;
  border-radius: var(--yk-radius);
  box-shadow: var(--yk-shadow-lg);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--yk-line);
  padding: 18px 22px;
}
.modal-title { font-size: 18px; font-weight: 700; color: var(--yk-ink); }
.modal-body  { padding: 22px; }

.form-group { margin-bottom: 14px; }

.form-control {
  border: 1px solid var(--yk-line);
  border-radius: var(--yk-radius-sm);
  padding: 12px 15px;
  height: auto;
  font-size: 15px;
  color: var(--yk-ink);
  transition: border-color .2s var(--yk-ease), box-shadow .2s var(--yk-ease);
}
.form-control:focus {
  border-color: var(--yk-primary);
  box-shadow: 0 0 0 3px rgba(238, 132, 64, .16);
}

/* --------------------------------------------------------------------------
   25. Mobil düzeltmeler
   --------------------------------------------------------------------------
   Mobil menü tamamen Bootstrap collapse ile çalışıyor. meanMenu tema
   dosyalarında yüklü ama #offcanvas-menu hiçbir sayfada bulunmadığı için
   hiç devreye girmiyor — o yüzden buradaki kurallar collapse'i hedefler.
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* --- Mobil başlık taşması (TEMA HATASI) ---
     Ölçüldü: 390px ekranda .header-bottom-area 489px yer kaplıyor ve
     hamburger düğmesi x=443'e, yani ekranın dışına düşüyor. Sonuç:
     mobil ziyaretçi menüyü hiç açamıyor. modern.css devre dışıyken de
     aynı olduğu doğrulandı, yani bu düzeltme temanın hatasını kapatıyor. */
  .header-bottom-area {
    max-width: 100%;
    flex-wrap: nowrap;
  }
  .navbar-area {
    flex: 1 1 auto;
    min-width: 0;
  }
  .navbar-area .nav-container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 15px;
  }
  /* Düğme sağa yaslansın ama ekran içinde kalsın */
  .navbar-toggler { margin-left: auto; }

  /* Açılan menü panelini kart gibi göster.
     SADECE .show varken: kapalı panele zemin/çerçeve verilirse Bootstrap
     onu gizlemediği durumda boş beyaz bir kutu olarak görünür. */
  .navbar-area .navbar-collapse.show,
  .navbar-area .navbar-collapse.collapsing {
    background: var(--yk-surface);
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    box-shadow: var(--yk-shadow);
    margin-top: 12px;
    padding: 8px 0;
    max-height: 78vh;
    overflow-y: auto;
  }

  /* Masaüstünde tema 65px satır yüksekliği veriyor; mobil listede o
     yükseklik gereksiz, öğeler devasa görünür. */
  .navbar-area .navbar-nav > li,
  .navbar-area .navbar-nav > li > a { line-height: 1.5; }

  .navbar-area .navbar-nav > li > a {
    padding: 12px 18px;
    border-bottom: 1px solid var(--yk-line);
  }
  .navbar-area .navbar-nav > li:last-child > a { border-bottom: 0; }

  /* Mobilde alt menü açılır kutu değil, girintili liste */
  .navbar-area .sub-menu {
    position: static !important;
    width: 100% !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 6px 14px;
    background: var(--yk-surface-2);
  }
  .navbar-area .sub-menu > li > a { padding: 10px 16px; font-size: 14.5px; }

  .breadcrumb-area { padding: 64px 0 58px; }
  .breadcrumb-area .page-title { font-size: 30px; }

  .home-slider-area .slider-title .heading-01 { font-size: 34px; }
  .home-slider-area .slider-paragraph p { font-size: 16px; }

  .heading-02 { font-size: 26px; }

  .footer-area .footer-top { padding-top: 52px; }
}

@media (max-width: 575px) {
  .breadcrumb-area { padding: 52px 0 46px; }
  .breadcrumb-area .page-title { font-size: 25px; }
  .breadcrumb-area .page-list li { font-size: 13px; }

  .home-slider-area .slider-title .heading-01 { font-size: 28px; }

  .heading-02 { font-size: 23px; }
  .heading-04 { font-size: 18px; }

  /* Kart iç boşlukları küçük ekranda daraltılır */
  .h2-vehicle-slider-items .items-body,
  .latest-news-slider-items .cards-body,
  .h5-awesome-blog-single-item .content-area,
  .service-single-item .service-content { padding: 16px 16px 20px; }

  .widget-area .widget { padding: 18px; }

  .yk-trust { padding: 44px 0; }
  .yk-trust__head h2 { font-size: 22px; }

  /* Yatay kaymayı engelle */
  body { overflow-x: hidden; }
}

/* Tablet ve altı: aşırı boşlukları topla */
@media (max-width: 767px) {
  .padding-top-120,
  .padding-top-100    { padding-top: 48px !important; }
  .padding-bottom-160,
  .padding-bottom-120,
  .padding-bottom-100 { padding-bottom: 48px !important; }
  .padding-bottom-65  { padding-bottom: 40px !important; }
}
