/* =========================
   REF.CSS (FINAL) – FULL THEME + FORMS
   Bu dosya app.css yerine geçer.
========================= */

:root{
  --bg:#0b0b0b;
  --txt:#f4f4f4;
  --muted:rgba(255,255,255,.72);

  --brand:#b5162a;
  --brand2:#7c2a3e;

  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.12);

  --container:1160px;
  --r:16px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--txt);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,45,85,.10), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(124,58,237,.10), transparent 55%),
    radial-gradient(700px 500px at 35% 80%, rgba(0,212,255,.06), transparent 60%),
    var(--bg);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.bg-grid{
  position:fixed; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,1), rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 75%);
  pointer-events:none;
  opacity:.18;
}

/* =========================
   BUTTONS (GLOBAL)
========================= */
.btn, .btnn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition:.18s;
}
.btn:hover, .btnn:hover{transform:translateY(-1px)}
.btn.primary, .btnn.primary, .btnn.primaryy{
  background:var(--brand);
  border-color:rgba(181,22,42,.55);
}
.btn.ghost, .btnn.ghost{
  background:transparent;
  border-color:rgba(255,255,255,.55);
}
.btn.small, .btnn.small{padding:8px 12px; font-size:13px}

/* =========================
   TOPBAR (supports multiple markups)
========================= */
.topbar, .ref-topbar{
  background:var(--brand);
  color:#fff;
  border-bottom:1px solid rgba(0,0,0,.12);
  padding:10px 0;
  position:relative;
  z-index:60;
}

.topbar-inner, .ref-topbar-inner, .topbar-row{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.pill, .topbar-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.14);
  color:#fff;
  font-size:12px;
}

/* =========================
   NAVBAR (supports your partials)
========================= */
.navwrap, .ref-nav{
  position:sticky;
  top:0;
  z-index:55;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.10);
}

.nav-inner, .ref-nav-inner{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:64px;
}

.brand, .ref-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  color:#111;
}

.logo, .brand-fallback{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:900;
  background:#f6f6f6;
  border:1px solid rgba(0,0,0,.10);
}

.brand-title{color:#111}

.nav, .ref-menu{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav a, .nav-link,
.ref-menu a, .ref-dd-btn, .dd-btn{
  color:#222;
  font-size:14px;
}

.nav a:hover, .dd-btn:hover, .ref-menu a:hover{color:var(--brand)}

.dd, .ref-dd{position:relative}

.dd-menu, .ref-dd-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:200px;
  padding:10px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  display:none;
  box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.dd-menu a, .ref-dd-menu a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:#222;
}

.dd-menu a:hover, .ref-dd-menu a:hover{
  background:rgba(181,22,42,.08);
  color:var(--brand);
}

.dd:hover .dd-menu,
.ref-dd:hover .ref-dd-menu{display:block}

.nav-actions, .ref-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-btn, .ref-ic{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111;
}

/* =========================
   HERO (supports hero-cover + ref-hero)
========================= */
.fullbleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
}

.hero-cover, .ref-hero{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(1200px 800px at 75% 45%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(900px 600px at 15% 20%, rgba(255,45,85,.16), transparent 55%),
    radial-gradient(700px 500px at 85% 20%, rgba(124,58,237,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}

.hero-cover-overlay, .ref-hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
  pointer-events:none;
}

.hero-cover-inner, .ref-hero-inner{
  position:relative;
  z-index:1;
  width:100%;
}

.hero-center{
  max-width:920px;
  margin:0 auto;
  text-align:center;
  padding: 70px 0 40px;
}

.hero-badge, .ref-hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(181,22,42,.55);
  background:rgba(181,22,42,.20);
  font-size:12px;
  color:rgba(255,255,255,.92);
}

.hero-title, .ref-hero-title{
  margin:16px 0 12px;
  font-size:56px;
  line-height:1.06;
  letter-spacing:-.4px;
}

.hero-subtitle, .ref-hero-subtitle{
  margin:0 auto;
  max-width:720px;
  color:rgba(255,255,255,.78);
}

.hero-actions, .ref-hero-cta{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:16px;
  flex-wrap:wrap;
}

.hero-stats, .ref-kpis{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

.stat-card, .ref-kpi{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  text-align:left;
}

.stat-ico, .ref-kpi-ic{
  width:34px; height:34px;
  border-radius:10px;
  display:grid; place-items:center;
  background: rgba(181,22,42,.25);
  border:1px solid rgba(181,22,42,.35);
  color:rgba(255,255,255,.92);
}

.stat-card span, .ref-kpi span{
  display:block;
  font-size:12px;
  color:rgba(255,255,255,.75);
  margin-top:2px;
}

/* =========================
   FOOTER
========================= */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:24px 0 28px;
  background:rgba(0,0,0,.25);
}
.footer .container{padding-top:10px}

.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0,1fr));
  gap:28px;
  align-items:start;
}

.foot-muted{color:rgba(255,255,255,.65); font-size:13px; line-height:1.55}
.foot-col a{display:block; padding:6px 0; color:rgba(255,255,255,.78); font-size:14px}
.foot-col a:hover{color:#fff}

/* =========================
   ALERTS
========================= */
.alert{padding:12px 14px; border-radius:14px; border:1px solid rgba(255,255,255,.12); margin:14px 0}
.alert.ok{border-color:rgba(22,163,74,.35); background:rgba(22,163,74,.12)}
.alert.err{border-color:rgba(255,45,85,.35); background:rgba(255,45,85,.10)}

/* =========================
   FORMS / ADMIN (app.css yerine)
========================= */
.card{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}

.form label{display:block; margin:10px 0 6px; color:rgba(255,255,255,.80); font-size:13px}
.form input, .form textarea, .form select,
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,12,18,.55);
  color:#fff;
  outline:none;
}

.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.grid2{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px}

.center{min-height:70vh; display:grid; place-items:center}
.auth{width:min(420px, 100%); padding:18px}

.table{padding:0}
.tr{display:grid; grid-template-columns: 80px 1.6fr 180px 90px 220px; gap:10px; padding:12px 14px; align-items:center; border-top:1px solid rgba(255,255,255,.08)}
.tr.th{border-top:none; background:rgba(255,255,255,.04); font-weight:700}
.rowgap{display:flex; gap:8px; justify-content:flex-end}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:980px){
  .nav, .ref-menu{display:none}
  .hero-title, .ref-hero-title{font-size:38px}
  .hero-cover, .ref-hero{min-height:auto}
  .hero-stats, .ref-kpis{grid-template-columns:repeat(2, minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr; gap:18px}
  .tr{grid-template-columns:70px 1fr}
  .tr > div:nth-child(3),
  .tr > div:nth-child(4),
  .tr > div:nth-child(5){grid-column:2}
  .rowgap{justify-content:flex-start}
}
/* =========================
   FIX PACK (FINAL)
========================= */

/* 1) HERO yazı taşmasın + ortalansın */
.hero-center,
.ref-hero-inner .hero-center{
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.hero-title,
.ref-hero-title{
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* küçük ekranda daha düzgün */
@media (max-width: 980px){
  .hero-title,
  .ref-hero-title{
    font-size: 38px !important;
  }
}

/* 2) NAVBAR yüksekliği / hizası */
.nav-inner, .ref-nav-inner{
  height: 56px !important;
  padding: 0 !important;
}

.navwrap, .ref-nav{
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.brand-title{line-height:1}

/* 3) Hero badge (“Made in Türkiye”) ortada kalsın */
.hero-badge{
  margin-left: auto !important;
  margin-right: auto !important;
  display: inline-flex !important;
}

/* 4) KPI kartları aralığı biraz daha ref */
.hero-stats, .ref-kpis{
  margin-top: 22px !important;
}

.stat-card{
  border-color: rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.28) !important;
}
/* =========================
   FINAL ALIGN FIXES
========================= */

/* NAV: daha ince + dikey ortalama */
.navwrap, .ref-nav{
  background:#fff !important;
}
.nav-inner, .ref-nav-inner{
  height: 52px !important;
  padding: 0 !important;
  align-items: center !important;
}

/* Brand (Anatolia Shield) satır yüksekliği */
.brand-title{ line-height: 1 !important; }

/* Menü aralığı biraz daha ref gibi */
.nav, .ref-menu{
  gap: 14px !important;
}

/* HERO: badge solda kalıyorsa zorla ortala
   (badge bazen hero-center içinde değil, o yüzden global hedefliyoruz) */
.hero-badge,
.ref-hero-badge{
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  display: inline-flex !important;
}

/* HERO: title taşma / dengeli kırılma */
.hero-title, .ref-hero-title{
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-wrap: balance;
}

/* HERO: iç padding (kenarlardan nefes) */
.hero-center{
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* KPI kartları biraz daha dengeli */
.hero-stats, .ref-kpis{
  margin-top: 22px !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.stat-card{
  background: rgba(0,0,0,.28) !important;
  border-color: rgba(255,255,255,.10) !important;
}

/* Mobilde nav zaten gizleniyorsa sorun yok; hero küçülsün */
@media (max-width: 980px){
  .hero-title, .ref-hero-title{ font-size: 38px !important; }
}
/* =========================
   REF NAVBAR FINAL (3 COL)
   Works with your navbar.php
========================= */

/* üstte container link bug varsa (a.container gibi), bunu kır */
a.container{ width:auto !important; margin:0 !important; }

/* header */
.ref-nav{
  position: sticky;
  top: 0;
  z-index: 55;
  background:#fff !important;
  border-bottom:1px solid rgba(0,0,0,.10);
}

/* 3 kolon grid: brand | menu | actions */
.ref-nav .ref-nav-inner{
  display:grid !important;
  grid-template-columns: 220px 1fr auto !important;
  align-items:center !important;
  gap:16px !important;

  height:56px !important;
  padding:0 !important;
}

/* brand solda */
.ref-brand{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  color:#111 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
.ref-logo{
  width:140px !important;
  height:auto !important;
  display:block !important;
}
.no-logo .ref-logo{ display:none !important; }
.ref-brand-text{
  display:none;
}
.no-logo .ref-brand-text{
  display:inline-block !important;
  font-size:16px !important;
}

/* menü ortada */
.ref-menu{
  justify-self:center !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}
.ref-menu a, .ref-dd-btn{
  color:#222 !important;
  font-size:14px !important;
  text-decoration:none !important;
}
.ref-menu a:hover, .ref-dd-btn:hover{ color:#b5162a !important; }

/* dropdown */
.ref-dd{ position:relative !important; }
.ref-dd-btn{
  border:0 !important;
  background:transparent !important;
  cursor:pointer !important;
  padding:8px 10px !important;
  border-radius:10px !important;
}
.ref-dd-menu{
  position:absolute !important;
  top:calc(100% + 10px) !important;
  left:0 !important;
  min-width:200px !important;
  background:#fff !important;
  border:1px solid rgba(0,0,0,.10) !important;
  border-radius:12px !important;
  padding:10px !important;
  display:none !important;
  box-shadow:0 20px 50px rgba(0,0,0,.15) !important;
}
.ref-dd:hover .ref-dd-menu{ display:block !important; }
.ref-dd-menu a{
  display:block !important;
  padding:10px 10px !important;
  border-radius:10px !important;
}
.ref-dd-menu a:hover{
  background:rgba(181,22,42,.08) !important;
  color:#b5162a !important;
}

/* actions sağda */
.ref-actions{
  justify-self:end !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

/* ikonlar */
.ref-ic{
  width:34px !important;
  height:34px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:10px !important;
  border:1px solid rgba(0,0,0,.12) !important;
  color:#111 !important;
  background:#fff !important;
  text-decoration:none !important;
}

/* butonlar */
.ref-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 14px !important;
  border-radius:10px !important;
  font-weight:800 !important;
  text-decoration:none !important;
  font-size:14px !important;
  border:1px solid transparent !important;
}
.ref-btn-solid{
  background:#b5162a !important;
  color:#fff !important;
  border-color:rgba(181,22,42,.55) !important;
}
.ref-btn-outline{
  background:#fff !important;
  color:#111 !important;
  border-color:rgba(0,0,0,.18) !important;
}

/* mobile */
@media (max-width: 980px){
  .ref-nav .ref-nav-inner{
    grid-template-columns: 1fr auto !important;
    height:auto !important;
    padding:10px 0 !important;
  }
  .ref-menu{ display:none !important; }
}
.hero{
  min-height: calc(100vh - 110px); /* topbar + navbar düş */
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero-inner{
  max-width:900px;
  margin:0 auto;
}
.hero .badge,
.hero .made-in{
  display:inline-flex;
  margin-bottom:14px;
}
.hero-stats{
  margin-top:26px;
}

.hero-stat{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px 18px;
  min-width:170px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.hero-stat strong{
  font-size:15px;
}
.section-divider{
  height:1px;
  background:linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.08),
    transparent
  );
}
/* =========================
   FINAL HERO ALIGN + PREMIUM TWEAKS
   Paste to END of /next/assets/ref.css
========================= */

/* HERO'YU DİKEY ORTALA (topbar+navbar düş) */
.hero,
.hero-cover{
  min-height: calc(100vh - 120px);
  display:flex;
  align-items:center;
}

/* iç konteyneri ortala */
.hero-inner,
.hero-cover-inner,
.hero-center{
  width:100%;
  margin:0 auto;
  text-align:center;
}

/* Badge (Made in Türkiye) düzgün hizalansın */
.hero-badge,
.badge,
.made-in{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 14px auto;
}

/* Başlık daha “ref” görünüm */
.hero-title,
.hero h1{
  margin-top:0;
  margin-bottom:12px;
  letter-spacing:-.4px;
}

/* Subtitle biraz nefes */
.hero-subtitle,
.hero p{
  margin:0 auto;
  max-width:720px;
  opacity:.82;
}

/* CTA buton hizası */
.hero-actions,
.hero-actions.center{
  justify-content:center;
  margin-top:16px;
}

/* STAT KARTLARI (premium + biraz daha görünür) */
.hero-stats{
  margin-top:26px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.stat-card,
.hero-stat{
  min-width:190px;
  padding:14px 16px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 40px rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
}

.stat-ico{
  background: rgba(181,22,42,.22);
  border:1px solid rgba(181,22,42,.35);
}

/* FOOTER ÜSTÜ ÇİZGİYİ YUMUŞAT */
footer,
.footer{
  border-top:1px solid rgba(255,255,255,.06);
}

.section-divider{
  height:1px;
  background:linear-gradient(to right, transparent, rgba(255,255,255,.08), transparent);
}

/* RESPONSIVE düzeltme */
@media(max-width:980px){
  .hero,
  .hero-cover{
    min-height:auto;
    padding:64px 0 28px;
  }
  .hero-title,
  .hero h1{
    font-size:38px;
    line-height:1.15;
  }
  .hero-stats{
    gap:10px;
  }
  .stat-card,
  .hero-stat{
    min-width:160px;
  }
}
/* HERO BAŞLIK KONUMUNU YUKARI AL */
.hero h1,
.hero-title{
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: translateY(-30px); /* ⬆ yukarı alır */
}

/* Badge ile başlık arası mesafe */
.hero-badge,
.made-in{
  margin-bottom: 6px !important;
}

/* Subtitle da başlığa yakın dursun */
.hero-subtitle,
.hero p{
  margin-top: -12px;
}

/* Hero içeriğini biraz daha yukarı taşı */
.hero-inner,
.hero-center,
.hero-cover-inner{
  padding-top: 40px !important;
}
@media(max-width:768px){
  .hero h1,
  .hero-title{
    transform: translateY(-14px);
    font-size: 34px;
  }
}
/* =========================
   HERO CENTER FIX (H1 tam ortala)
   -> bunu DOSYANIN EN ALTINA ekle
========================= */

/* hero içeriğini ortala (hangi wrapper gelirse gelsin) */
.hero-cover,
.hero,
.hero-wrap,
.hero-section{
  display:flex;
  align-items:center;
}

.hero-cover-inner,
.hero-inner,
.hero-center{
  width:100% !important;
  max-width:1100px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

/* Bazı sayfalarda içerik container içinde kalıyorsa: */
.hero-cover .container,
.hero .container{
  width:100% !important;
  max-width:1100px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

/* H1 kesin ortalansın */
.hero-title,
.hero h1,
.hero-cover h1,
h1.hero-title{
  width:100% !important;
  max-width:980px !important;
  margin:14px auto 12px !important;
  text-align:center !important;
}

/* Alt yazı ve aksiyonlar da merkez */
.hero-subtitle,
.hero p{
  max-width:820px !important;
  margin:0 auto !important;
  text-align:center !important;
}

.hero-actions,
.hero-actions.center{
  width:100% !important;
  justify-content:center !important;
}

/* KPI kartları merkez */
.hero-stats{
  margin-left:auto !important;
  margin-right:auto !important;
  justify-items:center !important;
}

/* Eğer bir yer "text-align:left" basıyorsa, bunu kır */
.hero-cover *{
  text-align:inherit;
}
.hero-cover-inner,
.hero-inner{
  display:block !important;
}
/* =========================
   HARD CENTER FIX (GERÇEK ORTA)
   -> ref.css / app.css EN ALT
========================= */

/* Hero iç sarmalı hangi parent içinde olursa olsun tam ortaya kilitle */
.hero-cover-inner,
.hero-inner,
.hero-center{
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: min(1100px, calc(100vw - 40px)) !important;
  margin: 0 !important;
  text-align: center !important;
}

/* H1 ve metin kesin ortalansın */
.hero-title,
.hero-cover h1,
.hero h1{
  width: 100% !important;
  margin: 14px auto 12px !important;
  text-align: center !important;
}

/* Butonlar ve KPI kesin ortada */
.hero-actions,
.hero-actions.center{
  justify-content: center !important;
}

.hero-stats{
  margin-left: auto !important;
  margin-right: auto !important;
}
/* HERO TAM ORTA (net) */
.hero-cover{
  display:flex;
  align-items:center;
}

.hero-cover-inner{
  width:100%;
}

.hero-center{
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
  text-align:center;
}

/* badge + subtitle + butonlar kesin ortada */
.hero-badge{
  display:inline-flex;
  margin:0 auto 10px;
}

.hero-subtitle{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.hero-actions{
  justify-content:center;
}

.hero-stats{
  margin-left:auto;
  margin-right:auto;
}
.hero-center h1,
.hero-center .hero-subtitle{
  transform: translateX(24px);
}
/* HOME HERO h1'i bulup sağa kaydır (CSS-ONLY) */
main .container h1,
main h1{
  position: relative !important;
  left: 24px !important;
}
/* HERO ALANI: ortalamayı boz */
.hero,
.hero * {
  box-sizing: border-box;
}

/* HERO İÇERİĞİNİ SIFIRLAMA */
.hero .container,
.hero-content,
.hero-inner {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* BAŞLIĞI SAĞA KAYDIR */
.hero h1 {
  text-align: left !important;
  margin-left: 120px;   /* ← SAĞA KAYMA MİKTARI */
  max-width: 900px;     /* taşmayı önler */
}
/* SADECE HOME HERO: başlığı biraz sağa al (layout bozmadan) */
.hero,
.hero-inner,
.hero-content{
  position: relative;
}

.hero h1,
.hero .hero-title{
  transform: translateX(90px) !important;
}

/* alt metin + butonlar da aynı hizada kalsın */
.hero p,
.hero .hero-subtitle,
.hero .hero-actions{
  transform: translateX(90px) !important;
}
/* HERO içerik: biraz sağa kaydır (responsive) */
.ref-hero .ref-hero-content{
  transform: translateX(clamp(0px, 3vw, 80px));
}
/* HERO: kesin ortalama (başlık + açıklama + butonlar) */
.ref-hero .ref-hero-content{
  transform: none !important;          /* sağa kaydırmayı iptal */
  width: 100%;
  max-width: 980px;                     /* ister 900-1100 arası oynat */
  margin: 0 auto;                       /* ortala */
  text-align: center;                   /* yazıları ortala */
}

/* Başlık kesin ortada */
.ref-hero .ref-hero-title{
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Badge ve CTA ortada */
.ref-hero .ref-hero-badge{ 
  margin: 0 auto 14px !important;
  display: inline-flex;
}
.ref-hero .ref-hero-cta{
  justify-content: center !important;
}

/* KPI kutuları ortada */
.ref-hero .ref-kpis{
  justify-content: center !important;
}
/* MADE IN TÜRKİYE – eski doğru yerine geri al */
.ref-hero .ref-hero-badge{
  position: relative !important;   /* absolute/translate iptal */
  top: 0 !important;
  right: auto !important;
  left: auto !important;

  display: inline-flex;
  margin: 0 auto 18px auto !important; /* başlığın üstünde ortada */
  align-items: center;
  justify-content: center;
}

/* Hero içeriği */
.ref-hero .ref-hero-content{
  text-align: center;
}
/* HERO BADGE – ORTALI & BÜYÜK */
.ref-hero-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 18px auto; /* başlığın üstünde, ortalı */
  text-align: center;

  font-size: 15px;          /* büyüttük */
  font-weight: 600;

  padding: 8px 18px;
  border-radius: 999px;

  background: rgba(181,22,42,.18);
  border: 1px solid rgba(181,22,42,.45);
  color: #fff;

  box-shadow: 0 0 0 1px rgba(181,22,42,.15) inset;
}

/* HERO İÇERİK ORTALAMA GARANTİSİ */
.ref-hero-inner{
  text-align: center;
}
.ref-hero-badge{
  position: relative;
  left: 54px; /* sağa */
}
/* Made in Türkiye: merkezden biraz sağa kaydır (override'lı) */
.ref-hero-badge{
  display: inline-block !important;
  margin-left: 28px !important;   /* 20-40 arası dene */
  transform: none !important;     /* eski denemeyi iptal */
}
/* =========================
   SECTIONS
========================= */
.ref-section{ padding:64px 0; }
.ref-section-soft{ background: rgba(255,255,255,.02); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); }

.ref-sec-head{ max-width:720px; margin:0 auto 26px; text-align:center; }
.ref-sec-head h2{ margin:0 0 10px; font-size:34px; letter-spacing:-.02em; }
.ref-sec-head p{ margin:0; opacity:.85; }

/* =========================
   GRID + CARDS
========================= */
.ref-grid{ display:grid; gap:16px; }
.ref-grid-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ref-grid-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ref-card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}

/* category cards */
.ref-cat{ display:block; text-decoration:none; color:inherit; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.ref-cat:hover{ transform: translateY(-2px); border-color: rgba(197,0,19,.35); background: rgba(197,0,19,.06); }
.ref-cat-ic{ width:42px; height:42px; display:grid; place-items:center; border-radius:12px;
  background: rgba(197,0,19,.12);
  border: 1px solid rgba(197,0,19,.25);
  margin-bottom:12px;
}
.ref-cat-t{ font-weight:800; margin-bottom:6px; }
.ref-cat-d{ opacity:.8; font-size:14px; line-height:1.5; min-height:42px; }
.ref-cat-go{ margin-top:12px; font-weight:700; opacity:.9; }

/* features */
.ref-feature{ position:relative; overflow:hidden; }
.ref-feature:before{
  content:""; position:absolute; inset:-2px;
  background: radial-gradient(600px 220px at 10% 0%, rgba(197,0,19,.18), transparent 60%);
  pointer-events:none;
}
.ref-feature-ic{ font-size:22px; margin-bottom:10px; }
.ref-feature-t{ font-weight:850; margin-bottom:8px; }
.ref-feature-d{ opacity:.82; font-size:14px; line-height:1.55; }

/* steps */
.ref-steps{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:16px; }
.ref-step{
  display:flex; gap:14px; align-items:flex-start;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
}
.ref-step-no{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(197,0,19,.14);
  border: 1px solid rgba(197,0,19,.28);
  font-weight:900;
}
.ref-step-t{ font-weight:850; margin-bottom:6px; }
.ref-step-d{ opacity:.82; font-size:14px; line-height:1.55; }

/* CTA block */
.ref-cta{ padding:56px 0 72px; }
.ref-cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background: rgba(197,0,19,.08);
  border: 1px solid rgba(197,0,19,.18);
  border-radius: 20px;
  padding: 22px 22px;
}
.ref-cta-left h2{ margin:0 0 8px; font-size:28px; letter-spacing:-.02em; }
.ref-cta-left p{ margin:0; opacity:.88; }
.ref-cta-right{ display:flex; gap:10px; flex-wrap:wrap; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .ref-grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-steps{ grid-template-columns: 1fr; }
  .ref-cta-inner{ flex-direction:column; align-items:flex-start; }
  .ref-sec-head h2{ font-size:30px; }
}
@media (max-width: 620px){
  .ref-grid-4, .ref-grid-3{ grid-template-columns: 1fr; }
  .ref-section{ padding:48px 0; }
}
.ref-hero-overlay { pointer-events: none; }
.ref-link.is-active{ color:#c61c2b; font-weight:700; }
/* === OKUNABİLİRLİK FIX === */
.about-hero p,
.bigcard p,
.vcard p,
.tbox p,
.facility p {
  opacity: 1 !important;
  color: rgba(255,255,255,.92);
}

.vcard h4,
.bigcard h3,
.tbox h4 {
  color: #fff;
}

.values h2,
.values div,
.timeline h2 {
  color: #fff;
}
.vcard {
  color: #111;
}

.vcard p {
  opacity: 1;
  color: #444;
}

.vcard h4 {
  color: #111;
}
.stat b {
  color: #111;
}

.stat span {
  opacity: .85;
  color: #555;
}
/* === TIMELINE FIX (görünürlük) === */
.timeline { margin-top: 34px; }

.tbox{
  background:#fff !important;
  border:1px solid rgba(0,0,0,.08) !important;
  color:#111 !important;
}

.tbox .y{ color:#cf2438 !important; }
.tbox h4{ color:#111 !important; }
.tbox p{
  color:#444 !important;
  opacity:1 !important;
}

/* Kutu boşsa minimum yükseklik ver */
.tbox{ min-height: 110px; }
/* === TIMELINE ANIMATION === */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}
/* =========================================================
   🔥 BAYİLER SAYFASI HERO – KESİN KIRICI (DOĞRU CLASS)
   ========================================================= */

/* Sayfa kilitlerini kaldır */
body.page-bayiler {
  overflow-x: hidden !important;
}

/* HERO ANA BLOK – ASIL SUÇLU */
body.page-bayiler .body-page-bayiler-hero,
body.page-bayiler .body-page-bayiler-hero-wrapper,
body.page-bayiler .body-page-bayiler-hero-container {
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  overflow: hidden !important;
  position: relative !important;
}

/* 100vh / JS / inline basılan her şeyi ez */
body.page-bayiler [style*="100vh"],
body.page-bayiler [style*="min-height"] {
  height: 260px !important;
  min-height: 260px !important;
}

/* HERO içindeki flex hizalamayı düzelt */
body.page-bayiler .body-page-bayiler-hero-container {
  display: flex !important;
  align-items: center !important;
}

/* =========================================================
   ✍️ YAZI ÖLÇEKLERİ – KURUMSAL
   ========================================================= */

body.page-bayiler .bayiler-hero h1,
body.page-bayiler .bayiler-hero-title {
  font-size: 32px !important;
  margin-bottom: 6px !important;
}

body.page-bayiler .bayiler-hero-desc {
  font-size: 14px !important;
  max-width: 520px;
  opacity: 0.85;
}

/* =========================================================
   ⬇️ FİLTRE BAR – HERO’NUN ALTINA YAPIŞMASIN
   ========================================================= */

body.page-bayiler .bayiler-filter {
  margin-top: 30px !important;
}

/* =========================================================
   🧱 BAYİ KARTLARI
   ========================================================= */

body.page-bayiler .bayi-list {
  padding-top: 40px !important;
}
/* =====================================================
   BAYİLER HERO – METİN ORTALAMA (KESİN)
   ===================================================== */

/* Hero içeriğini ortala */
body.page-bayiler .body-page-bayiler-hero-container,
body.page-bayiler .bayiler-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Yetkili Satıcılar rozeti */
body.page-bayiler .bayiler-badge,
body.page-bayiler .yetkili-saticilar {
  margin: 0 auto 10px auto !important;
  display: inline-flex !important;
}

/* Bayilerimiz başlığı */
body.page-bayiler .bayiler-hero h1,
body.page-bayiler .bayiler-hero-title {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Açıklama metni */
body.page-bayiler .bayiler-hero-desc {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 640px;
  text-align: center !important;
  opacity: 0.85;
}
/* =====================
   BAYİLER SAYFASI
===================== */

.bayi-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

.bayi-badge {
  display: inline-block;
  background: #c4162a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 14px;
}

.bayi-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.bayi-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* FİLTRE */
.bayi-filter {
  margin: 40px auto 20px;
  max-width: 320px;
}

.bayi-filter select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0f1a3d;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* LİSTE */
.bayi-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 20px 60px;
}

/* KART */
.bayi-card {
  width: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s ease;
}

.bayi-city {
  color: #ff4d4d;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bayi-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.bayi-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.bayi-card a {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
  background: #0f1a3d;
  color: #fff;
  text-decoration: none;
}

/* CTA */
.bayi-cta {
  text-align: center;
  padding: 60px 20px;
}

.bayi-cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bayi-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.bayi-cta a {
  background: #c4162a;
  padding: 12px 26px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}
.bayi-list{
  max-width: 1100px;
  margin: 0 auto;
}
.bayi-card{
  width: 320px;
}
.bayi-filter{
  margin: 28px auto 10px;
}
@media(max-width:768px){
  .bayi-card{
    width:100%;
    max-width:380px;
  }
}
.bayi-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
}
.bayi-hero{
  position: relative;
  padding: 110px 20px 70px;
  text-align: center;
}

.bayi-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 0%, rgba(196,22,42,.25), transparent 60%);
  pointer-events:none;
}

.bayi-hero h1{
  font-size:42px;
  letter-spacing:-0.5px;
}

.bayi-hero p{
  max-width:560px;
  margin:12px auto 0;
  font-size:15px;
  line-height:1.6;
}
.bayi-filter select{
  appearance:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    #0f1a3d;
  font-weight:500;
  letter-spacing:.4px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.bayi-list{
  max-width:1200px;
  margin:0 auto;
}

.bayi-card{
  width:340px;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.bayi-card h3{
  font-size:18px;
  letter-spacing:.3px;
}
.bayi-card{
  transition: all .45s cubic-bezier(.22,.61,.36,1);
}

.bayi-card:hover{
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(196,22,42,.5);
}
.bayi-tag{
  display:inline-block;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(196,22,42,.15);
  color:#ff6b6b;
  margin-bottom:10px;
}
.bayi-cta{
  position:relative;
  background:
    radial-gradient(circle at center, rgba(196,22,42,.18), transparent 65%);
}
/* =========================
   TÜRKİYE HARİTASI – PREMIUM
========================= */

.tr-map-section{
  position: relative;
  padding: 90px 20px 40px;
  text-align: center;
}

.tr-map-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(196,22,42,.18), transparent 60%);
  pointer-events:none;
}

.tr-map-title{
  font-size:34px;
  margin-bottom:8px;
}

.tr-map-desc{
  font-size:14px;
  opacity:.75;
  margin-bottom:40px;
}

.tr-map-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  max-width:1100px;
  margin:0 auto;
  overflow:hidden;
}

.tr-map{
  width:100%;
  max-width:1000px;
  fill:#1b2336; /* HARİTA ANA RENGİ */
}

.tr-map path{
  stroke:#2f3b55;
  stroke-width:1;
  cursor:pointer;
  transition:all .35s ease;
}

.tr-map path:hover{
  fill:#c4162a;
  stroke:#ff6b6b;
}

.tr-map path.active{
  fill:#c4162a;
  stroke:#ff6b6b;
}

/* SVG'Yİ OVERLAY'İN ÜSTÜNE AL */
.tr-map-wrapper{
  position: relative;
  z-index: 2;
}
/* =====================
   BAYİLER SAYFASI
===================== */

.bayi-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

.bayi-badge {
  display: inline-block;
  background: #c4162a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 14px;
}

.bayi-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.bayi-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* FİLTRE */
.bayi-filter {
  margin: 40px auto 20px;
  max-width: 320px;
}

.bayi-filter select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0f1a3d;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* LİSTE */
.bayi-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 20px 60px;
}

/* KART */
.bayi-card {
  width: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s ease;
}

.bayi-city {
  color: #ff4d4d;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bayi-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.bayi-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.bayi-card a {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
  background: #0f1a3d;
  color: #fff;
  text-decoration: none;
}

/* CTA */
.bayi-cta {
  text-align: center;
  padding: 60px 20px;
}

.bayi-cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bayi-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.bayi-cta a {
  background: #c4162a;
  padding: 12px 26px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}
/* =====================
   BAYİLER SAYFASI
===================== */

.bayi-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

.bayi-badge {
  display: inline-block;
  background: #c4162a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 14px;
}

.bayi-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.bayi-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* FİLTRE */
.bayi-filter {
  margin: 40px auto 20px;
  max-width: 320px;
}

.bayi-filter select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0f1a3d;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* LİSTE */
.bayi-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 20px 60px;
}

/* KART */
.bayi-card {
  width: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s ease;
}

.bayi-city {
  color: #ff4d4d;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bayi-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.bayi-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.bayi-card a {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
  background: #0f1a3d;
  color: #fff;
  text-decoration: none;
}

/* CTA */
.bayi-cta {
  text-align: center;
  padding: 60px 20px;
}

.bayi-cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bayi-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.bayi-cta a {
  background: #c4162a;
  padding: 12px 26px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}
/* =====================
   BAYİLER SAYFASI
===================== */

.bayi-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

.bayi-badge {
  display: inline-block;
  background: #c4162a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 14px;
}

.bayi-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.bayi-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* FİLTRE */
.bayi-filter {
  margin: 40px auto 20px;
  max-width: 320px;
}

.bayi-filter select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0f1a3d;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* LİSTE */
.bayi-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 20px 60px;
}

/* KART */
.bayi-card {
  width: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s ease;
}

.bayi-city {
  color: #ff4d4d;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bayi-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.bayi-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.bayi-card a {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
  background: #0f1a3d;
  color: #fff;
  text-decoration: none;
}

/* CTA */
.bayi-cta {
  text-align: center;
  padding: 60px 20px;
}

.bayi-cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bayi-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.bayi-cta a {
  background: #c4162a;
  padding: 12px 26px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}
/* =====================
   BAYİLER SAYFASI
===================== */

.bayi-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

.bayi-badge {
  display: inline-block;
  background: #c4162a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 14px;
}

.bayi-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.bayi-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* FİLTRE */
.bayi-filter {
  margin: 40px auto 20px;
  max-width: 320px;
}

.bayi-filter select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0f1a3d;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* LİSTE */
.bayi-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 20px 60px;
}

/* KART */
.bayi-card {
  width: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s ease;
}

.bayi-city {
  color: #ff4d4d;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bayi-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.bayi-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.bayi-card a {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
  background: #0f1a3d;
  color: #fff;
  text-decoration: none;
}

/* CTA */
.bayi-cta {
  text-align: center;
  padding: 60px 20px;
}

.bayi-cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bayi-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.bayi-cta a {
  background: #c4162a;
  padding: 12px 26px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}
.bayi-hero{
  position: relative;
  padding: 110px 20px 70px;
  text-align: center;
}

.bayi-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 0%, rgba(196,22,42,.25), transparent 60%);
  pointer-events:none;
}

.bayi-hero h1{
  font-size:42px;
  letter-spacing:-0.5px;
}

.bayi-hero p{
  max-width:560px;
  margin:12px auto 0;
  font-size:15px;
  line-height:1.6;
}
.bayi-filter select{
  appearance:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    #0f1a3d;
  font-weight:500;
  letter-spacing:.4px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.bayi-list{
  max-width:1200px;
  margin:0 auto;
}

.bayi-card{
  width:340px;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.bayi-card h3{
  font-size:18px;
  letter-spacing:.3px;
}
.bayi-card{
  transition: all .45s cubic-bezier(.22,.61,.36,1);
}

.bayi-card:hover{
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(196,22,42,.5);
}
.bayi-tag{
  display:inline-block;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(196,22,42,.15);
  color:#ff6b6b;
  margin-bottom:10px;
}
.bayi-cta{
  position:relative;
  background:
    radial-gradient(circle at center, rgba(196,22,42,.18), transparent 65%);
}
/* ===========================
   PREMIUM DEALER PAGE
=========================== */

.dealer-hero {
  text-align:center;
  padding:120px 20px 60px;
}

.dealer-hero h1 {
  font-size:48px;
  font-weight:700;
  margin-bottom:10px;
}

.dealer-hero p {
  opacity:.7;
}

.dealer-stats {
  display:flex;
  justify-content:center;
  gap:60px;
  margin-top:40px;
}

.dealer-stats div {
  text-align:center;
}

.dealer-stats strong {
  display:block;
  font-size:28px;
  color:#c4162a;
}

.dealer-tabs {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  padding:40px 20px;
}

.tab {
  padding:10px 20px;
  background:#111a2f;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.1);
  cursor:pointer;
  transition:.3s;
}

.tab.active,
.tab:hover {
  background:#c4162a;
}

.dealer-grid {
  display:flex;
  justify-content:center;
  padding:60px 20px;
}

.dealer-card {
  max-width:720px;   /* KUTU DARALDI */
  width:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:40px;
  backdrop-filter:blur(14px);
  transition:.35s ease;
  box-shadow:0 0 40px rgba(196,22,42,.08);
}

.dealer-card {
  max-width:900px;
  width:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap:40px;

  background:linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:50px;

  backdrop-filter:blur(14px);
  box-shadow:0 0 60px rgba(196,22,42,.08);
  transition:.35s ease;
}

.dealer-card:hover {
  transform:translateY(-6px);
  box-shadow:0 0 80px rgba(196,22,42,.18);
}


.dealer-card:hover {
  transform:translateY(-8px);
  border-color:#c4162a;
}

.dealer-badge {
  color:#c4162a;
  font-size:12px;
  margin-bottom:8px;
}

.dealer-card h3 {
  margin-bottom:10px;
}

.dealer-address {
  opacity:.7;
  font-size:14px;
}

.dealer-phone {
  margin-top:10px;
  font-weight:600;
}

.dealer-btn {
  display:inline-block;
  margin-top:20px;
  padding:10px 20px;
  background:#c4162a;
  border-radius:8px;
  text-decoration:none;
  color:white;
  transition:.3s;
}

.dealer-btn:hover {
  opacity:.85;
}
.dealer-card h3 {
  font-size:22px;
  margin-bottom:14px;
}

.dealer-address {
  font-size:15px;
  line-height:1.6;
  opacity:.75;
}

.dealer-btn {
  margin-top:26px;
}
.dealer-left {
  display:flex;
  flex-direction:column;
  gap:18px;
}

.dealer-city {
  font-size:12px;
  letter-spacing:2px;
  color:#c4162a;
  font-weight:600;
}

.dealer-card h3 {
  font-size:24px;
  margin:0;
}

.dealer-address {
  font-size:15px;
  line-height:1.6;
  opacity:.75;
}
.dealer-right {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:18px;
  border-left:1px solid rgba(255,255,255,.08);
  padding-left:40px;
}

.dealer-phone {
  font-size:18px;
  font-weight:600;
}

.dealer-btn {
  background:#c4162a;
  padding:12px 26px;
  border-radius:12px;
  text-decoration:none;
  color:white;
  font-weight:600;
  transition:.25s ease;
}

.dealer-btn:hover {
  background:#ff1f3a;
}
@media (max-width: 900px) {
  .dealer-card {
    grid-template-columns:1fr;
    padding:30px;
  }

  .dealer-right {
    border-left:none;
    padding-left:0;
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:20px;
  }
}
/* =========================
   2 KOLON DEALER CARD
========================= */

.dealer-grid{
  display:flex;
  justify-content:center;
  padding:60px 20px;
}

.dealer-card{
  display:grid;
  grid-template-columns: 1fr 220px;
  align-items:center;
  gap:40px;

  max-width:820px;
  width:100%;

  padding:50px;
  border-radius:20px;

  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(18px);

  transition:.35s ease;
}

.dealer-card:hover{
  border-color:#c4162a;
  box-shadow:0 0 60px rgba(196,22,42,.15);
}

/* SOL TARAF */

.dealer-left h3{
  font-size:22px;
  margin:10px 0 18px;
}

.dealer-city{
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:.6;
}

.dealer-address{
  line-height:1.6;
  opacity:.75;
}

/* SAĞ TARAF */

.dealer-right{
  text-align:right;
}

.dealer-phone{
  margin-bottom:20px;
  font-weight:500;
}

.dealer-btn{
  display:inline-block;
  padding:12px 22px;
  background:#c4162a;
  color:#fff;
  border-radius:10px;
  text-decoration:none;
  transition:.25s;
}

.dealer-btn:hover{
  background:#ff2d3d;
}
/* =========================
   REVEAL ANİMASYON
========================= */

.dealer-card{
  opacity:0;
  transform:translateY(40px);
  filter:blur(8px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.16,1,.3,1),
    filter .8s ease;
}

.dealer-card.reveal{
  opacity:1;
  transform:translateY(0);
  filter:blur(0);
}

/* Hafif stagger hissi */
.dealer-card:nth-child(1){ transition-delay:.05s }
.dealer-card:nth-child(2){ transition-delay:.15s }
.dealer-card:nth-child(3){ transition-delay:.25s }
.dealer-card:nth-child(4){ transition-delay:.35s }
.dealer-card:nth-child(5){ transition-delay:.45s }
/* HERO */
.dealer-apply-hero{
  text-align:center;
  padding:100px 20px;
  background:linear-gradient(135deg,#c1121f,#8a0e18);
  color:#fff;
}

.dealer-apply-hero h1{
  font-size:42px;
  font-weight:700;
}

.dealer-apply-hero p{
  opacity:.9;
  margin-top:10px;
}

/* GENEL */
.container{
  max-width:1100px;
  margin:auto;
  padding:80px 20px;
}

/* AVANTAJLAR */
.section-sub{
  text-align:center;
  opacity:.6;
  margin-bottom:50px;
}

.advantages-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.adv-card{
  background:#111;
  border-radius:14px;
  padding:30px;
  transition:.4s;
  border:1px solid rgba(255,255,255,.05);
}

.adv-card:hover{
  transform:translateY(-8px);
  border-color:#c1121f;
}

.adv-card .icon{
  font-size:28px;
  margin-bottom:15px;
}

/* KRİTER */
.criteria-box{
  background:#111;
  border-radius:14px;
  padding:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  border:1px solid rgba(255,255,255,.05);
}

/* FORM */
.form-box{
  background:#111;
  border-radius:16px;
  padding:50px;
  border:1px solid rgba(255,255,255,.05);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:20px;
}

.form-box input,
.form-box textarea{
  width:100%;
  padding:14px;
  border-radius:8px;
  border:none;
  background:#1a1a1a;
  color:#fff;
}

.form-box input:focus,
.form-box textarea:focus{
  outline:2px solid #c1121f;
}

.submit-btn{
  background:#c1121f;
  border:none;
  padding:14px 25px;
  border-radius:8px;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.submit-btn:hover{
  background:#e31827;
}

/* REVEAL ANIMASYON */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all .8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}
/* =========================
   DEALER APPLY PAGE
========================= */

.apply-hero{
  text-align:center;
  padding:100px 20px 60px;
}

.apply-hero h1{
  font-size:44px;
  margin-bottom:10px;
}

.apply-container{
  max-width:800px;
  margin:0 auto 120px;
  padding:40px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  backdrop-filter:blur(20px);
}

.apply-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.form-row{
  display:flex;
  gap:20px;
}

.form-row input{
  flex:1;
}

.apply-form input,
.apply-form textarea{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  padding:14px;
  border-radius:10px;
  color:#fff;
  font-size:14px;
}

.apply-form textarea{
  min-height:120px;
  resize:none;
}

.apply-btn{
  background:#c4162a;
  color:#fff;
  padding:14px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  transition:.3s;
}

.apply-btn:hover{
  background:#ff1f3d;
  transform:translateY(-2px);
}

.apply-success{
  background:#0f2e1d;
  border:1px solid #1fa64a;
  padding:16px;
  border-radius:10px;
  margin-bottom:30px;
  text-align:center;
}
.admin-title{
  font-size:26px;
  margin-bottom:20px;
}

.card{
  background:#111827;
  padding:20px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  color:#fff;
}

.admin-table th{
  text-align:left;
  padding:14px;
  background:#1f2937;
  font-weight:600;
}

.admin-table td{
  padding:14px;
  border-bottom:1px solid #1f2937;
}

.admin-table tr:hover{
  background:#1a2233;
}

.status{
  padding:6px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
}

.status.new{
  background:#facc15;
  color:#000;
}

.status.approved{
  background:#22c55e;
}

.status.rejected{
  background:#ef4444;
}
.btn-approve{
  background:#22c55e;
  padding:6px 10px;
  border-radius:6px;
  color:#fff;
  text-decoration:none;
  margin-right:6px;
  font-size:12px;
}

.btn-reject{
  background:#ef4444;
  padding:6px 10px;
  border-radius:6px;
  color:#fff;
  text-decoration:none;
  font-size:12px;
}

.btn-approve:hover{opacity:.8}
.btn-reject:hover{opacity:.8}
body{
  background:
    radial-gradient(circle at 20% 30%, rgba(196,22,42,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,102,255,0.05), transparent 40%),
    #070b18;
  color:#fff;
}
.hero,
.home-hero,
section:first-of-type{
  min-height:90vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:120px 20px;
  position:relative;
}

/* HERO BAŞLIK */
.hero h1,
.home-hero h1{
  font-size:52px;
  font-weight:800;
  letter-spacing:-1px;
  line-height:1.2;
  margin-bottom:20px;
}

/* ALT METİN */
.hero p,
.home-hero p{
  max-width:750px;
  margin:auto;
  opacity:.75;
  font-size:18px;
}
.hero-stats div,
.dealer-stats div{
  background:rgba(255,255,255,0.03);
  padding:20px 30px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);
  transition:0.3s;
}

.hero-stats div:hover,
.dealer-stats div:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 40px rgba(196,22,42,0.25);
  border-color:rgba(196,22,42,0.4);
}
.product-card,
.card{
  background:rgba(255,255,255,0.02);
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.06);
  transition:0.4s;
  overflow:hidden;
}

.product-card:hover,
.card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(196,22,42,0.35);
  border-color:rgba(196,22,42,0.4);
}
section{
  padding:100px 20px;
  position:relative;
}

section::after{
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:80%;
  height:1px;
  background:linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}
.btn,
button{
  border-radius:12px;
  font-weight:600;
  letter-spacing:.5px;
  transition:0.3s;
}

.btn-primary,
button.primary{
  background:#c4162a;
  box-shadow:0 10px 30px rgba(196,22,42,.3);
}

.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 45px rgba(196,22,42,.5);
}
footer{
  background:#050814;
  border-top:1px solid rgba(255,255,255,0.06);
  padding-top:80px;
}
/* =========================================
   HAKKIMIZDA SECTION
========================================= */

section:has(h2:contains("Hakkımızda")),
.hakkimizda-section {
    position: relative;
    background: linear-gradient(135deg, #05070f 0%, #0c1224 100%);
    padding: 120px 0;
    overflow: hidden;
}

.hakkimizda-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(193,22,42,0.2), transparent 60%);
    pointer-events: none;
}

.hakkimizda-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.hakkimizda-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 16px;
}

/* Kırmızı üretim kartı */
.hakkimizda-section .highlight-card {
    background: linear-gradient(135deg,#c4162a,#8f0f1f);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(196,22,42,0.4);
    transition: 0.4s ease;
}

.hakkimizda-section .highlight-card:hover {
    transform: translateY(-6px);
}
/* =========================================
   BLOG SECTION
========================================= */

.blog-section {
    padding: 120px 0;
    background: #f6f7fb;
}

.blog-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card a {
    color: #c4162a;
    font-weight: 600;
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}
/* =========================================
   BAYİ CTA SECTION
========================================= */

.cta-section {
    position: relative;
    background: linear-gradient(135deg,#c4162a,#8f0f1f);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    margin: 20px 0 30px;
}

.cta-section .btn-white {
    background: #fff;
    color: #c4162a;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-section .btn-white:hover {
    background: #0e1320;
    color: #fff;
}
/* =========================================
   FOOTER PREMIUM
========================================= */

footer {
    background: #05070f;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #c4162a;
}

footer .copyright {
    margin-top: 50px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
/* =========================================
   TOP BAR FIX
========================================= */

.top-bar,
.header-top,
.header-info {
    padding: 6px 0 !important;   /* önce 20-30px olabilir */
    font-size: 13px;
}

/* İç container hizalama */
.top-bar .container,
.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Linkler */
.top-bar a,
.header-top a {
    font-size: 13px;
    opacity: 0.9;
}

/* Eğer hala büyükse */
.top-bar,
.header-top {
    height: 40px;
    line-height: 40px;
}
header > div:first-child {
    padding: 5px 0 !important;
    height: 38px !important;
}
/* =========================================
   HERO SPACE FIX
========================================= */

.hero,
.hero-section,
.main-hero {
    padding-top: 120px !important;   /* önce 200-250 olabilir */
    padding-bottom: 120px !important;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero {
    background: radial-gradient(circle at center, #111 0%, #000 60%);
}

.hero h1 {
    font-size: 52px;
    letter-spacing: -1px;
}

.hero p {
    opacity: 0.7;
}
/* ÜST KIRMIZI İLETİŞİM BAR */
.top-bar,
.header-top,
.header-contact {
    padding: 8px 0 !important;
    font-size: 13px;
}

.top-bar * {
    line-height: 1.2;
}
/* ÜST KIRMIZI BAR TAM KONTROL */
.top-bar,
.header-top,
.header-contact,
.header-topbar {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
}
.top-bar *,
.header-top *,
.header-contact * {
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.top-bar {
    height: 32px !important;
    font-size: 12px !important;
}
/* ===== ÜST KIRMIZI BAR FULL RESET ===== */

.top-bar,
.header-top,
.header-contact,
.header-topbar,
.header .top,
header .top-bar {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;

    padding: 0 24px !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
}

/* İç container şişmesini engelle */
.top-bar .container,
.header-top .container,
.header-contact .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* İç elemanları düzleştir */
.top-bar * {
    margin: 0 !important;
    line-height: 1.2 !important;
}
/* ===== ÜST KIRMIZI BAR KÜÇÜLTME ===== */

.ref-topbar {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.ref-topbar-inner {
    height: 100% !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
}

/* İç yazılar taşmasın */
.ref-topbar * {
    margin: 0 !important;
    line-height: 1.2 !important;
    font-size: 13px;
}
/* Üst kırmızı bar içeriğini sağa yasla */
.ref-topbar-inner {
    justify-content: flex-end !important;
    text-align: right;
}
/* Üst kırmızı barı tam sağa dayama */
.ref-topbar-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 40px !important;
    justify-content: flex-end !important;
}
section.ref-hero {
    min-height: 60vh !important;
    padding: 60px 20px !important;
}
/* HERO boyut standardı (tüm sayfalar) */
section.ref-hero,
section.about-hero {
    min-height: 60vh !important;
    padding: 70px 20px !important;
}
/* Tüm ilk hero sectionları küçült */
main > section:first-of-type {
    min-height: 55vh !important;
    padding: 60px 20px !important;
}
/* FILTER WRAPPER */
.dealer-filter{
    display:flex;
    justify-content:center;
    margin:40px 0;
}

/* SELECT BOX */
.dealer-select{
    position:relative;
    width:320px;
    font-size:14px;
}

/* TRIGGER */
.dealer-select-trigger{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    padding:12px 16px;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    transition:.3s;
}

.dealer-select-trigger:hover{
    background:rgba(255,255,255,0.08);
}

/* DROPDOWN */
.dealer-select-dropdown{
    position:absolute;
    top:110%;
    left:0;
    width:100%;
    background:#111827;
    border-radius:14px;
    padding:12px;
    box-shadow:0 20px 40px rgba(0,0,0,0.6);
    display:none;
    z-index:100;
}

.dealer-select.open .dealer-select-dropdown{
    display:block;
}

/* SEARCH INPUT */
#citySearch{
    width:100%;
    padding:10px 12px;
    border-radius:8px;
    border:none;
    margin-bottom:10px;
    background:#1f2937;
    color:#fff;
}

/* CITY LIST */
.dealer-city-list{
    max-height:250px;
    overflow-y:auto;
}

/* OPTION */
.dealer-option{
    padding:8px 10px;
    border-radius:8px;
    cursor:pointer;
    transition:.2s;
}

.dealer-option:hover{
    background:rgba(255,255,255,0.07);
}

.dealer-option.active{
    background:#c4162a;
}
/* =========================
   HERO
========================= */

.apply-hero{
  text-align:center;
  padding:120px 20px 60px;
  background: radial-gradient(circle at 20% 30%, rgba(220,20,60,.15), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(0,80,200,.15), transparent 40%),
              #05060d;
}

.apply-hero h1{
  font-size:42px;
  font-weight:700;
  margin-bottom:12px;
  letter-spacing:.5px;
}

.apply-hero p{
  color:#9ca3af;
  font-size:16px;
}


/* =========================
   CONTAINER
========================= */

.apply-container{
  display:flex;
  justify-content:center;
  padding:40px 20px 120px;
  background:#05060d;
}


/* =========================
   FORM CARD
========================= */

.apply-form{
  width:100%;
  max-width:720px;
  padding:40px;
  border-radius:20px;
  background:rgba(20,22,35,.65);
  backdrop-filter: blur(18px);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 30px 80px rgba(0,0,0,.6);
  transition:.3s ease;
}

.apply-form:hover{
  transform:translateY(-4px);
  box-shadow:0 40px 90px rgba(0,0,0,.7);
}


/* =========================
   FORM LAYOUT
========================= */

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:16px;
}

.apply-form input,
.apply-form textarea{
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:#fff;
  font-size:14px;
  transition:.25s ease;
}

.apply-form input:focus,
.apply-form textarea:focus{
  outline:none;
  border-color:#dc2626;
  background:rgba(255,255,255,.06);
  box-shadow:0 0 0 2px rgba(220,38,38,.2);
}

.apply-form textarea{
  margin-top:16px;
  min-height:120px;
  resize:vertical;
}


/* =========================
   BUTTON
========================= */

.apply-btn{
  width:100%;
  margin-top:20px;
  padding:14px;
  border-radius:12px;
  border:none;
  font-weight:600;
  font-size:15px;
  letter-spacing:.5px;
  cursor:pointer;
  background:linear-gradient(90deg,#dc2626,#b91c1c);
  color:#fff;
  transition:.3s ease;
}

.apply-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(220,38,38,.4);
}


/* =========================
   SUCCESS MESSAGE
========================= */

.apply-success{
  max-width:720px;
  margin:0 auto 30px;
  padding:16px 20px;
  border-radius:12px;
  background:rgba(16,185,129,.1);
  border:1px solid rgba(16,185,129,.4);
  color:#10b981;
  text-align:center;
  font-weight:500;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

  .form-row{
    grid-template-columns:1fr;
  }

  .apply-hero{
    padding:80px 20px 40px;
  }

  .apply-hero h1{
    font-size:32px;
  }

}
.container{
  width:1100px;
  max-width:95%;
  margin:auto;
}

/* HERO */
.apply-hero-red{
  background:#c8102e;
  color:white;
  padding:80px 0;
  text-align:center;
}

.apply-hero-red h1{
  font-size:36px;
  font-weight:700;
}

.apply-hero-red p{
  opacity:.9;
}

/* BENEFITS */
.apply-benefits{
  background:#f6f6f6;
  padding:80px 0;
  text-align:center;
}

.apply-benefits h2{
  font-size:28px;
  margin-bottom:10px;
}

.sub{
  color:#777;
  margin-bottom:50px;
}

.benefit-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.benefit-card{
  background:white;
  padding:30px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:.3s;
}

.benefit-card:hover{
  transform:translateY(-5px);
}

/* CRITERIA */
.apply-criteria{
  padding:60px 0;
  background:white;
  text-align:center;
}

.criteria-box{
  margin-top:30px;
  background:#f2f2f2;
  padding:30px;
  border-radius:12px;
}

.criteria-box ul{
  list-style:none;
  padding:0;
}

.criteria-box li{
  margin:10px 0;
  color:#444;
}

/* FORM */
.apply-form-section{
  background:#f6f6f6;
  padding:80px 0;
}

.apply-form-card{
  background:white;
  padding:40px;
  border-radius:14px;
  width:600px;
  max-width:95%;
  margin:auto;
  box-shadow:0 20px 40px rgba(0,0,0,.1);
}

.apply-form-card h3{
  text-align:center;
  margin-bottom:30px;
}

.form-row{
  display:flex;
  gap:15px;
  margin-bottom:15px;
}

.apply-form-card input,
.apply-form-card textarea{
  width:100%;
  padding:12px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:14px;
}

.apply-form-card textarea{
  min-height:120px;
  resize:none;
}

.apply-btn-red{
  width:100%;
  margin-top:20px;
  background:#c8102e;
  color:white;
  padding:14px;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.apply-btn-red:hover{
  background:#a50e26;
}
/* =========================
GENEL
========================= */

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

section{
  padding:90px 0;
}

h1,h2,h3{
  margin:0;
}

p{
  margin:0;
}


/* =========================
HERO
========================= */

.apply-hero{
  background:linear-gradient(135deg,#c4161c,#a31016);
  color:#fff;
  text-align:center;
  padding:110px 0;
}

.apply-hero h1{
  font-size:42px;
  font-weight:700;
  margin-bottom:15px;
}

.apply-hero p{
  font-size:16px;
  opacity:.9;
}


/* =========================
AVANTAJLAR
========================= */

.apply-advantages{
  background:#f3f4f6;
  text-align:center;
}

.apply-advantages h2{
  font-size:28px;
  margin-bottom:10px;
  color:#111;
}

.apply-advantages .sub{
  color:#666;
  margin-bottom:50px;
}

.advantages-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.adv-card{
  background:#fff;
  padding:30px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  text-align:left;
  transition:.3s;
}

.adv-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,0.1);
}

.adv-card h3{
  font-size:18px;
  margin-bottom:10px;
  color:#c4161c;
}

.adv-card p{
  font-size:14px;
  color:#555;
}


/* =========================
KRİTERLER
========================= */

.apply-criteria{
  background:#fff;
  text-align:center;
}

.apply-criteria h2{
  font-size:26px;
  margin-bottom:40px;
  color:#111;
}

.criteria-card{
  background:#f3f4f6;
  padding:40px;
  border-radius:14px;
  max-width:800px;
  margin:0 auto;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.criteria-card ul{
  list-style:none;
  padding:0;
  margin:0;
}

.criteria-card li{
  margin:12px 0;
  font-size:15px;
  color:#333;
  position:relative;
  padding-left:25px;
}

.criteria-card li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:#c4161c;
  font-weight:700;
}


/* =========================
FORM
========================= */

.apply-form-section{
  background:#f3f4f6;
  text-align:center;
}

.apply-form-section h2{
  font-size:26px;
  margin-bottom:40px;
}

.apply-form{
  background:#fff;
  max-width:600px;
  margin:0 auto;
  padding:40px;
  border-radius:14px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  text-align:left;
}

.form-row{
  display:flex;
  gap:15px;
  margin-bottom:15px;
}

.form-row input{
  flex:1;
}

.apply-form input,
.apply-form textarea{
  width:100%;
  padding:14px;
  border-radius:8px;
  border:1px solid #ddd;
  font-size:14px;
  transition:.3s;
}

.apply-form input:focus,
.apply-form textarea:focus{
  border-color:#c4161c;
  outline:none;
  box-shadow:0 0 0 3px rgba(196,22,28,0.1);
}

.apply-form textarea{
  min-height:120px;
  resize:none;
  margin-top:15px;
}

.apply-btn{
  margin-top:20px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:8px;
  background:#c4161c;
  color:#fff;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  transition:.3s;
}

.apply-btn:hover{
  background:#a31016;
  transform:translateY(-2px);
}


/* =========================
SUCCESS MESSAGE
========================= */

.apply-success{
  background:#e6f4ea;
  color:#2e7d32;
  padding:15px;
  border-radius:8px;
  margin-bottom:20px;
  text-align:center;
}


/* =========================
MOBİL
========================= */

@media(max-width:768px){

  .apply-hero h1{
    font-size:30px;
  }

  .form-row{
    flex-direction:column;
  }

}
.apply-hero{
  background:linear-gradient(135deg,#c4161c,#a31016);
  color:#fff;
  text-align:center;
  padding:60px 0;   /* 🔥 küçülttük */
}

.apply-hero h1{
  font-size:32px;   /* 42px yerine */
  font-weight:700;
  margin-bottom:10px;
}

.apply-hero p{
  font-size:14px;
  opacity:.9;
}
.apply-hero{
  min-height:auto !important;
  height:auto !important;
  padding:50px 0 !important;
}
main > section:first-of-type{
  min-height:auto !important;
}
/* SECTION ARKA PLAN */
.apply-criteria{
  padding:100px 0;
  background:linear-gradient(135deg,#0b0f1a,#070a13);
  text-align:center;
}

/* WRAPPER */
.criteria-wrapper{
  max-width:900px;
  margin:auto;
}

/* BAŞLIK */
.criteria-wrapper h2{
  color:#fff;
  font-size:32px;
  margin-bottom:40px;
  font-weight:600;
  letter-spacing:0.5px;
}

/* GLASS BOX */
.criteria-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
  padding:50px;
  background:rgba(255,255,255,0.04);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,0.6);
}

/* ITEM */
.criteria-item{
  display:flex;
  align-items:center;
  gap:15px;
  color:#ddd;
  font-size:16px;
  text-align:left;
  transition:0.3s ease;
}

.criteria-item:hover{
  transform:translateX(5px);
  color:#fff;
}

/* ICON */
.criteria-icon{
  width:28px;
  height:28px;
  background:#d71920;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  font-size:14px;
  box-shadow:0 0 15px rgba(215,25,32,0.6);
}

/* RESPONSIVE */
@media(max-width:768px){
  .criteria-box{
    grid-template-columns:1fr;
    padding:30px;
  }
}
/* HERO */
.blog-hero{
  background:linear-gradient(180deg,#d71920,#b31218);
  padding:120px 0 80px;
  text-align:center;
  color:#fff;
}

.blog-hero h1{
  font-size:42px;
  font-weight:700;
  margin-bottom:10px;
}

.blog-hero p{
  opacity:0.9;
  font-size:18px;
}

/* SECTION */
.blog-section{
  padding:100px 0;
  background:linear-gradient(135deg,#0b0f1a,#070a13);
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

/* CARD */
.blog-card{
  background:rgba(255,255,255,0.04);
  border-radius:18px;
  overflow:hidden;
  transition:0.4s ease;
  border:1px solid rgba(255,255,255,0.06);
  backdrop-filter:blur(8px);
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(0,0,0,0.6);
}

.blog-card a{
  text-decoration:none;
  color:inherit;
  display:block;
}

/* IMAGE */
.blog-image{
  height:220px;
  overflow:hidden;
}

.blog-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s ease;
}

.blog-card:hover img{
  transform:scale(1.08);
}

/* CONTENT */
.blog-content{
  padding:25px;
}

.blog-date{
  font-size:13px;
  color:#d71920;
  margin-bottom:10px;
  font-weight:600;
}

.blog-content h3{
  color:#fff;
  font-size:20px;
  margin-bottom:10px;
}

.blog-content p{
  color:#bbb;
  font-size:15px;
  line-height:1.6;
  margin-bottom:20px;
}

.blog-read{
  color:#d71920;
  font-weight:600;
  font-size:14px;
}

/* RESPONSIVE */
@media(max-width:1100px){
  .blog-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .blog-grid{
    grid-template-columns:1fr;
  }
}
.blog-hero{
  background:linear-gradient(135deg,#0b0f1a,#070a13);
  padding:140px 0 100px;
  text-align:center;
  position:relative;
}

.blog-hero h1{
  font-size:48px;
  font-weight:700;
  color:#fff;
  margin-bottom:15px;
}

.blog-hero p{
  font-size:18px;
  color:#aaa;
}
.blog-empty{
  padding:120px 0;
  display:flex;
  justify-content:center;
}

.blog-empty-box{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  border-radius:20px;
  padding:50px 80px;
  text-align:center;
  box-shadow:0 30px 60px rgba(0,0,0,0.6);
}

.blog-empty-box h3{
  color:#fff;
  font-size:22px;
  margin-bottom:10px;
}

.blog-empty-box p{
  color:#bbb;
}
/* HERO */
.blog-hero{
  padding:100px 0 60px;
  text-align:center;
}

.blog-hero h1{
  font-size:42px;
  margin-bottom:10px;
}

.blog-hero p{
  opacity:.7;
}

/* SECTION */
.blog-section{
  padding:60px 0 100px;
  min-height:60vh;
}

/* GRID */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

/* CARD */
.blog-card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.05);
  border-radius:16px;
  overflow:hidden;
  transition:.3s;
}

.blog-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,0,0,.4);
}

/* IMAGE */
.blog-image{
  height:220px;
  overflow:hidden;
}

.blog-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s;
}

.blog-card:hover img{
  transform:scale(1.05);
}

/* CONTENT */
.blog-content{
  padding:20px;
}

.blog-date{
  font-size:13px;
  opacity:.6;
  margin-bottom:8px;
}

.blog-content h3{
  font-size:20px;
  margin-bottom:10px;
}

.blog-content p{
  font-size:14px;
  opacity:.75;
  line-height:1.6;
  margin-bottom:15px;
}

.blog-read{
  color:#e30613;
  font-weight:600;
  font-size:14px;
}

/* EMPTY */
.blog-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:50vh;
}

.blog-empty-box{
  text-align:center;
  padding:40px;
  background:rgba(255,255,255,0.03);
  border-radius:16px;
}
html, body{
  height:100%;
}

body{
  display:flex;
  flex-direction:column;
}

main{
  flex:1;
}
.blog-empty-box{
  text-align:center;
  padding:50px 60px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,0,0,0.3);
  border-radius:20px;
  backdrop-filter:blur(10px);
}

.blog-empty-box h3{
  font-size:22px;
  margin-bottom:10px;
}

.blog-empty-box p{
  opacity:.7;
}
/* HERO */
.blog-hero{
  padding:120px 0 80px;
  text-align:center;
  background:linear-gradient(135deg,#b10015,#d91c28);
  color:#fff;
}

.blog-hero h1{
  font-size:42px;
  margin-bottom:10px;
}

.blog-hero p{
  opacity:.85;
}

/* SECTION */
.blog-section{
  padding:80px 0 120px;
  min-height:70vh;
}

/* EMPTY */
.blog-empty{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:50vh;
}

.blog-empty-box{
  text-align:center;
  padding:60px;
  border-radius:20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,0,0,0.3);
  backdrop-filter:blur(10px);
}

.blog-empty-box h3{
  font-size:22px;
  margin-bottom:15px;
}

.blog-back-btn{
  display:inline-block;
  margin-top:20px;
  padding:12px 28px;
  background:#d91c28;
  color:#fff;
  border-radius:30px;
  text-decoration:none;
  transition:.3s;
}

.blog-back-btn:hover{
  background:#b10015;
}
.section{
  min-height:70vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:120px 20px;
}

.section-head{
  text-align:center;
  margin-bottom:30px;
}

.card{
  padding:50px 60px;
  border-radius:20px;
  background:linear-gradient(145deg,#0f1422,#0b0f19);
  border:1px solid rgba(255,0,0,0.25);
  box-shadow:0 20px 60px rgba(0,0,0,0.6);
  text-align:center;
  color:#fff;
}

.card h3{
  font-size:22px;
  margin-bottom:10px;
}

.card p{
  opacity:.7;
}
.card{
  position:relative;
  overflow:hidden;
}

.card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:22px;
  background:radial-gradient(circle at center, rgba(255,0,0,0.35), transparent 70%);
  filter:blur(40px);
  opacity:.4;
  z-index:-1;
}
/* HERO */
.blog-detail-hero{
  padding:120px 20px 80px;
  text-align:center;
  background:linear-gradient(135deg,#0b1020,#0a0f18);
}

.blog-detail-hero h1{
  font-size:42px;
  font-weight:700;
  margin-bottom:15px;
  color:#fff;
}

.blog-detail-date{
  opacity:.6;
  font-size:14px;
  letter-spacing:1px;
}

/* COVER */
.blog-detail-cover img{
  width:100%;
  max-height:500px;
  object-fit:cover;
  border-radius:0;
}

/* CONTENT */
.blog-detail-content{
  padding:80px 20px;
}

.blog-article{
  max-width:900px;
  margin:auto;
  line-height:1.8;
  font-size:18px;
  color:#ddd;
}

.blog-article h2,
.blog-article h3{
  margin-top:40px;
  margin-bottom:15px;
  color:#fff;
}

.blog-article p{
  margin-bottom:20px;
}

.blog-article img{
  width:100%;
  border-radius:15px;
  margin:30px 0;
}
/* FEATURED */
.blog-featured{
  margin-bottom:60px;
}

.blog-featured a{
  display:flex;
  flex-wrap:wrap;
  background:#0f172a;
  border-radius:20px;
  overflow:hidden;
  text-decoration:none;
  transition:.3s;
}

.blog-featured a:hover{
  transform:translateY(-5px);
}

.featured-image{
  flex:1 1 50%;
}

.featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.featured-content{
  flex:1 1 50%;
  padding:40px;
}

.featured-content h2{
  font-size:28px;
  margin:15px 0;
}

/* GRID */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.blog-card{
  background:#0f172a;
  border-radius:20px;
  overflow:hidden;
  transition:.3s;
}

.blog-card:hover{
  transform:translateY(-5px);
}

.blog-image img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.blog-content{
  padding:25px;
}

.blog-content h3{
  margin:10px 0;
}

.blog-date{
  font-size:13px;
  opacity:.6;
}

.blog-read{
  display:inline-block;
  margin-top:15px;
  color:#ff2e2e;
  font-weight:600;
}

/* EMPTY */
.blog-empty{
  padding:100px 0;
  text-align:center;
}

.blog-empty-box{
  background:#0f172a;
  padding:60px;
  border-radius:20px;
}

.blog-back-btn{
  display:inline-block;
  margin-top:20px;
  padding:10px 25px;
  background:#ff2e2e;
  color:#fff;
  border-radius:50px;
  text-decoration:none;
}
/* ============================= */
/* BLOG DETAIL HERO */
/* ============================= */

.blog-detail-hero {
  position: relative;
  padding: 160px 0 120px;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.blog-detail-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.85)
  );
}

.blog-detail-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.blog-detail-hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin: 20px 0;
}

.blog-detail-hero .excerpt {
  font-size: 18px;
  opacity: 0.85;
}

.blog-detail-hero .blog-date {
  color: #ff2d2d;
  font-weight: 600;
  font-size: 14px;
}

.breadcrumb {
  font-size: 14px;
  opacity: 0.7;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ============================= */
/* BLOG CONTENT */
/* ============================= */

.blog-detail-section {
  padding: 80px 0;
}

.blog-detail-container {
  max-width: 900px;
}

.blog-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 28px;
}

.blog-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 17px;
  opacity: 0.9;
}

.blog-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-content li {
  margin-bottom: 8px;
}

/* Responsive */

@media(max-width:768px){
  .blog-detail-hero {
    padding: 120px 0 80px;
  }

  .blog-detail-hero h1 {
    font-size: 28px;
  }
}
/* ================= BLOG HERO ================= */

.blog-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(90deg,#c40017,#7b000f);
  color: #fff;
}

.blog-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

/* ================= FEATURED ================= */

.blog-featured {
  margin-bottom: 60px;
}

.blog-featured a {
  display: flex;
  gap: 40px;
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.blog-featured a:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-5px);
}

.featured-image {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.blog-featured a:hover img {
  transform: scale(1.05);
}

.featured-content {
  flex: 1;
}

.blog-date {
  font-size: 13px;
  color: #ff2d2d;
  margin-bottom: 10px;
}

.blog-featured h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  color: #ff2d2d;
}

/* ================= GRID ================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 30px;
}

.blog-card {
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.06);
}

.blog-card a {
  text-decoration: none;
  color: #fff;
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.blog-content p {
  font-size: 14px;
  opacity: 0.85;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

  .blog-featured a {
    flex-direction: column;
  }

  .featured-image {
    height: 250px;
  }
}
/* ================= HERO ================= */

.blog-detail-hero {
  padding: 120px 0 80px;
  background: linear-gradient(90deg,#0b0f1a,#111c30);
  text-align: center;
  color: #fff;
}

.breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #ff2d2d;
  text-decoration: none;
}

.blog-detail-hero h1 {
  font-size: 42px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.blog-meta {
  font-size: 14px;
  color: #ff2d2d;
}

/* ================= LAYOUT ================= */

.blog-detail-section {
  padding: 80px 0;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 60px;
}

.blog-detail-content {
  max-width: 900px;
}

.blog-cover {
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
}

.blog-cover img {
  width: 100%;
  display: block;
}

/* ================= CONTENT ================= */

.blog-text {
  color: #ddd;
  line-height: 1.8;
  font-size: 16px;
}

.blog-text h2,
.blog-text h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #fff;
}

.blog-text ul {
  padding-left: 20px;
  margin: 20px 0;
}

.blog-text li {
  margin-bottom: 8px;
}

/* ================= SIDEBAR ================= */

.blog-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-box {
  background: rgba(255,255,255,0.04);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.sidebar-box h4 {
  margin-bottom: 15px;
  color: #ff2d2d;
}

.sidebar-box ul {
  list-style: none;
  padding: 0;
}

.sidebar-box li {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.85;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: relative;
    top: auto;
  }
}
/* ================= LAYOUT ================= */

.blog-detail-layout {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 80px;
}

.blog-detail-content {
  max-width: 900px;
}

/* ================= SIDEBAR ================= */

.blog-sidebar {
  position: sticky;
  top: 140px;
  height: fit-content;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  margin-bottom: 30px;
}

.author-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ff2d2d,#a80000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
}

.author-box p {
  font-size: 13px;
  opacity: 0.6;
  margin: 3px 0 0;
}

.post-info {
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  font-size: 14px;
}

.post-info span {
  display: block;
  opacity: 0.6;
  margin-bottom: 5px;
}

/* ================= TYPOGRAPHY UPGRADE ================= */

.blog-text {
  font-size: 17px;
  line-height: 1.9;
  color: #e5e5e5;
}

.blog-text h2 {
  font-size: 28px;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #fff;
}

.blog-text h3 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #ff2d2d;
}

.blog-text ul {
  margin: 20px 0 30px;
}

.blog-text li {
  margin-bottom: 10px;
}

.blog-text p {
  margin-bottom: 20px;
}

/* Responsive */

@media(max-width:992px){
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: relative;
    top: auto;
  }
}/* ================= HERO ================= */

.blog-hero-minimal {
  padding: 100px 0 60px;
  text-align: center;
  background: linear-gradient(180deg,#0f1b2f 0%, transparent 100%);
}

.blog-hero-minimal h1 {
  font-size: 42px;
  max-width: 900px;
  margin: 20px auto;
  font-weight: 700;
}

.blog-meta span {
  font-size: 14px;
  opacity: 0.6;
  letter-spacing: 1px;
}

.blog-subtitle {
  opacity: 0.7;
  max-width: 700px;
  margin: auto;
}

/* ================= LAYOUT ================= */

.blog-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 80px;
  padding-bottom: 120px;
}

/* ================= ARTICLE ================= */

.blog-article {
  background: rgba(255,255,255,0.03);
  padding: 60px;
  border-radius: 20px;
  font-size: 18px;
  line-height: 1.9;
}

.blog-article h2 {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 28px;
}

.blog-article h3 {
  margin-top: 35px;
  margin-bottom: 15px;
  font-size: 22px;
  color: #ff2d2d;
}

.blog-article ul {
  margin: 20px 0;
  padding-left: 20px;
}

.blog-article li {
  margin-bottom: 10px;
}

.blog-article p {
  margin-bottom: 20px;
}

/* ================= SIDEBAR ================= */

.blog-sidebar-clean {
  padding-top: 60px;
}

.sidebar-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 25px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg,#ff2d2d,#a80000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){
  .blog-wrapper {
    grid-template-columns: 1fr;
  }

  .blog-article {
    padding: 40px;
  }

  .blog-hero-minimal h1 {
    font-size: 32px;
  }
}
.admin-container {
  max-width: 800px;
  margin: 80px auto;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-form input,
.admin-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
}

.admin-btn {
  margin-top: 15px;
  padding: 12px;
  background: #ff2d2d;
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.admin-btn:hover {
  background: #d60000;
}

.admin-error {
  background: #2b0000;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
}
/* =============================
   HAKKIMIZDA FIX
============================= */

.ref-about {
  padding: 110px 0;
}

.ref-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px){
  .ref-about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ref-about-right {
    justify-content: center;
  }
}

/* Sol taraf */
.ref-about-left h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.ref-about-text {
  font-size: 16px;
  line-height: 1.7;
  opacity: .85;
  max-width: 640px;
  margin-bottom: 40px;
}

/* KPI alanı */
.ref-about-kpis {
  display: flex;
  gap: 50px;
  margin-bottom: 35px;
}

.ref-about-kpi b {
  font-size: 32px;
  color: #ff2a5b;
}

.ref-about-kpi span {
  font-size: 13px;
  opacity: .75;
}

/* Sağ kart */
.ref-about-right {
  display: flex;
  justify-content: center;
}

.ref-about-card {
  width: 260px;
  height: 180px;
  border-radius: 18px;
  background: linear-gradient(135deg,#b0122c,#ff2a5b);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 25px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  transition: .3s ease;
}

.ref-about-card:hover {
  transform: translateY(-6px);
}

.ref-about-card-ic {
  font-size: 28px;
}

.ref-about-card-main b {
  font-size: 26px;
}

.ref-about-card-main span {
  font-size: 13px;
  opacity: .9;
}
/* ==============================
   HAKKIMIZDA TAM GENİŞLİK FIX
============================== */

.ref-about .container {
  max-width: 1200px;
  margin: 0 auto;
}

.ref-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px){
  .ref-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Sağ kart tam ortalansın */
.ref-about-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ref-about {
  padding: 120px 0;
}

.ref-about-grid {
  max-width: 1200px;
  margin: 0 auto;
}
/* ==============================
   HAKKIMIZDA DENGELİ LAYOUT
============================== */

.ref-about .container{
  max-width: 1100px;   /* biraz daraltıyoruz */
  margin: 0 auto;
}

.ref-about-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;          /* sağa daha fazla boşluk */
  align-items: center;
}

/* Sağ tarafı sağa yasla */
.ref-about-right{
  display: flex;
  justify-content: flex-end;
}

/* Kırmızı kart */
.ref-about-card{
  width: 240px;
  height: 160px;
  border-radius: 18px;
  background: #b0122c;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
}

/* Mobil */
@media (max-width: 1024px){
  .ref-about-grid{
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ref-about-right{
    justify-content: center;
  }
}
/* =========================
   PREMIUM PRODUCT CARDS
========================= */

.ref-products .ref-card{
  position:relative;
  background:linear-gradient(180deg, rgba(20,25,45,0.9), rgba(10,15,30,0.95));
  border-radius:22px;
  padding:30px;
  overflow:hidden;
  transition:all 0.4s ease;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:0 25px 60px rgba(0,0,0,0.45);
  backdrop-filter:blur(12px);
}

/* üst ışık efekti */
.ref-products .ref-card::before{
  content:"";
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 40%);
  opacity:0;
  transition:0.5s;
}

/* alt kırmızı premium glow */
.ref-products .ref-card::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#e11d2e,#ff4d5a);
  transform:scaleX(0);
  transform-origin:left;
  transition:0.4s;
}

/* hover */
.ref-products .ref-card:hover{
  transform:translateY(-12px);
  box-shadow:0 35px 80px rgba(0,0,0,0.7);
  border-color:rgba(225,29,46,0.4);
}

.ref-products .ref-card:hover::before{
  opacity:1;
}

.ref-products .ref-card:hover::after{
  transform:scaleX(1);
}

/* icon alanı */
.ref-products .ref-card .ref-icon{
  width:55px;
  height:55px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#e11d2e,#7a0f18);
  box-shadow:0 10px 25px rgba(225,29,46,0.4);
  margin-bottom:20px;
  font-size:22px;
}

/* başlık */
.ref-products .ref-card h3{
  color:#ffffff;
  font-size:20px;
  margin-bottom:12px;
  font-weight:600;
}

/* açıklama */
.ref-products .ref-card p{
  color:#9aa4c3;
  font-size:14px;
  line-height:1.6;
}

/* incele linki */
.ref-products .ref-card a{
  display:inline-block;
  margin-top:18px;
  color:#ffffff;
  font-weight:500;
  text-decoration:none;
  transition:0.3s;
}

.ref-products .ref-card a:hover{
  color:#e11d2e;
}
/* ===== MOBILE NAV FIX (MASAÜSTÜ BOZMAZ) ===== */

.ref-toggle{
  display:none;
  background:none;
  border:none;
  font-size:26px;
  cursor:pointer;
}
/* ===== MOBİL ZORLA ÇALIŞTIR ===== */
@media (max-width: 980px){

  .ref-toggle{
    display:flex !important;
  }

  .ref-menu{
    position:fixed !important;
    top:70px !important;
    left:0 !important;
    width:100% !important;
    background:#fff !important;
    flex-direction:column !important;
    padding:20px !important;
    gap:18px !important;
    display:none !important;
    z-index:9999 !important;
  }

  .ref-menu.active{
    display:flex !important;
  }

  .ref-actions{
    display:none !important;
  }
}
/* ===== MOBILE MENU FIX FINAL ===== */

@media (max-width:980px){

  .ref-nav{
    position:relative !important;
    overflow:visible !important;
  }

  .container.ref-nav-inner{
    overflow:visible !important;
  }

  .ref-menu{
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    width:100% !important;
    background:#ffffff !important;
    display:none !important;
    flex-direction:column !important;
    padding:25px !important;
    gap:20px !important;
    box-shadow:0 20px 60px rgba(0,0,0,.15) !important;
    z-index:9999 !important;
  }

  .ref-menu.active{
    display:flex !important;
  }

  .ref-actions{
    display:none !important;
  }

  .ref-toggle{
    display:flex !important;
    cursor:pointer;
  }
}
/* ===============================
   PRODUCT CARD IMAGE FIX
=============================== */

/* Grid daha dengeli */
.p-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
  gap:28px;
}

/* Kart */
.p-card{
  background:#0f1626;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 25px 60px rgba(0,0,0,.4);
  transition:all .35s ease;
  display:flex;
  flex-direction:column;
}

/* Hover premium */
.p-card:hover{
  transform:translateY(-8px);
  box-shadow:0 35px 80px rgba(0,0,0,.6);
  border-color:rgba(176,18,44,.5);
}

/* Görsel Alanı */
.p-img{
  width:100%;
  aspect-ratio: 4 / 3;   /* Sabit oran */
  object-fit:cover;
  display:block;
  transition:transform .6s ease;
}

/* Hover zoom */
.p-card:hover .p-img{
  transform:scale(1.07);
}

/* Body */
.p-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
  justify-content:space-between;
}

/* Başlık */
.p-title{
  font-size:18px;
  font-weight:700;
  color:#ffffff;
  margin-bottom:10px;
}

/* Açıklama */
.p-desc{
  font-size:14px;
  color:#9aa4c3;
  line-height:1.6;
  min-height:48px;
}

/* İncele */
.p-meta{
  margin-top:20px;
  font-weight:600;
  color:#e11d2e;
}
/* ===============================
   REF PRODUCT IMAGE FIX
=============================== */

.ref-product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:30px;
}

.ref-product-card{
  background:#0b1220;
  border-radius:22px;
  overflow:hidden;
  transition:.4s ease;
  box-shadow:0 25px 60px rgba(0,0,0,.5);
}

.ref-product-card:hover{
  transform:translateY(-10px);
  box-shadow:0 40px 90px rgba(0,0,0,.7);
}

/* IMAGE CONTAINER */
.ref-product-image{
  width:100%;
  height:260px;          /* Sabit yükseklik */
  overflow:hidden;
  border-radius:18px;
}

/* IMAGE */
.ref-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;      /* Taşmayı keser */
  display:block;
  transition:transform .6s ease;
}

.ref-product-card:hover .ref-product-image img{
  transform:scale(1.08);
}
/* ===============================
   IMAGE FULL VISIBLE MODE
=============================== */

.ref-product-image{
  width:100%;
  height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0b1220;   /* boş alan olursa koyu arka plan */
  padding:15px;
  border-radius:18px;
  overflow:hidden;
}

.ref-product-image img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;  /* KIRPMA YOK */
  transition:transform .4s ease;
}

.ref-product-card:hover .ref-product-image img{
  transform:scale(1.05);
}

/* ============================
   HARD RESET PRODUCT FIX
============================ */

/* Kart yüksekliği sıfırla */
.ref-product-card{
  height:auto !important;
  align-items:initial !important;
  justify-content:initial !important;
  background:#0f172a !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
}

/* Görsel alanı düzelt */
.ref-product-image{
  position:relative !important;
  height:220px !important;
  overflow:hidden !important;
  border-radius:20px 20px 0 0 !important;
}

/* Üstteki siyah blokları kaldır */
.ref-product-card::after,
.ref-product-card::before{
  display:none !important;
}

/* Body */
.ref-product-body{
  background:#0f172a !important;
  padding:24px !important;
}

/* Başlık */
.ref-product-title{
  font-size:18px !important;
  font-weight:700 !important;
  color:#fff !important;
}

/* Açıklama */
.ref-product-desc{
  color:#9ca3af !important;
  font-size:14px !important;
  line-height:1.6 !important;
}

/* İncele */
.ref-product-more{
  color:#e11d2e !important;
  font-weight:600 !important;
}
/* === DEALER GRID RESPONSIVE FINAL === */

.dealer-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Tablet */
@media (max-width: 1200px){
  .dealer-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil */
@media (max-width: 768px){
  .dealer-grid{
    grid-template-columns: 1fr;
  }
}
/* ===== FORCE DEALER GRID DESKTOP FIX ===== */

.dealer-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 40px !important;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

@media (max-width: 1200px){
  .dealer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px){
  .dealer-grid{
    grid-template-columns: 1fr !important;
  }
}
/* ===== DEALER GRID 3 COLUMN DESKTOP ===== */

.dealer-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 40px !important;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

@media (max-width: 1200px){
  .dealer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px){
  .dealer-grid{
    grid-template-columns: 1fr !important;
  }
}


