/* ============================================================
   SMMM Yusuf Kara — site.css
   Renk: mürekkep laciverti · parşömen krem · altın çizgi
   Yazı: Inter (tek aile, tek kalınlıkta çizgiler)
   ============================================================ */

/* Inter, assets/css/fonts.css içinde gömülüdür. Aşağıdaki yedek yalnızca fontun hiç yüklenemediği durum içindir. */
@font-face {
  font-family: 'Inter Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%;
}

:root {
  --paper: #F6F3EC;
  --paper-2: #EFEAE0;
  --surface: #FFFFFF;
  --ink: #1B1F26;
  --ink-2: #55606E;
  --navy: #0E2138;
  --navy-2: #0A1929;
  --navy-3: #25405F;
  --brass: #7E5E2B;
  --gold: #C9A227;
  --gold-2: #E3C36B;
  --line: #DED7C9;
  --line-2: #CFC7B6;
  --line-strong: #7E7768;
  --on-dark: #EDE7DA;
  --on-dark-2: #A9B6C6;
  --ok: #1E6B4A;
  --err: #8A2A1F;

  --sans: 'Inter', 'Inter Fallback', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --section: clamp(64px, 9vw, 120px);
  --radius: 4px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 28px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.6vw, 3.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--navy); color: var(--on-dark); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: var(--on-dark); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }

.overline { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--brass); margin-bottom: 16px; }
.rule { width: 56px; height: 2px; background: var(--gold); margin: 22px 0 26px; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 1em; }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.mono { font-variant-numeric: tabular-nums; }

/* Müşteriden gelecek bilgi */
.ph { color: inherit; font-style: normal; border-bottom: 1px dotted var(--brass); padding-bottom: 1px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-3); border-color: var(--navy-3); color: var(--on-dark); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Üst çubuk ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--navy); flex: none; line-height: 1; transition: color .35s ease; }
.brand__name { display: inline-block; font-weight: 700; font-size: 46px; letter-spacing: -0.012em; line-height: 1; white-space: nowrap; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: font-size .35s ease, border-color .35s ease; }
.brand__desc { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transform: translateY(-4px); transition: max-height .35s ease, opacity .3s ease .05s, transform .35s ease, margin-top .35s ease; }
.header[data-scrolled="true"] .brand__name, .brand--full .brand__name { font-size: 33px; border-bottom-color: var(--gold); }
.header[data-scrolled="true"] .brand__desc, .brand--full .brand__desc { max-height: 14px; opacity: 1; transform: none; margin-top: 7px; }
.header[data-scrolled="true"] .brand { color: var(--on-dark); }
.header[data-scrolled="true"] .brand__name { border-bottom-color: var(--gold-2); }
@media (max-width: 480px) {
  .brand__name { font-size: 36px; }
  .header[data-scrolled="true"] .brand__name { font-size: 26px; }
  .brand__desc { font-size: 8.5px; }
  .menu-btn__text { display: none; } .menu-btn { padding: 8px 11px; }
}
.header { transition: background-color .35s ease, border-color .35s ease; }
.nav a, .header__phone, .menu-btn, .header .btn { transition: color .35s ease, background-color .35s ease, border-color .35s ease; }
.header[data-scrolled="true"] { background: var(--navy); border-bottom-color: rgba(237, 231, 218, 0.14); backdrop-filter: none; }
.header[data-scrolled="true"] .nav a { color: var(--on-dark); }
.header[data-scrolled="true"] .nav a:hover, .header[data-scrolled="true"] .nav a[aria-current="true"] { color: #FFFFFF; border-bottom-color: var(--gold-2); }
.header[data-scrolled="true"] .header__phone { color: var(--on-dark); }
.header[data-scrolled="true"] .header__phone:hover { color: var(--gold-2); }
.header[data-scrolled="true"] .btn--primary { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.header[data-scrolled="true"] .btn--primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }
.header[data-scrolled="true"] .menu-btn { color: var(--on-dark); border-color: rgba(237, 231, 218, 0.45); }
.nav { display: none; margin-left: auto; flex: none; }
.nav ul { display: flex; gap: 26px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 6px 0; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.header__actions { display: none; align-items: center; gap: 20px; margin-left: 24px; flex: none; }
.header__phone { display: none; font-size: 0.9375rem; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--brass); }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px 12px;
  font: 500 0.9375rem var(--sans); color: var(--navy); cursor: pointer; min-height: 44px;
}
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .nav, .header__actions { display: flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1140px) { .header__phone { display: inline; } }
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; background: var(--paper); padding: 32px var(--gutter); overflow-y: auto; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: 1.375rem; font-weight: 600; }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
.mobile-nav .header__phone { display: block; margin-top: 20px; font-size: 1.125rem; }
body[data-menu-open="true"] { overflow: hidden; }

/* ---------- Giriş ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__figure { margin: 0; width: min(100%, 440px); }
.hero__frame { position: relative; }
.hero__frame::before { content: ""; position: absolute; left: 20px; top: 20px; right: -20px; bottom: -20px; background: var(--navy); border-radius: 6px; }
.hero__frame::after { content: ""; position: absolute; z-index: 2; left: 0; top: 0; width: 64px; height: 3px; background: var(--gold); border-top-left-radius: 6px; }
.hero__frame img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.hero__figure figcaption { margin-top: 34px; font-size: 0.8125rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: clamp(48px, 7vw, 112px); }
  .hero__figure { justify-self: end; margin-right: 20px; }
}
@media (max-width: 899px) { .hero__figure { width: min(78%, 400px); margin-inline: auto; } }

/* ---------- Hakkında ---------- */
.about__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }

/* ---------- Hizmetler ---------- */
.services { display: grid; gap: 0 40px; }
.services li { padding: 26px 0 30px; border-top: 2px solid var(--line-2); }
.services h3 { margin-bottom: 10px; }
.services p { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services { grid-template-columns: repeat(3, 1fr); } }
.services__foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.services__foot p { color: var(--ink-2); font-size: 0.9375rem; max-width: 56ch; }

/* ---------- Pratik bilgiler ---------- */
.links { display: grid; grid-template-columns: 1fr; gap: 12px; }
.links a {
  display: flex; align-items: center; gap: 18px; padding: 14px 18px; min-height: 88px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: var(--navy); transition: border-color .2s;
}
.links a:hover { border-color: var(--navy); }
.links img { width: 88px; height: 56px; object-fit: contain; object-position: center; flex: none; }
.links__name { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.links__org { display: block; font-size: 0.8125rem; color: var(--ink-2); font-weight: 400; margin-top: 2px; }
@media (min-width: 640px) { .links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- İletişim ---------- */
.contact__grid { display: grid; gap: 40px; }
.notice { padding: 14px 16px; background: var(--paper-2); border-left: 3px solid var(--gold); font-size: 0.9375rem; color: var(--ink); margin-bottom: 28px; max-width: 52ch; }
.contact__list { display: grid; gap: 20px; }
.contact__list dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-2); margin-bottom: 4px; }
.contact__list dd { margin: 0; font-size: 1.0625rem; }
.contact__list dd a { color: var(--navy); text-decoration: none; }
.contact__list dd a:hover { color: var(--brass); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form h3 { font-size: 1.125rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--navy); }
.field label small { color: var(--ink-2); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.5; }
.form__status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 0.9375rem; }
.form__status[data-state="ok"] { display: block; background: #E6F0EA; color: var(--ok); border: 1px solid #BFD9C8; }
.form__status[data-state="err"] { display: block; background: #F6E7E4; color: var(--err); border: 1px solid #E3C1BB; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--navy-2); color: var(--on-dark-2); padding-block: clamp(48px, 6vw, 80px) 32px; font-size: 0.9375rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.footer__grid { display: grid; gap: 36px; }
.footer__brand svg { height: 132px; width: auto; }
.footer h4 { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold-2); font-weight: 600; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer p + p { margin-top: 12px; }
.footer__label { display: block; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--on-dark-2); margin-top: 2px; }
.footer__val { color: var(--on-dark); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(237, 231, 218, 0.15); display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: 0.875rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; } }

/* ---------- Mobil hızlı iletişim çubuğu ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); border-top: 1px solid rgba(237, 231, 218, 0.15); padding-bottom: env(safe-area-inset-bottom); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: var(--on-dark); text-decoration: none; font-size: 0.875rem; font-weight: 500; border-right: 1px solid rgba(237, 231, 218, 0.15); }
.dock a:last-child { border-right: 0; }
.dock svg { width: 18px; height: 18px; }
@media (min-width: 960px) { .dock { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 60px; } }

/* ---------- Belge sayfaları ---------- */
.doc { padding-block: clamp(48px, 7vw, 96px); }
.doc__body { max-width: 72ch; }
.doc__body h2 { font-size: 1.5rem; margin-top: 2.2em; margin-bottom: 0.6em; }
.doc__body h3 { font-size: 1.125rem; margin-top: 1.6em; margin-bottom: 0.4em; }
.doc__body p + p { margin-top: 1em; }
.doc__body ul, .doc__body ol { padding-left: 1.3em; margin: 0.6em 0 1em; display: grid; gap: 6px; }
.doc__body ul { list-style: disc; }
.doc__body ol { list-style: decimal; }
.doc__meta { font-size: 0.875rem; color: var(--ink-2); margin-top: 16px; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-2); font-weight: 600; }
.table-wrap { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .header, .dock, .mobile-nav, .menu-btn, .form, .hero__actions { display: none !important; } body { background: #fff; color: #000; } }
