/* ============================================================
   Simge Matbaa — Tasarım Sistemi
   Space Grotesk (başlık) + Manrope (gövde)
   ============================================================ */

/* ---- Palet (Tweaks ile değiştirilebilir) ---- */
:root {
  /* Mürekkep laciverti */
  --ink:        #11203a;
  --ink-800:    #182c4d;
  --ink-700:    #233f63;
  --ink-500:    #41597d;
  --muted:      #6c768a;
  --muted-2:    #939bac;

  /* Kağıt */
  --paper:      #ffffff;
  --paper-2:    #f8f6f1;
  --paper-3:    #f0ede4;
  --paper-4:    #e8e3d7;
  --line:       #e6e1d6;
  --line-2:     #d9d3c5;

  /* Aksan — sıcak turuncu */
  --accent:     #df5a29;
  --accent-600: #c7491c;
  --accent-700: #a93c16;
  --accent-tint:#fbede6;
  --accent-tint2:#f6dccd;

  /* CMYK matbaa vurgu noktaları */
  --c-cyan:    #1fa8c9;
  --c-magenta: #d23f8a;
  --c-yellow:  #f0b818;

  --ok:        #2c8c64;

  /* Tipografi */
  --font-head: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Şekil */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Gölge */
  --sh-sm: 0 1px 2px rgba(17,32,58,.06), 0 1px 3px rgba(17,32,58,.05);
  --sh:    0 4px 14px rgba(17,32,58,.07), 0 2px 6px rgba(17,32,58,.05);
  --sh-lg: 0 18px 50px -18px rgba(17,32,58,.28), 0 8px 22px -12px rgba(17,32,58,.18);
  --sh-accent: 0 10px 28px -10px rgba(223,90,41,.55);

  --maxw: 1240px;
}

/* Palet varyasyonları (Tweaks) ------------------------------- */
:root[data-palette="ink-red"] {
  --ink:#1a1a1f; --ink-800:#26262d; --ink-700:#34343d; --ink-500:#54545f;
  --accent:#d62828; --accent-600:#b81e1e; --accent-700:#9a1717;
  --accent-tint:#fbe9e9; --accent-tint2:#f6cccc;
}
:root[data-palette="forest"] {
  --ink:#14271f; --ink-800:#1d3a2d; --ink-700:#2a5040; --ink-500:#436b58;
  --accent:#c98a2b; --accent-600:#ad721d; --accent-700:#8c5b15;
  --accent-tint:#f7f0e2; --accent-tint2:#eeddc1;
  --paper-2:#f7f5ee; --paper-3:#eeeadf;
}
:root[data-palette="indigo"] {
  --ink:#1b1c3a; --ink-800:#26285a; --ink-700:#353878; --ink-500:#56598f;
  --accent:#5b54e0; --accent-600:#473fce; --accent-700:#3a33ab;
  --accent-tint:#ecebfb; --accent-tint2:#d6d3f6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper-2);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--accent-tint2); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border:3px solid var(--paper-2); }
::-webkit-scrollbar-track { background: transparent; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.app-root { min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; animation: pageIn .42s cubic-bezier(.22,.7,.3,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content:""; width: 20px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow.center::before { display:none; }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 660px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 16px; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }

.text-muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  padding: 13px 24px; line-height: 1; white-space: nowrap;
  transition: transform .18s cubic-bezier(.22,.7,.3,1), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(223,90,41,.6); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-800); transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh); }

.btn-outline-light { background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.32); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color:#fff; }

.btn-sm { padding: 10px 17px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---- Chips / badges ---- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; font-family: var(--font-head);
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--paper-3); color: var(--ink-700); border: 1px solid var(--line);
}
.chip.accent { background: var(--accent-tint); color: var(--accent-700); border-color: var(--accent-tint2); }
.chip.ink { background: var(--ink); color: #fff; border-color: var(--ink); }

.badge-dot { width:7px; height:7px; border-radius:50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(44,140,100,.18); }

/* ---- Cards ---- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); transition: transform .22s cubic-bezier(.22,.7,.3,1), box-shadow .25s, border-color .2s;
}

/* ---- Product / category media (CSS kompozisyon) ---- */
.media {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r);
  overflow: hidden; background: var(--paper-3);
  display: grid; place-items: center;
}
.media.tall { aspect-ratio: 3/4; }
.media .mlabel {
  position: absolute; left: 12px; bottom: 11px; z-index: 4;
  font-family: "Space Grotesk", monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: .04em; color: var(--muted);
  background: rgba(255,255,255,.78); backdrop-filter: blur(4px);
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line);
}
/* registration / crop marks */
.crop-marks::before, .crop-marks::after {
  content:""; position:absolute; width: 14px; height: 14px; pointer-events:none; z-index:5;
  border-color: rgba(17,32,58,.22); border-style: solid; border-width: 0;
}
.crop-marks::before { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop-marks::after  { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* paper stack shapes built from divs */
.paper-stack { position: relative; width: 64%; height: 64%; }
.paper-sheet {
  position: absolute; inset: 0; border-radius: 7px; background: #fff;
  box-shadow: 0 10px 26px -10px rgba(17,32,58,.4), 0 2px 6px rgba(17,32,58,.12);
  border: 1px solid rgba(17,32,58,.06);
}

/* CMYK dots */
.cmyk-dots { display: inline-flex; gap: 6px; align-items: center; }
.cmyk-dots i { width: 9px; height: 9px; border-radius: 50%; display:block; }
.cmyk-dots i:nth-child(1){ background: var(--c-cyan); }
.cmyk-dots i:nth-child(2){ background: var(--c-magenta); }
.cmyk-dots i:nth-child(3){ background: var(--c-yellow); }
.cmyk-dots i:nth-child(4){ background: var(--ink); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.82);
  font-size: 13px; font-weight: 500;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .tb-item { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

header.site {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .bar { display: flex; align-items: center; gap: 26px; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; }
.logo-img { height: 52px; width: auto; display: block; object-fit: contain; }
.logo--footer .logo-img { height: 44px; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--ink);
  display: grid; place-items: center; color: #fff; position: relative; overflow:hidden;
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
}
.logo .mark::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height: 5px;
  background: linear-gradient(90deg, var(--c-cyan) 0 25%, var(--c-magenta) 25% 50%, var(--c-yellow) 50% 75%, var(--accent) 75% 100%);
}
.logo .lname { display:flex; flex-direction: column; line-height: 1.05; }
.logo .lname b { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo .lname span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

nav.main { display: flex; gap: 4px; align-items: center; margin-left: 6px; }
nav.main a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-700); padding: 9px 13px; border-radius: 9px;
  transition: background .18s, color .18s; position: relative;
}
nav.main a:hover { background: var(--paper-3); color: var(--ink); }
nav.main a.active { color: var(--accent); }
nav.main a.active::after {
  content:""; position:absolute; left:13px; right:13px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px;
}

.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--paper); display: grid; place-items: center; color: var(--ink-700);
  position: relative; transition: all .18s;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--paper); font-family: var(--font-head);
}
.hamburger { display: none; }

/* Search bar */
.searchbar {
  display: flex; align-items: center; gap: 9px; flex: 1; max-width: 340px;
  background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 16px; color: var(--muted); transition: all .18s;
}
.searchbar:focus-within { border-color: var(--ink); background: #fff; color: var(--ink); }
.searchbar input { border: none; background: transparent; outline: none; width: 100%; font-size: 14px; color: var(--ink); }
.searchbar svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site { background: var(--ink); color: rgba(255,255,255,.66); margin-top: 0; }
footer.site .ftop { padding: 70px 0 50px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
footer.site h4 { color:#fff; font-size: 14px; letter-spacing:.04em; margin-bottom: 18px; font-family: var(--font-head); }
footer.site .fcol a { display:block; padding: 6px 0; font-size: 14px; transition: color .15s; }
footer.site .fcol a:hover { color:#fff; }
footer.site .fdesc { font-size: 14.5px; line-height: 1.7; max-width: 320px; margin: 18px 0 22px; }
footer.site .logo .lname b, footer.site .logo .lname span { color:#fff; }
footer.site .logo .lname span { color: rgba(255,255,255,.5); }
footer.site .fmark { background:#fff; color: var(--ink); }
.fsocial { display:flex; gap:10px; }
.fsocial a { width: 38px; height:38px; border-radius:10px; border:1px solid rgba(255,255,255,.16); display:grid; place-items:center; color:#fff; transition: all .18s; }
.fsocial a:hover { background:#fff; color: var(--ink); }
.fsocial svg { width:17px; height:17px; }
footer.site .fbot { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display:flex; justify-content: space-between; align-items:center; font-size: 13px; gap: 16px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color:#fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s; border: none;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ============================================================
   GRID UTILS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
.cols-5 { grid-template-columns: repeat(5,1fr); }

@media (max-width: 1080px){
  footer.site .ftop { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cols-5 { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px){
  nav.main, .searchbar { display: none; }
  .hamburger { display: grid; }
  header.site .bar { height: 64px; gap: 14px; }
  .cols-4, .cols-3, .cols-5 { grid-template-columns: repeat(2,1fr); }
  .section { padding: 64px 0; }
  .topbar .tb-left .tb-hide { display:none; }
}
@media (max-width: 560px){
  .wrap { padding: 0 18px; }
  .cols-2, .cols-4, .cols-3, .cols-5 { grid-template-columns: 1fr; }
  footer.site .ftop { grid-template-columns: 1fr 1fr; }
}
