/* VesselForSale v1 – mobil oncelikli tasarim */
:root {
  --navy: #0d2b52;
  --navy-2: #163f73;
  --sea: #1f6fbf;
  --sea-2: #175a9e;
  --sand: #f4f1ea;
  --bg: #f7f8fa;
  --card: #ffffff;
  --ink: #111111;
  --muted: #5b6876;
  --line: #e1e6ec;
  --sold: #b4232c;
  --new: #1f6fbf;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 37, 64, .06), 0 4px 16px rgba(11, 37, 64, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sil-bg: #eef3f9; --sil-sea: #d3e2f2; --sil-hull: #0d2b52; --sil-top: #2f6fb5; --sil-box: #1f6fbf; --sil-win: #eef3f9; --sil-label: #0d2b52;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--sea); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.muted { color: var(--muted); }

/* --- ust bar --- */
.top { background: #fff; color: var(--navy); position: sticky; top: 0; z-index: 5; border-bottom: 3px solid var(--navy); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand img { height: 52px; width: auto; display: block; }
@media (min-width: 980px) { .brand img { height: 64px; } }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .b-ring { fill: none; stroke: var(--sea); stroke-width: 2; }
.brand .b-hull { fill: var(--navy); } .brand .b-sup { fill: var(--sea); }
.brand .b-sea { fill: none; stroke: var(--sea); stroke-width: 1.5; }
.brand span { font-size: 18px; letter-spacing: .2px; line-height: 1.1; }
.brand small { display: block; font-size: 11px; color: var(--sea); letter-spacing: .6px; text-transform: uppercase; }
.nav-toggle { background: transparent; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; }
.nav { display: none; width: 100%; padding: 8px 0 14px; }
.nav.open { display: block; }
.nav a { display: block; color: var(--navy); text-decoration: none; padding: 10px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.nav a[aria-current] { color: var(--sea); font-weight: 700; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: flex !important; width: auto; padding: 0; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
  .nav a { border: 0; padding: 8px 10px; border-radius: 8px; font-size: 15px; }
  .nav a:hover { background: #eef3f9; }
  .nav-cta { background: var(--sea); color: #fff !important; }
  .nav a.nav-cta[aria-current] { color: #fff; }
  .nav-cta:hover { background: var(--sea-2) !important; }
}

/* --- hero --- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 28px 0 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: #9cc4ee; margin: 0 0 6px; }
.hero h1 { font-size: clamp(26px, 5vw, 40px); max-width: 22ch; }
.hero h1 span { color: #9cc4ee; }
.lede { color: #c8d8e6; max-width: 60ch; margin: 0; }
.page .lede, .prose .lede { color: var(--muted); }
.smart { display: flex; gap: 8px; margin-top: 18px; max-width: 720px; }
.smart input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 0; font: inherit; }
.smart-note { color: #c8d8e6; font-size: 14px; margin: 8px 0 0; }

/* --- butonlar / form --- */
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn.primary { background: var(--sea); color: #fff; }
.btn.primary:hover { background: var(--sea-2); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
label.check input { width: auto; margin-top: 4px; }
/* filtre kutusu: kompakt, etiket solda alan sagda */
.filter-form label:not(.check), .filter-form .range { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 6px; margin: 0 0 7px; font-size: 13px; font-weight: 600; }
.filter-form .range { grid-template-columns: 72px 1fr 1fr; }
.filter-form input:not([type=checkbox]), .filter-form select { margin: 0; padding: 6px 8px; font-size: 14px; line-height: 1.3; height: 32px; border-radius: 6px; min-width: 0; }
.filter-form select { padding-right: 4px; }
.filter-form label.check { font-size: 13px; margin: 4px 0 10px; }
.filter-form .btn { padding: 8px 12px; }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -5000px; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.alert.ok { background: #e3f4ef; color: #0b5440; }
.alert.err { background: #fbe7e8; color: #8a1c23; }
.two { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }

/* --- liste duzeni --- */
.layout { display: grid; gap: 20px; padding-top: 20px; padding-bottom: 40px; }
@media (min-width: 980px) { .layout { grid-template-columns: 330px 1fr; align-items: start; } .filters { position: sticky; top: 76px; } }
.filter-box { background: var(--card); border-top: 3px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.filter-box summary { padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filter-box summary::after { content: "▾"; color: var(--muted); }
.filter-box[open] summary::after { content: "▴"; }
.filter-box .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sea); display: inline-block; margin-left: 8px; }
.filter-form { padding: 0 16px 16px; }
.filter-actions { display: flex; gap: 8px; }
.filter-actions .btn { flex: 1; }
@media (min-width: 980px) { .filter-box summary { pointer-events: none; } .filter-box summary::after { content: ""; } }
.results-head h2 { font-size: 18px; color: var(--muted); font-weight: 600; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.empty { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* --- kart --- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.card-img { position: relative; aspect-ratio: 400 / 220; }
.card-img .sil { display: block; width: 100%; height: 100%; }
.card-body { padding: 12px 14px 14px; }
.card-type { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.ref { font-variant-numeric: tabular-nums; }
.card h3 { font-size: 15px; line-height: 1.3; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px dashed var(--line); padding-bottom: 3px; font-size: 14px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px; border-radius: 6px; color: #fff; }
.badge.sold { background: var(--sold); } .badge.new { background: var(--new); }
.badge.big { position: static; display: inline-block; font-size: 14px; margin: 0 0 10px; }
.is-sold .card-img { filter: grayscale(.7); opacity: .8; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pager a { padding: 8px 12px; border-radius: 8px; background: var(--card); text-decoration: none; box-shadow: var(--shadow); }
.pager a[aria-current] { background: var(--sea); color: #fff; }

/* --- siluet --- */
.sil-bg { fill: var(--sil-bg); } .sil-sea { fill: var(--sil-sea); } .sil-hull { fill: var(--sil-hull); }
.sil-top { fill: var(--sil-top); } .sil-box { fill: var(--sil-box); stroke: var(--sil-bg); stroke-width: 1; }
.sil-win { fill: var(--sil-win); } .sil-line { fill: none; stroke: var(--sil-top); stroke-width: 3; stroke-linecap: round; }
.sil-label { fill: var(--sil-label); font: 700 15px var(--font); letter-spacing: 2px; }

/* --- ilan detayi --- */
.crumbs { font-size: 14px; color: var(--muted); padding: 14px 0; }
.crumbs a { color: var(--muted); }
.detail { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.detail-head { display: grid; }
@media (min-width: 860px) { .detail-head { grid-template-columns: 1.1fr 1fr; } }
.detail-img .sil { display: block; width: 100%; height: 100%; }
.detail-summary { padding: 18px; }
.detail-summary h1 { font-size: clamp(22px, 3.5vw, 30px); }
.key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.key div { background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.key dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.key dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.updated { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.detail-body { display: grid; gap: 24px; padding: 18px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .detail-body { grid-template-columns: 1.2fr 1fr; } }
.spec h2, .contact-box h2 { font-size: 19px; }
.spec table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.spec th, .spec td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.spec th { color: var(--muted); font-weight: 500; width: 45%; }
.spec td { font-variant-numeric: tabular-nums; }
.details-list { padding-left: 18px; margin: 0 0 16px; }
.details-list li { margin-bottom: 4px; }
.disclaimer { font-size: 13px; color: var(--muted); }
.contact-box { background: var(--bg); border-radius: var(--radius); padding: 16px; align-self: start; }
.similar { padding: 28px 0 40px; }
.similar h2 { font-size: 20px; }

/* --- sayfalar / alt --- */
.page { padding-top: 24px; padding-bottom: 40px; }
.prose h2 { font-size: 19px; margin-top: 1.4em; }
.inquiry { margin-top: 12px; }
.foot { background: var(--navy); color: #c8d8e6; padding: 28px 0; font-size: 14px; }
.foot a { color: #9cc4ee; }
.foot-in { display: grid; gap: 18px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 2fr 1fr 1fr; } }
.foot strong { color: #fff; }
.foot p { margin: 6px 0; }

@media print {
  .top, .foot, .no-print, .crumbs, .similar { display: none !important; }
  body { background: #fff; }
  .detail { box-shadow: none; }
  .detail-body { grid-template-columns: 1fr; }
}

/* e-posta goster dugmesi */
.mail-btn { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; color: var(--sea); cursor: pointer; }
.foot .mail-btn { color: #9cc4ee; border-color: rgba(255,255,255,.3); }
.mail-shown { font-weight: 600; }

/* kategori alt sekmeleri */
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subtabs a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 6px 12px; font-size: 14px; }
.subtabs a span { opacity: .7; margin-left: 4px; }
.subtabs a[aria-current] { background: #fff; color: var(--navy); border-color: #fff; font-weight: 600; }

/* ===== 1.0.21: sade tasarim (B2) — daha az mavi, kategori renkleri ===== */
.top { border-bottom: 1px solid var(--line); }
.hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
.eyebrow { color: var(--muted); }
.hero h1 { color: var(--navy); font-size: clamp(24px, 4vw, 34px); max-width: none; }
.hero h1 span { color: var(--navy); }
.lede, .smart-note { color: var(--muted); }
.smart input { border: 1px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend a { color: inherit; text-decoration: none; }
.legend a:hover { color: var(--ink); }
.subtabs a { color: var(--ink); border-color: var(--line); background: #fff; }
.subtabs a span { color: var(--muted); opacity: 1; }
.subtabs a[aria-current] { background: var(--cat, var(--navy)); border-color: var(--cat, var(--navy)); color: #fff; }
.subtabs a[aria-current] span { color: rgba(255,255,255,.8); }

/* gemi karti (ornek C): cizim ve baslik yok; ustte kategori renginde serit + tip */
.vcard { border-radius: 10px; }
.vcard .card-link { display: flex; flex-direction: column; height: 100%; }
.vc-top { background: var(--c, #6b7280); color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vc-type { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.vc-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fff; color: #111; border-radius: 4px; padding: 2px 7px; }
.vc-badge.sold { background: var(--sold); color: #fff; }
.vc-body { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vc-codes { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vc-code { font-size: 22px; font-weight: 700; letter-spacing: .01em; color: var(--c); }
.vc-ref { color: var(--muted); font-size: 13px; }
.vc-more { color: var(--c); font-weight: 600; font-size: 13px; margin-top: auto; }
.vcard.is-sold { opacity: .75; }

/* ilan detay basligi: tip + kod + ref */
.d-head { border-left: 6px solid var(--c, #6b7280); padding-left: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: clamp(20px, 3vw, 26px); }
.d-type { color: var(--c); text-transform: uppercase; letter-spacing: .05em; font-size: .7em; width: 100%; }
.d-code { font-weight: 800; }
.d-ref { color: var(--muted); font-weight: 500; font-size: .7em; }

/* alt bilgi: lacivert yerine acik */
.foot { background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.foot strong { color: var(--ink); }
.foot a { color: var(--navy); }
.foot .mail-btn { color: var(--navy); border-color: var(--line); }

/* ship types sayfasi */
.st-sec { margin: 26px 0; }
.st-sec h2 { border-left: 6px solid var(--c, var(--navy)); padding-left: 10px; }
.st-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.st-table th, .st-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.st-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #fafbfc; }
.st-table td:first-child { font-weight: 700; white-space: nowrap; }
.st-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-wrap { overflow-x: auto; }
.st-note { font-size: 14px; color: var(--muted); }
.subtabs.sub2 { margin-top: 8px; padding-left: 14px; border-left: 3px solid var(--cat, var(--navy)); }
.subtabs.sub2 a { font-size: 13px; padding: 4px 10px; }
