:root {
  --navy: #1d2127;      /* koyu grafit (logo gri tonu) */
  --navy-2: #2c323a;
  --steel: #6b7280;
  --line: #e5e7eb;
  --bg: #f6f6f7;
  --card: #ffffff;
  --text: #1a1d21;
  --muted: #6b7280;
  --accent: #c8161d;    /* logo kırmızısı */
  --accent-dark: #a11218;
  --accent-light: #ff5a5f;
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
code { background: #eef1f5; padding: 1px 6px; border-radius: 5px; font-size: .9em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--accent); font-weight: 700; margin: 0 0 10px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 15px; transition: .15s; font-family: inherit;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Üst menü ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--navy-2); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--accent); background: #fdecec; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 22px; width: 44px; height: 40px; cursor: pointer; }

/* ---------- Ana sayfa hero ---------- */
.hero {
  background:
    radial-gradient(circle at 80% 30%, rgba(200,22,29,.28), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding: 72px 0; }
.hero .eyebrow { color: var(--accent-light); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 18px; font-weight: 800; }
.lead { font-size: 18px; opacity: .85; max-width: 560px; margin: 0 0 26px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; }
.hero-search input {
  flex: 1; min-width: 0; font: inherit; padding: 13px 16px; border-radius: 10px; border: 0; outline: 0;
}
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; }
.stats span { font-size: 13px; opacity: .7; }
.hero-art { color: #9aa1ab; display: flex; justify-content: center; }
.hero-art svg { width: min(320px, 80%); }
.spin { animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* ---------- Alt sayfa başlığı ---------- */
.page-head {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 36px 0 40px;
}
.page-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 6px; }
.page-head p { margin: 0; opacity: .8; max-width: 720px; }
.crumbs { font-size: 14px; opacity: .75; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-light); }
.page-head .search { margin-top: 22px; max-width: 720px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
}
.back-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Bölüm başlıkları ---------- */
.section-head h2 { font-size: 30px; margin: 0 0 6px; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

/* ---------- Arama ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.search {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,22,29,.12); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; width: 100%; padding: 13px 0; font: inherit; background: transparent; }
.search.big input { padding: 16px 0; font-size: 17px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.chips:empty { display: none; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text);
}
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.result-count { color: var(--muted); font-size: 14px; margin: 14px 0 12px; }

/* ---------- Kategori kartları ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat-grid:empty { display: none; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); border-color: #d1d5db; }
.cat-img { aspect-ratio: 16 / 10; background: linear-gradient(145deg, #f3f4f6, #e5e7eb); display: grid; place-items: center; color: #9ca3af; }
.cat-img svg { width: 34%; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-img { color: var(--accent); }
.cat-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-body h3 { margin: 0; font-size: 17px; }
.cat-body p { margin: 0; font-size: 13px; color: var(--muted); }
.cat-meta { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent-dark); }

/* ---------- Ürün listesi ---------- */
.plist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plist:empty { display: none; }
.prow { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow:hover { background: #fafafa; }
.p-text { flex: 1; min-width: 0; font-size: 14px; color: #374151; }
.p-text b { color: var(--text); font-size: 15px; margin-right: 4px; }
.p-cat { display: block; font-size: 12px; color: var(--muted); text-decoration: none; margin-top: 2px; }
.p-cat:hover { color: var(--accent); }
.more { display: block; margin: 18px auto 0; }
.empty-box { text-align: center; background: #fff; border: 1px dashed #d1d5db; border-radius: var(--radius); padding: 40px 20px; }
.empty-box h3 { margin: 0 0 6px; }

/* ---------- Bant ve CTA ---------- */
.band { background: var(--navy); color: #fff; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 52px 0; }
.features h3 { margin: 0 0 6px; color: var(--accent-light); }
.features p { margin: 0; opacity: .8; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 4px; font-size: 26px; }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about h2 { font-size: 28px; margin: 0 0 16px; line-height: 1.25; }
.about-text p { color: #374151; }
.slogan { font-weight: 700; color: var(--accent) !important; font-style: italic; }
.about-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about-logo { width: 70%; margin: 0 auto 20px; }
.about-side h3 { margin: 0 0 12px; font-size: 18px; }
.sectors { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.sectors li { padding-left: 22px; position: relative; }
.sectors li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--accent); }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: 26px; margin: 0 0 6px; }
.contact-title { font-size: 22px; margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; }
.contact-list a { text-decoration: none; color: var(--accent-dark); font-weight: 600; }
.contact-form { display: grid; gap: 14px; margin-top: 20px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; min-width: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,22,29,.12);
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-note a { color: var(--accent-dark); font-weight: 600; }
.map-link {
  margin-top: 20px; display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: border-color .15s;
}
.map-link:hover { border-color: var(--accent); }
.map-link svg { width: 36px; height: 36px; color: var(--accent); flex: none; }
.map-link b { display: block; }
.map-link small { color: var(--muted); }

/* ---------- KVKK ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 4px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: #374151; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent-dark); font-weight: 600; }
.spec { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14px; }
.spec td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { color: var(--muted); width: 34%; }
.credits td { font-size: 13px; padding: 10px 8px 10px 0; }
.credits a { word-break: break-word; }

/* ---------- Alt bilgi ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; gap: 28px; padding: 40px 0 28px; }
.footer-logo { height: 96px; width: auto; }
.footer h4 { margin: 0 0 10px; color: var(--text); font-size: 15px; }
.footer p { margin: 0 0 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0 24px; font-size: 12px; }
.footer-bottom b { color: var(--text); font-weight: 600; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .topbar-inner { height: 68px; gap: 12px; }
  .logo img { height: 52px; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 14px;
  }
  .topbar.open .nav { display: flex; }
  .nav a { padding: 12px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0; }
  .hero-art { display: none; }
  .features, .contact, .about, .contact-form .row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wa-btn { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-body h3 { font-size: 15px; }
  .prow { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-search { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
