/*
Theme Name: LazerKesimci Blog
Theme URI: https://lazerkesimci.com
Description: LazerKesimci için sıcak, samimi blog teması
Author: LazerKesimci
Version: 2.0
Text Domain: lazerkesimci-blog
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&family=Barlow:wght@400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --cream:   #FFFAE5;
  --cream-2: #FFF5CC;
  --white:   #FFFFFF;
  --ink:     #0D0D0D;
  --ink-2:   #2B2B2B;
  --muted:   #6B6556;
  --line:    #E8E0C8;
  --red:     #E11B1B;
  --red-d:   #B20F0F;
  --red-soft:#FDECEC;
  --radius:  12px;
  --radius-lg: 20px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-footer { margin-top: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--head); line-height: 1; }
p { margin: 0; }
ul { list-style: none; }

/* ─── NAV ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo__img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.nav-logo__name {
  font-family: var(--head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo__sep {
  font-family: var(--head);
  font-weight: 400;
  color: var(--muted);
  font-size: 18px;
}
.nav-logo__blog {
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
  text-transform: uppercase;
}
.nav-spacer { flex: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--ink-2);
  transition: background .15s;
}
.nav-links a:hover { background: var(--cream-2); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-family: var(--head) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--red-d) !important; transform: translateY(-1px); }

/* ─── HAMBURGER (mobil) ──────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 12px 24px 20px;
  gap: 0;
  background: var(--cream);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--head);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .nav-cta {
  margin-top: 8px;
  justify-content: center;
  border-radius: 8px;
  border-bottom: none !important;
}

/* ─── BLOG HERO ──────────────────────────────────────── */
.blog-hero {
  border-bottom: 2px solid var(--ink);
  padding: 60px 24px 52px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: '✦';
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-size: 200px;
  color: var(--red);
  opacity: .05;
  pointer-events: none;
  line-height: 1;
}
.blog-hero__inner { max-width: 1200px; margin: 0 auto; }
.blog-hero__tag {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.blog-hero__title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 96px);
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .95;
  margin-bottom: 18px;
}
.blog-hero__title em {
  font-style: italic;
  color: var(--red);
}
.blog-hero__sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

/* ─── KATEGORİ BAR ──────────────────────────────────── */
.cat-bar {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.cat-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.cat-bar a:hover { color: var(--ink); border-bottom-color: var(--line); }
.cat-bar a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.cat-count {
  background: var(--cream-2);
  color: var(--muted);
  font-size: 11px;
  font-family: var(--body);
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.site-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ─── BLOG GRID ──────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─── POST KARTI ─────────────────────────────────────── */
.post-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink);
}

.post-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
  border-bottom: 2px solid var(--ink);
  flex-shrink: 0;
}
.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#0f172a,#334155);
  transition: opacity .2s;
}
.post-card__no-img:hover { opacity: .88; }
.single-featured-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: linear-gradient(135deg,#0f172a,#334155);
}

.post-card__cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}

.post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-card__date { font-size: 12px; color: var(--muted); }
.post-card__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.post-card__read-time { font-size: 12px; color: var(--muted); }

.post-card__title {
  font-family: var(--head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  transition: color .15s;
}
.post-card:hover .post-card__title { color: var(--red); }

.post-card__excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--body);
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 7px 14px;
  border-radius: 8px;
  align-self: flex-start;
  transition: all .15s;
  margin-top: auto;
}
.post-card__link:hover { background: var(--ink); color: var(--cream); }
.post-card__link svg { transition: transform .15s; }
.post-card:hover .post-card__link svg { transform: translateX(3px); }

/* ─── FEATURED KART (İLK) ───────────────────────────── */
.post-card--featured {
  grid-column: span 2;
  flex-direction: row;
}
.post-card--featured .post-card__img {
  width: 48%;
  flex-shrink: 0;
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 2px solid var(--ink);
}
.post-card--featured .post-card__title { font-size: 30px; }
.post-card--featured .post-card__excerpt { -webkit-line-clamp: 4; }

/* ─── PAGİNASYON ─────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  transition: all .15s;
}
.pagination a:hover { background: var(--ink); color: var(--cream); }
.pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* ─── TEKİL YAZI ─────────────────────────────────────── */
.single-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 24px 96px;
}
.single-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.single-cat {
  background: var(--red);
  color: var(--white);
  font-family: var(--head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}
.single-date, .single-read-time { font-size: 13px; color: var(--muted); }
.single-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(34px, 5.5vw, 58px);
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .97;
  margin-bottom: 24px;
}
.single-featured-img {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/9;
}
.single-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* İçerik */
.entry-content { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.entry-content h2 {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 36px);
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 44px 0 14px;
  color: var(--ink);
}
.entry-content h3 {
  font-family: var(--head);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  margin: 32px 0 10px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--red); text-decoration: underline; text-decoration-color: var(--red-soft); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--red); }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: var(--red-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
}
.entry-content img { border-radius: var(--radius); margin: 28px 0; width: 100%; border: 2px solid var(--line); }
.entry-content code { font-family: monospace; font-size: 14px; background: var(--cream-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; }
.entry-content pre { background: var(--ink); color: #e8e8e8; padding: 20px 24px; border-radius: var(--radius); overflow-x: auto; font-family: monospace; font-size: 14px; margin: 24px 0; }
.entry-content pre code { background: none; border: none; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.entry-content th, .entry-content td { padding: 11px 14px; border: 1px solid var(--line); font-size: 15px; }
.entry-content th { background: var(--cream-2); font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* Yazar kutusu */
.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  margin-top: 52px;
}
.author-avatar img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
.author-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-weight: 900;
  font-size: 24px;
  flex-shrink: 0;
}
.author-name { font-family: var(--head); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.author-bio { font-size: 14px; color: var(--muted); }

/* İlgili yazılar */
.related-posts { margin-top: 64px; }
.section-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before { content: ''; display: block; width: 4px; height: 28px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ─── ARŞİV BAŞLIĞI ─────────────────────────────────── */
.archive-header { background: var(--cream); border-bottom: 2px solid var(--ink); padding: 52px 24px 40px; }
.archive-header__inner { max-width: 1200px; margin: 0 auto; }
.archive-header__label {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.archive-header__title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .95;
  margin-bottom: 10px;
}
.archive-header__title span { color: var(--red); }
.archive-header__count { font-size: 14px; color: var(--muted); }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  border-top: 2px solid var(--ink);
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand__logo img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.footer-brand__name {
  font-family: var(--head);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -.01em;
}
.footer-brand__tagline { font-size: 14px; line-height: 1.65; max-width: 280px; margin-bottom: 18px; }
.footer-brand__tagline strong { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-size: 14px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 7px; transition: color .15s; }
.footer-contact a:hover { color: var(--white); }
.footer-col__title {
  font-family: var(--head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col__list { display: flex; flex-direction: column; gap: 8px; }
.footer-col__list a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col__list a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 24px;
}
.footer-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background .15s;
}
.footer-cta:hover { background: var(--red-d); color: var(--white); }

/* ─── BOŞ DURUM ──────────────────────────────────────── */
.no-posts { text-align: center; padding: 80px 24px; }
.no-posts__icon { font-size: 60px; margin-bottom: 16px; }
.no-posts__title { font-family: var(--head); font-weight: 900; font-size: 32px; text-transform: uppercase; margin-bottom: 8px; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { grid-column: span 2; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-column: span 1; flex-direction: column; }
  .post-card--featured .post-card__img { width: 100%; aspect-ratio: 16/9; border-right: none; border-bottom: 2px solid var(--ink); }
  .related-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .single-title { font-size: 36px; }
  .blog-hero__title { font-size: 48px; }
}
@media (max-width: 480px) {
  .blog-hero { padding: 40px 20px 36px; }
  .blog-hero__title { font-size: 38px; }
  .site-wrap { padding: 32px 16px 64px; }
  .single-wrap { padding: 36px 16px 64px; }
  .post-card--featured .post-card__title { font-size: 24px; }
}
