/* =============================================================================
   SuratBox — kurumsal landing (home.css)
   "Suzani Modern" — app_colors.dart ile birebir: teal #15807A · indigo #1B2C44 ·
   terracotta #E2703A · amber #D8842A · sand yüzeyler. Spectral (display) + Manrope
   (body), app'ten self-host. Açık/koyu tema, responsive, dış istek YOK.
   ============================================================================= */

/* ---- Fontlar (app/assets/fonts ile AYNI dosyalar) ---- */
@font-face {
  font-family: "Spectral";
  src: url("/fonts/Spectral-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("/fonts/Spectral-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 300 800; font-style: normal; font-display: swap;
}

/* ---- Renk tokenları ---- */
:root {
  --teal: #15807A;
  --teal-700: #0F5A55;
  --teal-100: #CFE9E5;
  --indigo: #1B2C44;
  --terracotta: #E2703A;
  --amber: #D8842A;

  --ink: #15212E;
  --muted: #5A6B7B;
  --bg: #FCF8F1;
  --bg-2: #F6EFE3;
  --sand: #F2E6CF;
  --card: #FFFFFF;
  --line: #E2D9CB;

  --shadow-sm: 0 1px 2px rgba(27, 44, 68, .06), 0 4px 14px rgba(27, 44, 68, .05);
  --shadow-md: 0 6px 24px rgba(27, 44, 68, .10), 0 2px 6px rgba(27, 44, 68, .06);
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #2FB3A4;
    --teal-700: #37C4B4;
    --teal-100: #0F5A55;
    --indigo: #0E1A2B;
    --terracotta: #EE8049;
    --amber: #E9A24A;

    --ink: #F4EFE6;
    --muted: #9FB0C3;
    --bg: #0E1A2B;
    --bg-2: #14243A;
    --sand: #16263B;
    --card: #16263B;
    --line: #2A3B52;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, .40), 0 2px 6px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 40px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-100);
  padding: 6px 14px; border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: #BFF0E9; } }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 16px;
  height: 66px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand-light { display: none; }
  .brand-dark { display: block; }
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: 15px; font-family: "Manrope", sans-serif;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-switch button {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 999px; width: 34px; height: 30px; cursor: pointer;
  font-size: 12px; font-weight: 700; font-family: "Manrope", sans-serif;
  transition: all .15s ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
@media (max-width: 860px) { .nav { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 82% -8%, color-mix(in srgb, var(--amber) 26%, transparent), transparent 60%),
    radial-gradient(900px 480px at 10% 6%, color-mix(in srgb, var(--teal) 20%, transparent), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px);
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  margin: 20px 0 0;
}
.hero h1 .accent { color: var(--teal); }
.hero .sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted);
  margin: 20px 0 0; max-width: 34ch;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 17px; height: 17px; color: var(--teal); }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--indigo); color: #fff; padding: 12px 22px 12px 18px;
  border-radius: 14px; box-shadow: var(--shadow-md); transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md), 0 10px 30px rgba(27,44,68,.18); }
.store svg { width: 26px; height: 26px; flex: none; }
.store .t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store .t small { font-size: 11px; opacity: .75; font-weight: 600; letter-spacing: .02em; }
.store .t span { font-size: 17px; font-weight: 700; }
@media (prefers-color-scheme: dark) {
  .store { background: var(--teal); color: #06322F; }
  .store .t small { opacity: .8; }
}

/* hero art — 2x2 ürün foto kolajı + arkada GÖRÜNÜR suzani rozet */
.hero-art { position: relative; display: grid; place-items: center; min-height: 400px; }
.hero-art .rosette-bg {
  position: absolute; width: min(520px, 126%); opacity: .62; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 10px 26px rgba(27,44,68,.10));
}
@media (prefers-color-scheme: dark) { .hero-art .rosette-bg { opacity: .5; } }
.photo-collage {
  position: relative; z-index: 1; width: min(360px, 100%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pc {
  margin: 0; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden;
  background: var(--card); border: 4px solid var(--card); box-shadow: var(--shadow-md);
}
.pc img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 320px; }
  .hero-art .rosette-bg { width: 400px; }
  .photo-collage { width: min(320px, 100%); }
  .hero .sub { max-width: none; }
}

/* ---- Sections ---- */
section { padding: clamp(52px, 8vw, 88px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 12px 0 0; }
.alt { background: var(--bg-2); }

/* products grid */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }
.pcard .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal); margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .pcard .ic { color: #BFF0E9; } }
.pcard .ic svg { width: 26px; height: 26px; }
.pcard h3 { font-size: 19px; }
.pcard p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow-sm);
}
.step .n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: "Spectral", serif; font-weight: 600; font-size: 20px;
  color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-700));
  margin-bottom: 14px;
}
.step:nth-child(2) .n { background: linear-gradient(135deg, var(--indigo), #2a4266); }
.step:nth-child(3) .n { background: linear-gradient(135deg, var(--amber), #b96e1f); }
.step:nth-child(4) .n { background: linear-gradient(135deg, var(--terracotta), #c4551f); }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }
.tcard {
  display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.tcard .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--amber) 18%, var(--card)); color: var(--terracotta); }
.tcard .ic svg { width: 25px; height: 25px; }
.tcard h3 { font-size: 18px; }
.tcard p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* delivery & returns */
.dr { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .dr { grid-template-columns: 1fr; } }
.dr-list { list-style: none; margin: 0; padding: 0; }
.dr-list li {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.dr-list li:last-child { border-bottom: 0; }
.dr-list .tick { flex: none; width: 24px; height: 24px; color: var(--teal); }
.dr-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-md);
}
.dr-panel .row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.dr-panel .row:last-of-type { border-bottom: 0; }
.dr-panel .row .k { color: var(--muted); font-size: 15px; }
.dr-panel .row .v { font-weight: 700; font-size: 16px; }
.dr-panel .row .v.free { color: var(--teal); }
.dr-panel .btn-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  color: var(--teal-700); font-weight: 700;
}

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .contact { grid-template-columns: 1fr; } }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.ccard h3 { font-size: 18px; margin-bottom: 12px; }
.ccard .line { display: flex; gap: 10px; padding: 7px 0; color: var(--ink); font-size: 15px; }
.ccard .line svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.ccard .line .muted { color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--indigo), #24365234); }
.cta-band { background: var(--indigo); color: #fff; border-radius: 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); }
.cta-inner p { color: #d7e2f2; font-size: 18px; margin: 14px auto 0; max-width: 46ch; }
.cta-inner .stores { justify-content: center; margin-top: 30px; }
.cta-band .store { background: var(--teal); color: #06322F; }
.cta-band .store .t small { opacity: .85; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }
.footer-grid h4 { font-family: "Manrope", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.footer-grid a { display: block; color: var(--ink); padding: 5px 0; font-size: 15px; }
.footer-grid a:hover { color: var(--teal-700); }
.footer-brand .brand-logo { height: 30px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; max-width: 34ch; }
.footer-legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
