/* =========================================================
   TERCIH ROBOTU • ALT BÖLÜMLER (TEMİZ CSS)
   - Üst bar / nav / hero / sponsor / sosyal ikon vb. çıkarıldı
   - Alt içerik + kartlar + sidebar reklam + footer + responsive kaldı
   ========================================================= */

/* ---------- BASE ---------- */
:root{
  --brand:#0A2540;
  --brand2:#123B6B;
  --accent:#1E3A8A;
  --ink:#0b1220;
  --muted:#475569;
  --bg:#ffffff;
  --section:#F3F4F6;
  --card:#ffffff;
  --line:rgba(10,37,64,.12);
  --shadow: 0 14px 40px rgba(15,23,42,.10);
  --shadow2: 0 8px 22px rgba(15,23,42,.08);
  --radius: 18px;
  --radius2: 24px;
  --container: 1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x:hidden;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--ink);
  background: var(--bg);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}

.container{
  width: min(var(--container), 100% - 32px);
  margin: 0 auto;
}

/* ---------- LAYOUT (alt bölümlerde de kullanılıyor) ---------- */
main.container1{padding: 26px 0 34px}
.layout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items:start;
}
.maincol{min-width:0}
.sidebar{position: sticky; top: 132px}

/* ---------- BUTTON (alt CTA için) ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: .2px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-2px)}
.btn:active{transform: translateY(0px) scale(.99)}
.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 34px rgba(10,37,64,.18);
}
.btn-secondary{
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border-color: rgba(11,42,91,.18);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}

/* ---------- CARDS (alt içerik blokları) ---------- */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-5px);
  border-color: rgba(11,42,91,.22);
  box-shadow: 0 18px 44px rgba(15,23,42,.14);
}
.card h3{margin:0 0 6px; font-size: 15.5px;}
.card p{margin:0; color: var(--muted); line-height: 1.6; font-size: 14px;}

/* ---------- ARTICLE / CONTENT (alt makale alanı) ---------- */
.content{
  margin-top: 16px;
  padding: 22px;
  border-radius: var(--radius2);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.content h2{margin: 0 0 10px; font-size: 24px;}
.content h3{margin: 18px 0 8px; font-size: 18px;}
.content p, .content li{
  color: rgba(15,23,42,.86);
  line-height: 1.75;
  font-size: 15px;
}
.content ul{padding-left: 18px}
.content strong{color: var(--ink)}

.toc{
  margin: 14px 0 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,42,91,.14);
  background: linear-gradient(135deg, rgba(11,42,91,.05), rgba(11,42,91,.04));
}
.toc strong{display:block; margin-bottom: 8px}
.toc a{
  display:block;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(15,23,42,.86);
  font-weight: 800;
  border: 1px solid transparent;
  transition: all .18s ease;
}
.toc a:hover{
  background: rgba(11,42,91,.06);
  border-color: rgba(11,42,91,.18);
}

.note{
  margin: 14px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(11,42,91,.18);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  position:relative;
}
.note::before{
  content:"💡";
  position:absolute;
  left: 12px;
  top: 10px;
  font-size: 18px;
}
.note strong{margin-left: 26px; display:inline-block}

.faq details{
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.80);
  padding: 12px;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  margin: 10px 0;
}
.faq summary{cursor:pointer; font-weight: 900;}
.faq p{margin: 10px 0 0; color: var(--muted)}

.cta-bottom{margin-top: 18px; text-align:center;}

/* ---------- SIDEBAR ADS (alt sayfada görünen) ---------- */
.ad-box{
  position:relative;
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow2);
}
.ad-slot{
  padding: 16px 12px;
  font-weight: 900;
  text-align:center;
  color: rgba(15,23,42,.50);
  min-height: 250px;
  display:grid;
  place-items:center;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(245,246,248,.96));
}
.ad-slot.tall{min-height: 600px}
.ad-slot.small{min-height: 120px}

.sidebar .ad-box + .ad-box{margin-top: 14px}

/* ---------- FOOTER ---------- */
footer{
  margin-top: 26px;
  padding: 22px 0 26px;
  background: var(--section);
  border-top: 1px solid var(--line);
}
.footer1-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  align-items:center;
  justify-content:center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.footer1-links a{
  color: rgba(10,37,64,.86);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer1-links a:hover{
  background: rgba(255,255,255,.80);
  border-color: var(--line);
}
.footer1-meta{padding-top: 14px; text-align:center;}
.footer1-brand{font-weight: 900; color: rgba(10,37,64,.88); margin-bottom: 6px;}
.copyright1{color: rgba(11,18,32,.60); font-weight: 800; font-size: 12px;}

/* ---------- FLOATING TO TOP ---------- */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(11,42,91,.22);
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 34px rgba(15,23,42,.14);
  display:none;
  cursor:pointer;
  font-size: 18px;
}
.to-top.show{display:grid; place-items:center}
.to-top:hover{transform: translateY(-2px)}
.to-top:active{transform: translateY(0)}

/* ---------- REVEAL (alt bölümlerde kullanılıyorsa) ---------- */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .layout{grid-template-columns: 1fr}
  .sidebar{position: static}
}
@media (max-width: 820px){
  .cards{grid-template-columns: 1fr}
}
@media (max-width: 420px){
  .btn{width:100%}
}

/* ---------- REDUCE MOTION ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn, .card, .toc a, .reveal{transition:none !important}
}
