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

:root {
  --background: #121212;
  --panel: #1c1c1c;
  --card: #232323;
  --border: rgba(192,192,192,0.18);
  --border-strong: rgba(192,192,192,0.4);
  --silver: #c8ccd2;
  --silver-light: #e4e6ea;
  --text: #f5f5f5;
  --muted: #9a9fa8;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); margin: 0 0 14px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18,18,18,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand-text { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; line-height:1.2; }
.brand-text span { display:block; color: var(--silver); font-size: 11px; letter-spacing: 0.15em; font-weight:600; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--silver-light); }

.nav-actions { display:flex; gap:10px; align-items:center; }
.hamburger { display:none; background:none; border:none; color:var(--text); font-size:22px; cursor:pointer; }
@media (max-width: 860px) {
  .main-nav { display:none; }
  .hamburger { display:block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content:center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; border: none; cursor: pointer;
  transition: all .2s;
}
.btn-metallic {
  background: linear-gradient(135deg, var(--silver-light), #8f939c);
  color: #121212;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 14px rgba(0,0,0,0.5);
}
.btn-metallic:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--silver-light); border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.btn-sm { padding: 8px 14px; font-size: 11px; }
.btn-danger { background: var(--red); color:#fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 90px 0 70px; text-align: center; overflow:hidden;
  background: radial-gradient(ellipse at top, rgba(200,204,210,0.08), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero img.hero-icon { width: 90px; margin: 0 auto 24px; opacity:0.95; }
.hero p.lead { max-width: 560px; margin: 0 auto 30px; font-size: 16px; }
.hero .actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- Cards / Grid ---------- */
.grid { display:grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.card .thumb { aspect-ratio: 4/3; background: #171717; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.card .thumb img { width:100%; height:100%; object-fit: cover; }
.card .body { padding: 16px; }
.card .cat-tag {
  display:inline-block; font-size: 10px; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--silver); border: 1px solid var(--border-strong); border-radius: 4px; padding: 3px 8px; margin-bottom:10px;
}
.card h3 { font-size: 15px; margin-bottom: 6px; min-height: 40px; }
.card .specs { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.price-row { display:flex; align-items:baseline; gap:10px; }
.price-new { font-size: 20px; font-weight: 800; color: #fff; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.badge-discount {
  background: var(--green); color:#fff; font-size: 10px; font-weight:800; padding: 2px 7px; border-radius: 4px;
  text-transform:uppercase; letter-spacing:0.05em;
}

/* ---------- Section ---------- */
.section { padding: 60px 0; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom: 30px; flex-wrap:wrap; gap:14px; }
.section-head p { margin:0; }

/* ---------- Filters (catalog) ---------- */
.catalog-layout { display:grid; grid-template-columns: 240px 1fr; gap: 30px; align-items:start; }
@media (max-width: 800px) { .catalog-layout { grid-template-columns: 1fr; } }
.filter-panel {
  background: var(--panel); border:1px solid var(--border); border-radius: var(--radius); padding: 18px;
  position: sticky; top: 90px;
}
.filter-panel h4 { font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--silver); margin: 18px 0 10px; }
.filter-panel h4:first-child { margin-top:0; }
.filter-chip {
  display:block; width:100%; text-align:left; background:none; border:none; color: var(--muted);
  padding: 7px 0; font-size: 13px; cursor:pointer; font-family:inherit;
}
.filter-chip:hover, .filter-chip.active { color: var(--silver-light); font-weight:700; }

input[type=text], input[type=number], input[type=password], input[type=email], textarea, select {
  width:100%; background: var(--panel); border: 1px solid var(--border); color: var(--text);
  padding: 10px 12px; border-radius: 7px; font-family: inherit; font-size: 14px;
}
textarea { resize: vertical; min-height: 100px; }
label { display:block; font-size: 12px; color: var(--muted); margin: 14px 0 6px; font-weight:600; }
label:first-child { margin-top:0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 60px; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 13px; text-transform:uppercase; letter-spacing:0.08em; color:var(--silver); margin-bottom:14px; }
.footer-grid a, .footer-grid p { display:block; font-size:13px; color: var(--muted); margin-bottom:8px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size:12px; color: var(--muted); text-align:center; }

/* ---------- Admin ---------- */
.admin-shell { display:grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: var(--panel); border-right: 1px solid var(--border); padding: 22px 16px; }
.admin-side a { display:block; padding: 10px 12px; border-radius:7px; color: var(--muted); font-size:14px; font-weight:600; margin-bottom:4px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,0.06); color: var(--silver-light); }
.admin-main { padding: 30px; }
.admin-table { width:100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow:hidden; }
.admin-table th, .admin-table td { text-align:left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.admin-table th { color: var(--silver); text-transform:uppercase; font-size:11px; letter-spacing:0.05em; }
.admin-table img { width:44px; height:44px; object-fit:cover; border-radius:6px; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.alert { padding: 12px 16px; border-radius:8px; font-size:13px; margin-bottom:18px; }
.alert-ok { background: rgba(34,197,94,0.12); color: #4ade80; border:1px solid rgba(34,197,94,0.3); }
.alert-err { background: rgba(239,68,68,0.12); color: #f87171; border:1px solid rgba(239,68,68,0.3); }
.login-box { max-width: 360px; margin: 100px auto; background: var(--panel); border:1px solid var(--border); border-radius: var(--radius); padding: 34px; }

/* ---------- Ürün detay spec tablosu (genel) ---------- */
.spec-table { width:100%; border-collapse:collapse; margin: 20px 0; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size:14px; }
.spec-table td:first-child { color: var(--muted); width:140px; }

/* ---------- Hizmetlerimiz ---------- */
.services-grid { display:grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; transition: transform .18s, border-color .18s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.service-icon { font-size: 26px; margin-bottom: 10px; }
.service-card h3 { font-size: 15px; margin-bottom: 6px; }
.service-card p { font-size: 13px; margin: 0; }

/* ---------- Blog ---------- */
.blog-content { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: #e6e6e6; }
.blog-content h2, .blog-content h3 { color: var(--silver-light); margin-top: 1.8em; }
.blog-content img { border-radius: var(--radius); margin: 20px 0; }
