:root{
  --bg:#f4f4f4;
  --paper:#ffffff;
  --text:#111;
  --muted:#666;
  --line:#e6e6e6;
  --dark:#222;
  --accent:#d83a2f;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap{
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-top{padding:22px 0 10px}

.brand-name{font-weight:800;letter-spacing:.5px;font-size:22px}
.crumb{margin-top:8px;font-size:12px;color:var(--muted)}
.crumb a{color:var(--accent);text-decoration:none;font-weight:700}

.nav{background:var(--dark)}
.nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
}
.nav-list a{
  display:block;
  padding:12px 16px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  border-right:1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
.nav-list a:hover{background:#111}
.nav-list a.active{background:#111}

.layout{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap:22px;
  padding:22px 0;
}

.content{
  background:var(--paper);
  border:1px solid var(--line);
  padding:22px;
}

.sidebar{display:flex;flex-direction:column;gap:18px}

.page-title{margin:0 0 12px;font-size:28px;font-weight:800}

.logo-row{display:flex;align-items:center;gap:14px;margin:8px 0 14px}
.site-logo{height:46px;width:auto}
.logo-fallback{font-size:34px;font-weight:900;letter-spacing:.2px}

/* Eğer banner'ı <a class="cta-banner cta-link"> yaptınsa */
.cta-link{ text-decoration:none; cursor:pointer; display:flex; }
.cta-link:hover{ opacity:.92; }

.cta-banner{
  background:#0f0f0f;
  color:#fff;
  border-radius:10px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:6px 0 14px;
}
.cta-left{font-weight:900;font-size:20px;color:#ff4b3a}
.cta-mid{font-weight:700;opacity:.95}

.cta-button{
  display:inline-block;
  border:2px solid var(--accent);
  color:var(--accent);
  font-weight:900;
  padding:12px 14px;
  text-decoration:none;
  border-radius:6px;
  margin:6px 0 16px;
}
.cta-button:hover{background:var(--accent);color:#fff}

.content h2{margin:22px 0 8px;font-size:22px}
.content p{margin:0 0 12px;color:#222}

.photo-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin:14px 0 18px
}
.photo{
  margin:0;
  border:1px solid var(--line);
  background:#fff;
  padding:10px;
}
.photo img{
  width: 100%;
  height: auto;
  aspect-ratio: 764 / 466;   /* 764x466 oranını korur */
  display:block;
  object-fit:cover;
  background:#ddd;
  max-width:100%;
  border-radius:6px;
}
.photo figcaption{font-size:12px;color:var(--muted);margin-top:8px}

.box{background:var(--paper);border:1px solid var(--line);padding:14px}
.box-title{
  font-weight:900;
  font-size:13px;
  letter-spacing:.4px;
  padding-bottom:10px;
  border-bottom:2px solid var(--accent);
  margin-bottom:10px;
}
.list{list-style:none;margin:0;padding:0}
.list li{border-bottom:1px dotted var(--line)}
.list a{display:block;padding:9px 2px;text-decoration:none;color:#222;font-size:13px}
.list a:hover{color:var(--accent)}

.tags{display:flex;flex-direction:column;gap:8px}
.tag{
  background:#1f1f1f;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:11px;
  padding:8px 10px;
  border-radius:2px;
}
.tag:hover{background:#000}

.footer{background:#222;color:#eee;margin-top:18px}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 0;
  font-size:13px;
  flex-wrap: wrap;
}
.footer-mini{opacity:.85}

.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:900;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .layout{grid-template-columns:1fr !important}
  .sidebar{order:2}
  .content{order:1}
}

/* Telefonlarda daha ferah, menü/CTA düzeltmeleri */
@media (max-width: 720px){
  .header-top{padding:16px 0 8px}
  .brand-name{font-size:20px}
  .wrap{width: min(1200px, 94vw)}
  .content{padding:16px}
  .page-title{font-size:24px}

  .nav-list{justify-content:center}
  .nav-list a{
    padding:12px 12px;
    font-size:12px;
  }

  .cta-banner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .cta-mid{
    width:100%;
    text-align:left;
  }

  .cta-button{
    width:100%;
    text-align:center;
    box-sizing:border-box;
  }

  .footer-inner{
    justify-content:center;
    text-align:center;
  }
}
