/*
Theme Name: Pasaj Bilişim
Theme URI: https://www.pasajbilisim.com
Author: Pasaj Bilişim
Description: İstanbul genelinde elektronik cihaz alımı yapan Pasaj Bilişim için özel olarak hazırlanmış, SEO odaklı kurumsal tema.
Version: 4.0.0
Text Domain: pasaj-bilisim
*/

/* ==========================================================================
   Pasaj Bilişim — Tasarım Sistemi (v7 · "Pasaj Gazetesi")

   Bu, önceki iki sürümden (sıcak/yuvarlak "makbuz" ve "asma etiket")
   KASITLI olarak kopan üçüncü bir konsept: eski gazete ilan sayfası
   dili. Renkli ikon rozetleri, koyu şerit bölümler, yuvarlak/bilet
   kartlar TAMAMEN kaldırıldı. Yerine:
     - neredeyse tek renkli (siyah/gazete kağıdı) bir palet + TEK bir
       vurgu rengi (ilan damgası kırmızısı),
     - tek bir serif yazı ailesi (PT Serif) + dar/büyük harf bir
       etiket yazı tipi (Archivo Narrow) — üç farklı font ailesi yok,
     - kart/ızgara yerine kural (rule) çizgileriyle ayrılmış çok
       sütunlu ilan listeleri,
     - "büyük harf düşüşü" (drop cap), nokta dolgulu (dot-leader)
       fiyat satırları, çift çizgili (double border) ilan kutusu.
   Özelleştirici'den seçilen renkler functions.php > pb_dynamic_color_css()
   tarafından AYNI değişken adlarıyla üzerine yazılır (bu yüzden ana
   değişken isimleri korunmuştur; kategori renk değişkenleri artık
   görsel olarak kullanılmasa da API uyumluluğu için tanımlı kalır).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Archivo+Narrow:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  /* Gazete kağıdı zemin, neredeyse saf mürekkep siyahı yazı */
  --paper: #F2EEE4;
  --paper-2: #E7E1D1;
  --ink: #1B1A17;
  --ink-muted: #5C574A;
  --line: #C8C0A8;
  --line-strong: #1B1A17;

  /* "Koyu bölge" artık ayrı bir renkli şerit değil — aynı mürekkep siyahı,
     sadece ters çevrilmiş (zemin/yazı yer değiştirir). */
  --smoke: #1B1A17;
  --smoke-dark: #121110;
  --petrol: var(--smoke);
  --petrol-dark: var(--ink);
  --on-dark: #F2EEE4;
  --on-dark-soft: rgba(242,238,228,0.66);

  /* TEK vurgu rengi — ilan damgası kırmızısı. Butonlar, fiyatlar, CTA. */
  --brass: #A32C1F;
  --brass-light: #C6432F;
  --on-accent: #F2EEE4;
  --on-accent-soft: rgba(242,238,228,0.6);

  --cash: #A32C1F;
  --white: #F8F5EC;

  /* Kategori renkleri artık görsel olarak kullanılmıyor (monokrom ilan
     listesi), ama Özelleştirici API'siyle uyum için değişkenler tanımlı. */
  --accent-blue: var(--ink);
  --accent-violet: var(--ink);
  --accent-orange: var(--ink);
  --accent-teal: var(--ink);
  --accent-pink: var(--ink);
  --accent-green: var(--ink);

  --font-display: 'PT Serif', Georgia, serif;
  --font-body: 'PT Serif', Georgia, serif;
  --font-mono: 'Archivo Narrow', sans-serif; /* etiket/kicker yazı tipi olarak kullanılır */

  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;
  --radius-full: 999px; /* yalnızca gerçekten yuvarlak, tek bir öğe (damga) için */

  --shadow-soft: none;
  --shadow-lift: 0 1px 0 var(--ink);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.66;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: 0;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-muted); font-style: italic; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

/* Buttons — dolgu yok, çizgi/altı çizili "ilan" bağlantısı. Bilerek düz köşe, sıfır radius. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 0;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--brass); color: var(--on-accent); border-color: var(--brass); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn-on-dark { background: transparent; border-color: var(--on-dark-soft); color: var(--on-dark); }
.btn-on-dark:hover { background: var(--on-dark); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 0.74rem; }

/* Header → Gazete başlığı (masthead) */
header.site { background: var(--paper); border-bottom: 3px double var(--ink); }
.header-row {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 24px 0; gap: 0; position: relative;
}
.logo {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 700; font-style: italic;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.logo .mark {
  width: 0; height: 0; /* masthead'de amblem yerine sadece yazı kullanılır */
  display: none;
}
nav.main-nav {
  width: 100%; border-top: 1px solid var(--ink); margin-top: 16px;
  padding: 12px 0; display: flex; align-items: center; justify-content: center;
}
nav.main-nav a {
  text-decoration: none; font-family: var(--font-mono); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 4px 0;
}
nav.main-nav a:hover { color: var(--brass); }
.nav-links { display: flex; gap: 0; align-items: center; }
.nav-links > a, .nav-links > .dropdown { padding: 0 28px; border-right: 1px solid var(--line-strong); }
.nav-links > .mobile-cta-block { border-right: none; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 18px; margin-top: 14px;
  background: var(--white); border: 1.5px solid var(--ink);
  min-width: 230px; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease; padding: 6px 0; z-index: 40;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a { display: block; padding: 9px 16px; font-size: 0.86rem; color: var(--ink); border-right: none; text-transform: none; letter-spacing: 0; font-weight: 600; }
.dropdown-menu a:hover { background: var(--paper-2); }
.header-cta {
  position: absolute; right: 24px; top: 22px;
  display: flex; align-items: center; gap: 14px;
}
.phone-cta { font-family: var(--font-mono); font-weight: 700; font-size: 0.84rem; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid var(--brass); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-shrink: 0; position: relative; z-index: 310;
  width: 34px; height: 34px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-cta-block { display: none; }
.mobile-phone-link { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; white-space: nowrap; }

/* Hero → Manşet bloğu (kart/görsel YOK, tipografi öncül) */
.hero { padding: 54px 0 20px; text-align: center; border-bottom: 1px solid var(--line-strong); }
.hero .dateline {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 18px;
}
.hero h1 { max-width: 880px; margin: 0 auto 22px; }
.hero .lede { max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-grid { display: block; } /* eski split-hero yerleşimi artık kullanılmıyor */
.hero-trust-line { display: none; } /* yerini .strap-line alıyor */

/* İlan kutusu — eski "receipt/etiket" kartının yerini alan, çift çerçeveli fiyat listesi */
.classified-wrap { padding: 34px 0 58px; display: flex; justify-content: center; }
.classified-box {
  border: 3px double var(--ink);
  padding: 26px 34px;
  max-width: 420px; width: 100%;
  background: var(--white);
  position: relative;
}
.classified-box .cb-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-muted);
  border-bottom: 1px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px;
}
.classified-row { display: flex; align-items: baseline; padding: 7px 0; font-size: 0.96rem; }
.classified-row .name { white-space: nowrap; }
.classified-row .fill { flex: 1; border-bottom: 1px dotted var(--ink-muted); margin: 0 6px; transform: translateY(-4px); }
.classified-row .amt { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.classified-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--ink); margin-top: 10px; padding-top: 14px;
}
.classified-total .label { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); }
.classified-total .value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--brass); }
.classified-mark {
  position: absolute; top: -14px; right: 22px;
  background: var(--brass); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 12px; transform: rotate(-2deg);
}
.classified-note { text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-muted); margin-top: 12px; }

/* Strap line — eski "trust-strip"in yerini alan tek satırlık gazete şeridi (ikon yok) */
.trust-strip { background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0; }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.trust-item { display: flex; align-items: center; gap: 0; padding: 0 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-item svg { display: none; } /* gazete şeridinde ikon kullanılmıyor, sadece tipografi */
.trust-item .t { font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.trust-item .d { display: none; } /* strap line'da açıklama yerine sadece başlık gösterilir */

/* Sections */
section { padding: 68px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--smoke-dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .lede { color: var(--on-dark-soft); }

/* Süreç → madde/fıkra listesi (kart yok, kural çizgileriyle ayrılmış) */
.steps { max-width: 760px; margin: 0 auto; }
.step {
  display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 1.6rem; color: var(--brass); width: 46px; flex-shrink: 0; line-height: 1;
  background: none; border-radius: 0;
}
.step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { font-size: 0.92rem; color: var(--ink-muted); margin: 0; }

/* Kategoriler → çok sütunlu ilan listesi (kart/ikon yok) */
.grid-3, .grid-2 {
  display: block; column-count: 2; column-gap: 44px;
  max-width: 900px; margin: 0 auto;
}
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.card {
  display: block; break-inside: avoid; -webkit-column-break-inside: avoid;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.card:hover .go { color: var(--ink); background: var(--brass); }
.card .icon, .icon-chip { display: none; } /* renkli ikon rozetleri kaldırıldı */
.card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.card p { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 8px; }
.card .go {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--on-accent); background: var(--ink); display: inline-block; padding: 4px 10px;
  transition: background 0.15s ease;
}
.card-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 12px; border: 1px solid var(--ink); filter: grayscale(0.35) contrast(1.05); }

/* Marka geçidi — sade metin şeridi, logo görselleri de gri tonlamalı */
.brand-marquee {
  overflow: hidden; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background: var(--paper);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brand-marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: pb-marquee 34s linear infinite; }
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
.brand-marquee-track span {
  font-family: var(--font-mono); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); white-space: nowrap;
}
.brand-marquee-track img { height: 26px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: 0.55; }
.brand-marquee-track img:hover { opacity: 1; }
@keyframes pb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-marquee-note { text-align: center; font-size: 0.72rem; color: var(--ink-muted); font-family: var(--font-mono); margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .brand-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
@media (max-width: 560px) { .brand-marquee-track { gap: 28px; } .brand-marquee-track span { font-size: 0.78rem; } }

.photo-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--ink); filter: grayscale(0.3); }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.product-hero-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--ink); filter: grayscale(0.3); }
@media (max-width: 900px) { .photo-grid, .product-hero-grid { grid-template-columns: 1fr; } }

/* İlçeler/markalar → satır içi metin dizini, çip/buton YOK */
.district-chip-grid { display: block; column-count: 3; column-gap: 30px; max-width: 900px; margin: 0 auto; }
.district-chip {
  display: block; break-inside: avoid; font-family: var(--font-body); font-size: 0.94rem;
  border: none; padding: 5px 0; text-decoration: none; color: var(--ink); background: none;
  border-bottom: 1px dotted var(--line);
}
.district-chip::before { content: "— "; color: var(--brass); }
.district-chip:hover { color: var(--brass); }

/* Karşılaştırma → düz iki sütun, kutu/renk YOK, sadece dikey kural */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 860px; margin: 0 auto; }
.compare > div { padding: 8px 34px; }
.compare .us { border-right: 1px solid var(--ink); }
.compare .us h3::after { content: " ✓"; color: var(--brass); }
.compare .them h3::after { content: " ✕"; color: var(--ink-muted); }
.compare h3 { font-style: italic; margin-bottom: 16px; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 8px 0; border-bottom: 1px dotted var(--line); font-size: 0.92rem; }
.compare .them li { color: var(--ink-muted); }

/* CTA → "SON İLAN" ilan kutusu, düz renk banner YOK */
.cta-banner { padding: 56px 0; }
.cta-banner .wrap { border: 3px double var(--ink); padding: 44px; text-align: center; max-width: 760px; }
.cta-banner h2 { color: var(--ink); }
.cta-banner .lede { color: var(--ink-muted); }
.cta-banner .btn-ghost { border-color: var(--ink); color: var(--ink); }

.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-muted); padding: 16px 0 0; text-align: center; }
.breadcrumb a { text-decoration: none; color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--brass); }

.page-hero { padding: 34px 0 48px; border-bottom: 1px solid var(--line-strong); text-align: center; }
.page-hero .eyebrow { text-align: center; }
.page-hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.page-hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }

.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 760px; margin: 0 auto; }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.faq-item p { font-size: 0.92rem; color: var(--ink-muted); margin: 0; }

/* Footer → gazete kolofonu, koyu renkli blok YOK */
footer.site { background: var(--paper); border-top: 3px double var(--ink); padding: 48px 0 24px; color: var(--ink); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line-strong);
}
.footer-grid h4 { color: var(--ink); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-muted); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--brass); }
.footer-logo { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: block; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--ink-muted); font-family: var(--font-mono); }

/* Mobil */
@media (max-width: 900px) {
  .trust-grid { flex-direction: column; align-items: center; }
  .trust-item { border-right: none; padding: 4px 0; }
  .grid-3, .grid-2, .district-chip-grid { column-count: 1; }
  .two-col-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare .us { border-right: none; border-bottom: 1px solid var(--ink); padding-bottom: 24px; margin-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .header-cta .phone-cta { display: none; }
  .nav-toggle { display: block; position: absolute; right: 24px; top: 22px; }
  nav.main-nav { border-top: none; margin-top: 14px; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--paper); padding: 96px 28px 28px; overflow-y: auto; z-index: 250;
  }
  .nav-links.is-open > a, .nav-links.is-open > .dropdown { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .nav-links.is-open a { font-size: 1rem; }
  .mobile-cta-block { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 16px; width: 100%; }
  .mobile-cta-block .btn { width: 100%; justify-content: center; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    background: transparent; padding: 6px 0 0 14px; margin-top: 6px; display: flex; flex-direction: column; gap: 2px;
  }
  .dropdown-menu a { padding: 6px 0; font-size: 0.9rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .classified-box { padding: 20px 22px; }
  .cta-banner .wrap { padding: 30px 22px; }
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
