/*
Theme Name: Kadence Child — AraçMaliyeti
Template:   kadence
Version:    1.0
*/
/* Özel CSS aşağıya (Bölüm 8'deki CSS) */
🎨 aracmaliyeti-style.css — FINAL
/* ═══════════════════════════════════════
   aracmaliyeti.com — Araç Sayfası CSS
   ═══════════════════════════════════════ */

/* ─── TEMEL ─── */
.kb-page { max-width: 860px; margin: 0 auto; padding: 24px 20px 56px; }

.kb-breadcrumb { font-size: 12px; color: #858b97; margin-bottom: 12px; }
.kb-breadcrumb a { color: #2f6f9e; text-decoration: none; }
.kb-breadcrumb a:hover { text-decoration: underline; }

/* ─── BAŞLIKLAR ─── */
.kb-h1 { font-family: 'Playfair Display', serif; font-size: clamp(22px,3vw,32px);
          line-height: 1.25; margin-bottom: 12px; color: #14171c; }
.kb-h2 { font-size: 18px; font-weight: 600; margin: 28px 0 10px;
          padding-bottom: 8px; border-bottom: 2px solid #dceaf4; color: #14171c; }

/* ─── YAKTI TİPİ BADGE'LERİ ─── */
.kb-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.kb-fuel-badge { display: inline-block; font-size: 12px; font-weight: 600;
                  padding: 5px 13px; border-radius: 20px; }
.kb-tag-badge  { display: inline-block; font-size: 12px; font-weight: 500;
                  padding: 5px 13px; border-radius: 20px;
                  background: #eceef2; color: #4d535d; }

/* ─── HIZLI İSTATİSTİK ─── */
.kb-qs { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
          gap: 10px; margin: 16px 0 20px; }
.kb-qs-box { background: #eceef2; border-radius: 8px; padding: 12px 10px; text-align: center; }
.kb-qs-box .val { font-family: 'Playfair Display', serif; font-size: 20px;
                   font-weight: 700; color: #1f4d6e; line-height: 1.2; }
.kb-qs-box .lbl { font-size: 11px; color: #858b97; margin-top: 3px; }

/* ─── İÇ NAVİGASYON ─── */
.kb-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.kb-nav a { border: 1px solid #dde0e6; border-radius: 8px; padding: 7px 13px;
             font-size: 13px; color: #2f6f9e; text-decoration: none;
             background: #fff; transition: all .2s; }
.kb-nav a:hover { background: #dceaf4; border-color: #2f6f9e; }

/* ─── GİRİŞ METNİ ─── */
.kb-intro { font-size: 15px; color: #4d535d; line-height: 1.65;
             margin-bottom: 24px; }

/* ─── SPEC TABLOSU ─── */
.kb-table { width: 100%; border-collapse: collapse; font-size: 13.5px;
             border: 1px solid #dde0e6; border-radius: 8px;
             overflow: hidden; margin-bottom: 8px; }
.kb-table tr:nth-child(even) { background: #f7f8fa; }
.kb-table td { padding: 10px 14px; border-bottom: 1px solid #dde0e6; }
.kb-table tr:last-child td { border-bottom: none; }
.kb-table td:first-child { color: #4d535d; width: 42%; font-size: 13px; }

/* ─── ANA İÇERİK ─── */
.kb-content { margin: 20px 0; font-size: 14.5px; line-height: 1.7; color: #14171c; }
.kb-content p { margin-bottom: 12px; }
.kb-content h3 { font-size: 17px; margin: 20px 0 8px; }
.kb-content ul,ol { margin-left: 20px; margin-bottom: 12px; }
.kb-content li { margin-bottom: 4px; }

/* ─── SSS ─── */
.kb-faq { margin-top: 32px; }
.kb-faq h2 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 14px; }
.kb-faq-item { border: 1px solid #dde0e6; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.kb-faq-q { padding: 13px 16px; font-weight: 600; font-size: 14px;
             background: #f7f8fa; cursor: pointer; display: flex;
             justify-content: space-between; align-items: center; gap: 10px; }
.kb-faq-q:hover { background: #eceef2; }
.kb-faq-q.active span { transform: rotate(180deg); display: inline-block; }
.kb-faq-a { padding: 12px 16px; font-size: 13.5px; color: #4d535d;
             line-height: 1.65; border-top: 1px solid #dde0e6; display: none; }
.kb-faq-a.open { display: block; }

/* ─── DİSCLAIMER ─── */
.kb-disclaimer { background: #eceef2; border-radius: 6px; padding: 12px 14px;
                  font-size: 12px; color: #858b97; margin-top: 32px; line-height: 1.6; }

/* ─── MOBİL (araç sayfası) ─── */
@media(max-width:600px) {
  .kb-qs { grid-template-columns: repeat(2,1fr); }
  .kb-nav { gap: 6px; }
  .kb-nav a { font-size: 12px; padding: 6px 10px; }
  .kb-table td:first-child { width: 45%; }
}

/* ═══════════════════════════════════════
   MOBİL HAMBURGER MENÜ — Custom
   ═══════════════════════════════════════ */

/* 1024px altında desktop nav'ı gizle */
@media (max-width: 1024px) {
  #site-navigation {
    display: none !important;
  }

  /* Hamburger butonu */
  #am-burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99999;
  }

  #am-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #14171c;
    border-radius: 2px;
    position: absolute;
    left: 10px;
    transition: all .25s ease;
  }

  #am-burger span:nth-child(1) { top: 12px; }
  #am-burger span:nth-child(2) { top: 21px; }
  #am-burger span:nth-child(3) { top: 30px; }

  #am-burger.open span:nth-child(1) { transform: rotate(45deg);  top: 21px; }
  #am-burger.open span:nth-child(2) { opacity: 0; }
  #am-burger.open span:nth-child(3) { transform: rotate(-45deg); top: 21px; }

  /* Slide-out drawer */
  #am-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 99998;
    overflow-y: auto;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,.2);
    padding: 60px 0 40px;
  }

  #am-drawer.open {
    right: 0;
  }

  #am-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #am-drawer > ul > li {
    border-bottom: 1px solid #eceef2;
  }

  #am-drawer > ul > li > a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    color: #14171c !important;
    font-weight: 500;
    text-decoration: none !important;
  }

  #am-drawer > ul > li > a:hover {
    background: #f7f9fb;
    color: #1f4d6e !important;
  }

  /* Alt menü */
  #am-drawer .sub-menu {
    display: none;
    background: #f7f9fb;
    padding: 0 0 8px 16px;
  }

  #am-drawer .sub-menu.open {
    display: block;
  }

  #am-drawer .sub-menu li a {
    display: block;
    padding: 9px 24px;
    font-size: 13px;
    color: #4d535d !important;
    text-decoration: none !important;
  }

  /* Alt menü ok */
  #am-drawer .am-sub-toggle {
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    padding: 14px 24px 14px 0;
    color: #4d535d;
    font-size: 16px;
    line-height: 1;
  }

  /* Overlay */
  #am-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99997;
  }

  #am-overlay.open {
    display: block;
  }

  /* Header sağ bölüme burger'ı yerleştir */
  .site-header-main-section-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (min-width: 1025px) {
  #am-burger, #am-drawer, #am-overlay {
    display: none !important;
  }
}