/* =====================================================================
   Çankaya PC Market — "Editoryal" tema (epicvow tarzı)
   Bu dosya yalnızca müşteri sayfalarında, style.css'ten SONRA yüklenir.
   Admin paneli etkilenmez. Geri almak için <link> satırını kaldırmak yeterli.
   ===================================================================== */

:root {
  --background: #0b0c0b;
  --panel: #151715;
  --card: #151715;
  --surface-elevated: #1d201d;
  --border: #353834;
  --border-strong: #5a5e57;
  --silver: #aaa99f;
  --silver-light: #f2efe8;
  --text: #f2efe8;
  --muted: #aaa99f;
  --accent: #b4c7a5;
  --accent-foreground: #0b0c0b;
  --green: #9bc58d;
  --red: #e09288;
  --radius: 0px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 62px);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
html { background: var(--background); }
body {
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  counter-reset: bolum;
}
::selection { background: var(--accent); color: var(--accent-foreground); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.05em; line-height: 1; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}
p { color: var(--muted); }

.container { max-width: 1680px; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Küçük, harf aralıklı etiket stili (tekrar kullanılan) */
.tema-etiket,
.section-head > p,
.section-head > div > p,
.filter-panel h4,
.footer-grid h4,
.spec-table td:first-child {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ---------- Üst menü ---------- */
.site-header {
  background: rgba(11, 12, 11, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 53px;
}
.site-header .container::after {
  content: "ÇANKAYA / ANKARA";
  justify-self: end;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}
.brand { gap: 10px; justify-self: start; }
.brand img { height: 26px; }
.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-text span {
  display: inline;
  margin-left: 0.28em;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.main-nav { gap: 28px; }
.main-nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  padding: 15px 0 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--text); border-bottom-color: var(--border-strong); }
.main-nav a.active { color: var(--text); border-bottom-color: var(--text); }

@media (max-width: 860px) {
  .site-header .container { grid-template-columns: 1fr auto; }
  .site-header .container::after { font-size: 10px; }
}

/* Mobil hızlı menü */
.mobile-quick-nav {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 10px var(--gutter);
  gap: 8px;
}
.mobile-quick-nav a {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  font-weight: 400;
  font-size: 13px;
  padding: 9px 14px;
}
.mobile-quick-nav .nav-icon { color: var(--text); width: 16px; height: 16px; }
.mobile-quick-nav a.active {
  outline: none;
  background: var(--text);
  color: var(--background);
  border-color: var(--text);
}
.mobile-quick-nav a.active .nav-icon { color: var(--background); }

/* ---------- Butonlar ---------- */
.btn {
  border-radius: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 18px;
  gap: 28px;
  justify-content: space-between;
  box-shadow: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn::after { content: "↗"; font-size: 12px; line-height: 1; }
.btn-danger::after { content: none; }
.btn-metallic {
  background: var(--text);
  color: var(--background);
  border: 1px solid var(--text);
  box-shadow: none;
  text-shadow: none;
}
.btn-metallic:hover {
  filter: none;
  transform: none;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(242, 239, 232, 0.35);
}
.btn-outline:hover { background: transparent; border-color: var(--text); }

/* "Tümünü gör" gibi küçük butonlar: altı çizili metin bağlantısı */
.btn-sm,
.btn.btn-outline.btn-sm {
  padding: 4px 0;
  gap: 8px;
  font-size: 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--text);
}
.btn-sm:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- Ana sayfa girişi (hero) ---------- */
.hero {
  text-align: left;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.hero img.hero-icon { display: none; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  align-items: end;
}
.hero .container > * { grid-column: 1 / -1; }
.hero .tema-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(36px, 6vw, 64px);
  color: var(--text);
}
.hero .tema-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.9rem, 8.6vw, 8.25rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.93;
  margin: 0 0 clamp(36px, 5vw, 64px);
}
.hero h1 em { letter-spacing: -0.055em; padding-right: 0.06em; }
.hero p.lead {
  grid-column: 2;
  max-width: 440px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.hero .actions {
  grid-column: 2;
  justify-content: flex-start;
  gap: 10px;
}

/* Hero altındaki ince bilgi şeridi */
.tema-serit { border-bottom: 1px solid var(--border); }
.tema-serit .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.tema-serit span { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.tema-serit span:nth-child(2) { font-size: 13px; letter-spacing: 0; text-transform: none; }

@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero p.lead, .hero .actions { grid-column: 1; }
  .hero .actions .btn { flex: 1 1 100%; }
  .tema-serit .container { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Bölümler ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--border); }
.site-header ~ .section:first-of-type { padding-top: clamp(48px, 6vw, 88px); }

.section-head {
  counter-increment: bolum;
  align-items: flex-end;
  gap: 20px 40px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head > div { display: flex; flex-direction: column; }
.section-head > div > p,
.section-head > p {
  order: -1;
  margin: 0 0 22px;
  color: var(--text);
}
.section-head > p { width: 100%; }
.hero ~ .section .section-head > div > p::before,
.hero ~ .section .section-head > p::before {
  content: counter(bolum, decimal-leading-zero) " / ";
}
.section-head h2 { margin: 0; }
.section-head form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  font-size: 14px;
}
.section-head form input:focus { outline: none; border-bottom-color: var(--text); }

/* ---------- Ürün / blog kartları ---------- */
.grid {
  gap: clamp(36px, 4vw, 56px) 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid:has(.price-row) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-layout .grid:has(.price-row) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  .catalog-layout .grid:has(.price-row) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: none;
}
.card:hover { transform: none; box-shadow: none; border-color: transparent; }
.card .thumb { aspect-ratio: 4 / 3; background: var(--panel); }
.card .thumb img { transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.035); }
.card .body {
  padding: 14px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 18px;
  align-items: start;
}
.card .cat-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  border: 0;
  border-radius: 0;
  padding: 4px 7px;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.card h3 {
  grid-column: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  margin: 0 0 4px;
  min-height: 0;
}
.card .specs { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 0; }
.card .body > p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); line-height: 1.6; }
.card .price-row {
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.price-row { gap: 10px; }
.price-new { font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; letter-spacing: -0.01em; }
.price-old { font-size: 12px; color: var(--muted); }
.badge-discount {
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 0;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* ---------- Hizmetler ---------- */
.services-grid {
  gap: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  margin-left: -29px;
  clip-path: inset(0 0 0 29px);
  counter-reset: hizmet;
}
.service-card {
  counter-increment: hizmet;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 28px 40px;
}
.service-card:hover { transform: none; border-color: var(--border); }
.service-icon { font-size: 0; margin-bottom: 36px; line-height: 1; }
.service-icon::before {
  content: counter(hizmet, decimal-leading-zero);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.service-card h3 { font-size: 20px; letter-spacing: -0.035em; margin-bottom: 10px; }
.service-card p { font-size: 14px; line-height: 1.65; }

/* ---------- Ürünler sayfası filtre paneli ---------- */
.catalog-layout { gap: clamp(28px, 4vw, 56px); grid-template-columns: 200px 1fr; }
.filter-panel {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0 0;
  top: 76px;
}
.filter-panel h4 { color: var(--text); margin: 26px 0 10px; }
.filter-chip {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s;
}
.filter-chip:hover { color: var(--text); font-weight: 400; }
.filter-chip.active { color: var(--text); font-weight: 400; }
.filter-chip.active::before { content: "— "; color: var(--accent); }
.filter-panel h4:first-child { margin-top: 0; }
@media (max-width: 800px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
  .filter-panel h4 { width: 100%; margin: 0 0 6px; }
  .filter-chip { display: inline-block; width: auto; }
}
@media (max-width: 600px) {
  .site-header .container { grid-template-columns: 1fr; }
  .site-header .container::after { display: none; }
}

/* ---------- Form alanları ---------- */
input[type="text"], input[type="number"], input[type="password"], input[type="email"], input[type="search"], input[type="tel"], textarea, select {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: var(--sans);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--text); }
::placeholder { color: #6f716a; }

/* ---------- Ürün detay sayfası ---------- */
.pd-layout { gap: clamp(32px, 5vw, 80px); }
.pd-main-img { border: 0; border-radius: 0; background: var(--panel); }
.pd-thumbs { gap: 6px; }
.pd-thumbs img {
  border-radius: 0;
  border: 1px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.pd-thumbs img:hover { opacity: 1; border-color: var(--text); }
.pd-video { border: 0; border-radius: 0; }
.pd-layout h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem) !important;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-top: 18px !important;
}
.pd-layout .cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border: 0;
  padding: 0;
}
.pd-layout .cat-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 9px 2px 0;
  vertical-align: middle;
}
.pd-layout .price-new { font-size: 30px !important; font-weight: 400; letter-spacing: -0.04em; }
.pd-layout .price-old { font-size: 15px; }
.pd-layout > div > h3 {
  margin-top: 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.pd-layout .btn-metallic + .btn-metallic {
  background: transparent;
  color: var(--text);
  border-color: rgba(242, 239, 232, 0.35);
}
.pd-layout .btn-metallic + .btn-metallic:hover { border-color: var(--text); background: transparent; color: var(--text); }
.spec-table td { border-bottom: 1px solid var(--border) !important; font-size: 14px; padding: 12px 0 !important; vertical-align: baseline; }
.spec-table td:first-child { color: var(--muted) !important; padding-right: 16px !important; }
.urun-aciklama { color: #cfccc4 !important; font-size: 15px; line-height: 1.75 !important; }
.urun-aciklama strong { color: var(--text); font-weight: 600; }
.urun-aciklama h2, .urun-aciklama h3, .urun-aciklama h4 { font-size: 18px; margin: 28px 0 10px; }
.urun-aciklama ul { padding-left: 18px; }
.urun-aciklama li { margin-bottom: 4px; }
.urun-aciklama li::marker { color: var(--accent); }

/* ---------- Blog yazısı ---------- */
.blog-content { max-width: 760px; color: #d9d6cf; font-size: 17px; line-height: 1.8; }
.blog-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 8px 0 14px; }
.blog-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--text); margin-top: 2em; }
.blog-content h3 { color: var(--text); margin-top: 1.8em; }
.blog-content img { border-radius: 0 !important; }
.blog-content a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.blog-content li::marker { color: var(--accent); }

/* ---------- Alt bilgi ---------- */
.site-footer {
  margin-top: 0;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--text); margin-bottom: 18px; }
.footer-grid > div:first-child h4 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}
.footer-grid > div:first-child p { max-width: 380px; }
.footer-grid a { color: var(--text); font-size: 13px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { font-size: 13px; color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer-bottom::after { content: "TÜRKİYE / TR"; letter-spacing: 0.14em; color: var(--muted); }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Sosyal medya */
.social-link {
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.social-link:hover {
  transform: none;
  background: var(--text);
  border-color: var(--text);
  color: var(--background);
}

/* İletişim sayfasındaki satır içi stillerin uyumu */
.section .container > h2 + p { color: var(--muted); }
.spec-table a { color: var(--text) !important; text-underline-offset: 3px; }

/* Hareket hassasiyeti */
@media (prefers-reduced-motion: reduce) {
  .card .thumb img, .btn, .main-nav a { transition: none; }
}


/* ---------- Logo ---------- */
.brand img { height: 40px; width: auto; }
.site-header .container { min-height: 62px; }
.hero .container { position: relative; }
.hero img.hero-icon.tema-hero-logo {
  display: block;
  grid-column: 1 / -1;
  width: auto;
  height: 120px;
  margin: 0 0 32px;
  opacity: 1;
}
@media (min-width: 900px) {
  .hero img.hero-icon.tema-hero-logo {
    position: absolute;
    top: 0;
    right: var(--gutter);
    height: clamp(200px, 19vw, 300px);
    margin: 0;
  }
}
.footer-grid .tema-footer-logo { display: block; margin: 0 0 20px; }
.footer-grid .tema-footer-logo + h4 { display: none; }

/* Blog yazılarındaki tablolar (karşılaştırma tabloları) */
.blog-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; line-height: 1.55; }
.blog-content th, .blog-content td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.blog-content th { color: var(--text); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-bottom-color: var(--muted); }
.blog-content td:first-child { color: var(--text); }
@media (max-width: 700px) { .blog-content table { display: block; overflow-x: auto; } .blog-content th, .blog-content td { min-width: 120px; } }

/* ---------- SEO düzenlemeleri: sayfa başlıkları, breadcrumb, kategori, Biz Kimiz, footer ---------- */
.section-head h1,
.sayfa-h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.05em; line-height: 1; }
.section-head h1 { margin: 0; }
.sayfa-h1 { margin: 0.83em 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 22px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb-ayrac { opacity: 0.5; }
.blog-content .breadcrumb a { text-decoration: none; color: var(--muted); }
.kategori-giris { max-width: 760px; margin: -12px 0 clamp(28px, 3vw, 40px); font-size: 16px; line-height: 1.7; }
.pd-alt-baslik { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.04; margin: 28px 0 12px; }
.biz-kimiz { max-width: 820px; }
.biz-kimiz p { font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
.biz-kimiz .actions { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.blog-content a.btn { text-decoration: none; }
.blog-content a.btn-metallic { color: var(--background); }
.blog-content a.btn-outline { color: var(--text); }
.footer-grid.footer-grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 1000px) { .footer-grid.footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid.footer-grid-4 { grid-template-columns: 1fr; } }
