/*
Theme Name: 2el Alanlar
Theme URI: https://2el-alanlar.com
Author: 2el-alanlar.com
Description: Ikinci el elektronik alim hizmeti icin temiz, guven veren, fotograf agirlikli WordPress temasi.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iea2
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --paper:   #FAFAF7;
  --paper-2: #F1F0E9;
  --ink:     #14181F;
  --ink-dim: #5B6270;
  --emerald: #0F9D6D;
  --emerald-dark: #0B7A55;
  --amber:   #FF7A29;
  --dark:    #0E1B17;
  --dark-2:  #142620;
  --line:    #E6E4DA;
  --font-display:'Sora', sans-serif;
  --font-body:'Inter', sans-serif;
  --radius: 16px;
  --container:1200px;
  --shadow: 0 20px 45px -20px rgba(14,27,23,.25);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--paper); color:var(--ink); font-family:var(--font-body); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:800; line-height:1.12; }
p{ margin:0; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section--tight{ padding:52px 0; }
@media (max-width:720px){ .section{ padding:52px 0; } .section--tight{ padding:34px 0; } }
:focus-visible{ outline:3px solid var(--emerald); outline-offset:3px; }

.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--emerald-dark); }
.eyebrow::before{ content:""; width:20px; height:2px; background:var(--amber); display:inline-block; }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:60; background:rgba(250,250,247,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.topbar{ background:var(--dark); color:#fff; font-size:12.5px; padding:7px 0; text-align:center; }
.topbar a{ color:#BFF0DC; font-weight:700; }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--ink); }
.brand .brand-mark{ width:38px; height:38px; border-radius:10px; background:var(--emerald); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:800; }
.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{ font-weight:600; font-size:14.5px; color:var(--ink-dim); }
.nav-links a:hover{ color:var(--emerald-dark); }
.nav-cta{ display:inline-flex; align-items:center; gap:8px; background:var(--amber); color:#fff; font-weight:800; font-size:13.5px; padding:12px 20px; border-radius:999px; box-shadow:0 10px 24px -10px rgba(255,122,41,.6); transition:transform .15s; }
.nav-cta:hover{ transform:translateY(-2px); }
.nav-toggle{ display:none; background:none; border:0; font-size:24px; cursor:pointer; color:var(--ink); }
@media (max-width:980px){ .nav-links{ display:none; } .nav-toggle{ display:block; } }

/* ---------- Buton ---------- */
.btn{ display:inline-flex; align-items:center; gap:10px; font-weight:800; font-size:14.5px; padding:15px 26px; border-radius:999px; border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease; }
.btn-primary{ background:var(--emerald); color:#fff; box-shadow:0 14px 28px -12px rgba(15,157,109,.55); }
.btn-primary:hover{ transform:translateY(-2px); background:var(--emerald-dark); }
.btn-outline{ border-color:var(--ink); color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; }

/* ---------- Hero ---------- */
.hero{ padding:70px 0 90px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center; }
.hero h1{ font-size:clamp(32px,5vw,54px); margin:16px 0 18px; }
.hero h1 em{ font-style:normal; color:var(--emerald); }
.hero p.lede{ font-size:17px; color:var(--ink-dim); max-width:50ch; margin-bottom:28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-photo{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.hero-photo img{ width:100%; height:420px; object-fit:cover; }
.seal{
  position:absolute; top:20px; right:20px; width:96px; height:96px; border-radius:50%;
  background:var(--emerald); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:800; font-size:12px; text-align:center; line-height:1.25;
  box-shadow:0 12px 26px -8px rgba(15,157,109,.6); transform:rotate(8deg); border:3px solid #fff;
}

/* ---------- Güven şeridi ---------- */
.trust-strip{ display:flex; flex-wrap:wrap; gap:14px 30px; align-items:center; justify-content:center; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-strip .item{ display:flex; align-items:center; gap:9px; font-weight:600; font-size:13.5px; color:var(--ink-dim); }
.trust-strip .dot{ width:8px; height:8px; border-radius:50%; background:var(--emerald); }

/* ---------- Kategori kartları ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.cat-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:transform .18s ease, box-shadow .18s ease; }
.cat-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.cat-card .thumb{ height:130px; overflow:hidden; }
.cat-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.cat-card .body{ padding:16px; }
.cat-card h3{ font-size:15.5px; margin-bottom:6px; }
.cat-card .cat-link{ font-size:12.5px; font-weight:700; color:var(--emerald-dark); }
@media (max-width:980px){ .cat-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:620px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Alt ürün kartları (kategori sayfaları) ---------- */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.product-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.product-card .thumb{ height:220px; overflow:hidden; position:relative; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.product-card .body{ padding:22px; }
.product-card h3{ font-size:19px; margin-bottom:10px; }
.product-card p{ font-size:14.5px; color:var(--ink-dim); margin-bottom:16px; line-height:1.6; }
.product-card .phone-link{ font-weight:800; color:var(--emerald-dark); font-size:14.5px; }
@media (max-width:900px){ .product-grid{ grid-template-columns:1fr; } }

/* ---------- Süreç ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.step .num{ width:36px; height:36px; border-radius:50%; background:var(--paper-2); color:var(--emerald-dark); font-family:var(--font-display); font-weight:800; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.step h4{ font-size:17px; margin-bottom:8px; }
.step p{ font-size:14px; color:var(--ink-dim); line-height:1.6; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr; } }

/* ---------- CTA ---------- */
.cta-band{ background:var(--dark); color:#fff; text-align:center; padding:70px 0; border-radius:24px; margin:0 24px; }
.cta-band h2{ color:#fff; font-size:clamp(26px,4vw,40px); margin-bottom:14px; }
.cta-band p{ color:#B9C4BF; margin-bottom:26px; }

/* ---------- İletişim ---------- */
.contact-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow); }
.contact-card .row{ display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); font-size:15px; }
.contact-card .row:last-child{ border-bottom:none; }
.contact-card .row a{ color:var(--emerald-dark); font-weight:700; }
.hours-table{ width:100%; border-collapse:collapse; font-size:14px; }
.hours-table td{ padding:8px 0; border-bottom:1px solid var(--line); color:var(--ink-dim); }
.hours-table td:last-child{ text-align:right; color:var(--ink); font-weight:700; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--dark); color:#B9C4BF; padding:56px 0 26px; margin-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:32px; padding-bottom:32px; }
.footer-grid h5{ color:#fff; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:16px; }
.footer-grid li{ margin-bottom:9px; font-size:13.5px; }
.footer-grid a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:20px; font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

.floating-whatsapp{ position:fixed; right:22px; bottom:22px; z-index:70; width:58px; height:58px; border-radius:50%; background:#23C16B; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(0,0,0,.3); }
.floating-whatsapp svg{ width:28px; height:28px; fill:#fff; }

.max-w{ max-width:640px; margin:0 auto; }
.center{ text-align:center; }
.section-head{ margin-bottom:40px; }
.section-head h2{ font-size:clamp(28px,4vw,40px); margin-top:10px; }
.text-dim{ color:var(--ink-dim); }
.mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-40{ margin-top:40px; }
.entry-content{ color:var(--ink-dim); font-size:15.5px; line-height:1.75; }
.entry-content h2{ color:var(--ink); margin:30px 0 12px; font-size:24px; }
.entry-content p{ margin-bottom:16px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size:12.5px; color:var(--ink-dim); padding:14px 0; }
.breadcrumb a{ color:var(--emerald-dark); }
.breadcrumb span{ margin:0 6px; }

/* ---------- İlçe / semt bulucu ---------- */
.district-panel{ background:var(--dark); border-radius:20px; padding:36px; color:#fff; }
.district-search{ width:100%; padding:15px 18px; border-radius:999px; border:2px solid rgba(255,255,255,.15); background:var(--dark-2); color:#fff; font-size:15px; font-family:var(--font-body); margin-bottom:20px; }
.district-search::placeholder{ color:#8A9690; }
.district-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; max-height:420px; overflow:auto; }
.district-grid a{ display:block; padding:11px 14px; border-radius:8px; background:var(--dark-2); border:1px solid rgba(255,255,255,.08); font-size:13.5px; font-weight:600; color:#B9C4BF; }
.district-grid a:hover{ color:#fff; border-color:var(--emerald); }
@media (max-width:900px){ .district-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .district-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Pill listeler ---------- */
.pill-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{ font-size:12.5px; font-weight:700; padding:9px 14px; border-radius:999px; border:1px solid var(--line); color:var(--ink); background:#fff; }
.pill:hover{ border-color:var(--emerald); color:var(--emerald-dark); }

.pill-list-plain{ list-style:none; padding:0; margin:0 0 26px; display:grid; gap:12px; }
.pill-list-plain li{ position:relative; padding-left:32px; font-size:15px; color:var(--ink-dim); }
.pill-list-plain li::before{ content:"✓"; position:absolute; left:0; top:0; width:22px; height:22px; border-radius:50%; background:var(--emerald); color:#fff; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); padding:18px 0; }
.faq-item summary{ cursor:pointer; font-weight:700; font-size:16px; list-style:none; display:flex; justify-content:space-between; gap:16px; color:var(--ink); }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:20px; color:var(--emerald); }
.faq-item[open] summary::after{ content:"–"; }
.faq-item .faq-a{ margin-top:12px; color:var(--ink-dim); font-size:14.5px; max-width:70ch; }

/* ---------- Kategori grid (ikon kartlı) ---------- */
.icon-cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.icon-cat-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; transition:transform .18s ease, box-shadow .18s ease; overflow:hidden; }
.icon-cat-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.icon-cat-card .thumb{ margin:-24px -24px 16px; height:150px; overflow:hidden; }
.icon-cat-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.icon-cat-card .icon-badge{ width:48px; height:48px; border-radius:12px; background:var(--paper-2); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--emerald-dark); }
.icon-cat-card .icon-badge svg{ width:24px; height:24px; }
.icon-cat-card h3{ font-size:17px; margin-bottom:6px; }
.icon-cat-card p{ font-size:13.5px; color:var(--ink-dim); margin-bottom:12px; }
.icon-cat-card .cat-link{ font-size:12.5px; font-weight:700; color:var(--emerald-dark); }
@media (max-width:980px){ .icon-cat-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .icon-cat-grid{ grid-template-columns:1fr; } }
