/*
Theme Name: Mariniva Mikro
Theme URI: https://mariniva.com
Author: Mariniva
Description: Bölgesel tekne kiralama mikro siteleri için tema (bozburuntekne.com, datcatekne.com, kastekne.com, selimiyetekne.com). Tekne ilanları, koylar rehberi, gezi rehberi, bilgi bölümü ve SSS içerir. Bölge adı ve iletişim bilgileri Görünüm > Özelleştir > Mikro site ayarları bölümünden değiştirilir.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mariniva
*/

/* ---------- Tokens ---------- */
:root {
  --deep: #0A3B47;      /* derin turkuaz */
  --deep-2: #0F5161;
  --teal: #0E9CA2;      /* koy turkuazı */
  --shallow: #A9E6E2;   /* sığ su */
  --foam: #EFF8F7;      /* köpük – sayfa zemini */
  --line: #C3DFDC;      /* harita çizgisi */
  --teak: #0A7C83;      /* eylem rengi (koyu turkuaz) */
  --teak-dark: #07636A;
  --ink: #0E2830;
  --muted: #46646A;
  --white: #FFFFFF;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: 2.25rem;
  --step-4: 3rem;

  --wrap: 72rem;
  --measure: 40rem;
  --gap: clamp(1rem, 3vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius-s: 4px;
  --radius-m: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.7;
  font-feature-settings: "kern", "liga", "onum";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid #F2B84B; outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100; background: var(--white); padding: 0.5rem 1rem; }

/* ---------- UI type (sans) ---------- */
.ui, .site-header, .btn, .spec, .chips, .breadcrumbs, .post-meta, .site-footer, .faq summary, .pagination, .mobile-bar {
  font-family: var(--sans);
  font-stretch: 92%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.3rem; border-radius: var(--radius-s);
  font-size: 1rem; font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--teak); color: var(--white); }
.btn-primary:hover { background: var(--teak-dark); color: var(--white); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { color: inherit; background: rgba(255,255,255,0.08); }
.btn-wa::before {
  content: ""; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.4 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.3 0 .5l-.3.5-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 1c.3.1.5.2.5.3.1.1.1.6-.2 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.4 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.3 0 .5l-.3.5-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 1c.3.1.5.2.5.3.1.1.1.6-.2 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--foam); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; color: var(--deep); }
.brand-name { font-family: var(--sans); font-stretch: 115%; font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-by { font-size: 0.8rem; color: var(--muted); font-stretch: 90%; }
.brand img { max-height: 2.75rem; width: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.primary-nav a { display: block; padding: 0.5rem 0.7rem; text-decoration: none; color: var(--ink); font-size: 0.98rem; font-weight: 500; border-radius: var(--radius-s); }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-parent > a { color: var(--teal); }
.primary-nav .sub-menu { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 0.5rem 0.9rem; border-radius: var(--radius-s); font: inherit; font-weight: 600; color: var(--deep); }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { position: absolute; inset: 100% 0 auto 0; background: var(--foam); border-bottom: 1px solid var(--line); display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { flex-direction: column; align-items: stretch; padding: 0.5rem var(--gap) 1rem; }
  .primary-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Hero: deniz haritası ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--foam); }
.hero-chart { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-chart path { fill: none; stroke: var(--teal); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-chart text { fill: var(--shallow); font-family: var(--serif); font-style: italic; font-size: 13px; opacity: 0.55; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: end; padding-block: clamp(4rem, 12vw, 9rem) clamp(3rem, 8vw, 5.5rem); }
.hero-place {
  font-family: var(--serif); font-weight: 300; line-height: 0.88; letter-spacing: -0.035em;
  font-size: clamp(3.75rem, 13vw, 10rem); margin: 0 0 1.25rem;
}
.hero-coords { font-family: var(--sans); font-stretch: 80%; font-size: 0.95rem; color: var(--shallow); margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.hero-lead { font-size: var(--step-1); line-height: 1.5; max-width: 32rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-photo { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(169,230,226,0.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-chart path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.6s ease-out forwards; }
  .hero-chart path:nth-of-type(2n) { animation-delay: 0.25s; }
  .hero-chart path:nth-of-type(3n) { animation-delay: 0.5s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (max-width: 760px) { .hero-inner { grid-template-columns: 1fr; } .hero-photo { aspect-ratio: 3 / 2; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 34rem; }
.section-head .more { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.section-deep { background: var(--deep); color: var(--foam); }
.section-deep a { color: var(--shallow); }
.section-deep .section-head p { color: var(--shallow); }
.intro-text { max-width: var(--measure); font-size: var(--step-1); line-height: 1.6; }
.intro-text > *:last-child { margin-bottom: 0; }

/* ---------- Tekne kartları (şartname) ---------- */
.boat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: var(--gap); }
.boat { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.boat-media { aspect-ratio: 3 / 2; background: var(--deep-2); position: relative; }
.boat-media img { width: 100%; height: 100%; object-fit: cover; }
.boat-media .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--shallow); font-family: var(--sans); font-size: 0.9rem; }
.boat-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.boat-type { font-family: var(--sans); font-stretch: 85%; font-size: 0.9rem; color: var(--teal); font-weight: 600; margin: 0; }
.boat h3 { margin: 0; font-size: var(--step-1); }
.boat h3 a { text-decoration: none; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 0.8fr)) minmax(0, 1.35fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec div { padding: 0.55rem 0.5rem 0.55rem 0; }
.spec div + div { padding-left: 0.6rem; border-left: 1px solid var(--line); }
.spec dt { font-size: 0.75rem; color: var(--muted); }
.spec dd { overflow-wrap: anywhere; margin: 0; font-weight: 600; font-size: 0.98rem; font-variant-numeric: tabular-nums lining-nums; }
.boat-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.price { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); }
.price strong { font-size: 1.15rem; color: var(--ink); }
.boat .btn { padding: 0.6rem 1rem; font-size: 0.95rem; }

/* ---------- Koylar: harita lejantı ---------- */
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); }
.legend li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.9rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(169,230,226,0.25); }
.legend .swatch { width: 1.75rem; height: 1.75rem; border-radius: 50%; margin-top: 0.25rem; border: 1px solid var(--shallow); background: radial-gradient(circle, var(--shallow) 0 22%, var(--teal) 23% 52%, var(--deep-2) 53%); }
.legend h3 { margin: 0 0 0.25rem; font-size: var(--step-1); }
.legend h3 a { color: var(--foam); text-decoration: none; }
.legend h3 a:hover { color: var(--shallow); text-decoration: underline; }
.legend p { margin: 0; font-size: 1rem; color: var(--shallow); line-height: 1.55; }
@media (max-width: 760px) { .legend { grid-template-columns: 1fr; } }

/* ---------- Rehber listeleri ---------- */
.guide-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.guide-cols h2 { font-size: var(--step-2); }
.link-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.link-list li { border-top: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 0.85rem 0; text-decoration: none; font-size: 1.075rem; line-height: 1.35; }
.link-list a:hover { color: var(--teal); }

/* ---------- Post satırları (arşiv) ---------- */
.post-rows { display: grid; gap: 0; }
.post-row { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row .thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-s); overflow: hidden; background: var(--shallow); }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-row h2 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.post-row h2 a { text-decoration: none; }
.post-row p { margin: 0; color: var(--muted); font-size: 1rem; max-width: var(--measure); }
.post-row.no-thumb { grid-template-columns: 1fr; }
@media (max-width: 600px) { .post-row { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ---------- Sayfa başlığı, breadcrumb, chip ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; }
.page-head h1 { max-width: 30ch; font-size: clamp(2.1rem, 4.2vw, 3rem); }
.page-head .lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: var(--measure); }
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.92rem; color: var(--ink); background: var(--white); }
.chips a:hover, .chips .is-active a { border-color: var(--teal); color: var(--teal); }

/* ---------- Yazı (single) ---------- */
.article { padding-bottom: var(--section); }
.article-grid { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 18rem); gap: clamp(2rem, 6vw, 5rem); justify-content: space-between; }
.post-meta { font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-bottom: 1.5rem; }
.featured { margin: 0 0 2.5rem; border-radius: var(--radius-m); overflow: hidden; }
.entry { font-size: 1.1875rem; line-height: 1.75; }
.entry h2 { font-size: var(--step-2); margin-top: 2.2em; }
.entry h3 { margin-top: 1.8em; }
.entry ul, .entry ol { padding-left: 1.25rem; }
.entry li { margin-bottom: 0.4em; }
.entry table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.98rem; margin: 1.5rem 0; }
@media (max-width: 600px) { .entry table:not(:has(th[scope="row"])) { display: block; overflow-x: auto; } }
.entry th, .entry td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry th { background: var(--white); }
.entry blockquote { margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--teal); color: var(--muted); }
.entry .boat-grid { margin: 2rem 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.entry .boat h3 { margin-top: 0; font-size: var(--step-1); }
.entry .boat p { margin: 0; }
.note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teak); padding: 1rem 1.25rem; border-radius: var(--radius-s); font-size: 1rem; }
.aside-box { position: sticky; top: 6rem; background: var(--deep); color: var(--foam); border-radius: var(--radius-m); padding: 1.5rem; }
.aside-box h2 { font-size: var(--step-1); }
.aside-box p { font-size: 1rem; color: var(--shallow); }
.aside-box .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .aside-box { position: static; } }

/* ---------- Tekne detay ---------- */
.boat-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.boat-hero .featured { margin: 0; aspect-ratio: 3 / 2; background: var(--deep-2); }
.boat-hero .featured img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; font-family: var(--sans); margin-bottom: 1.5rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.spec-table th { font-weight: 500; color: var(--muted); width: 45%; }
.spec-table td { font-weight: 600; font-variant-numeric: tabular-nums; }
.feature-list { columns: 2; column-gap: 2rem; padding-left: 1.1rem; }
@media (max-width: 860px) { .boat-hero { grid-template-columns: 1fr; } }

/* ---------- SSS ---------- */
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.25rem; max-width: var(--measure); }
.faq .answer > *:last-child { margin-bottom: 0; }
.section-deep .faq details { border-color: rgba(169,230,226,0.25); }

/* ---------- Sayfalama ---------- */
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: 0.5rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; background: var(--white); }
.pagination .current { background: var(--deep); color: var(--foam); border-color: var(--deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--shallow); padding-block: 4rem 6rem; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; color: var(--foam); font-weight: 650; }
.site-footer a { color: var(--foam); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(169,230,226,0.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobil sabit bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; z-index: 60; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.6rem; background: var(--foam); border-top: 1px solid var(--line); }
  .mobile-bar .btn { justify-content: center; }
  body { padding-bottom: 4.5rem; }
}

/* ---------- WP çekirdek sınıfları ---------- */
.alignwide { max-width: var(--wrap); }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-family: var(--sans); font-size: 0.88rem; color: var(--muted); margin-top: 0.5rem; }
.empty-state { padding: 2rem; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-m); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Mobil marka */
.brand-name { white-space: nowrap; }
@media (max-width: 520px) { .brand-by { display: none; } .brand-name { font-size: 1.1rem; } }

/* ---------- Dil seçici ---------- */
.header-tools { display: flex; align-items: center; gap: 0.5rem; order: 3; }
.lang-switch { position: relative; font-family: var(--sans); }
.lang-switch summary { list-style: none; cursor: pointer; padding: 0.45rem 0.7rem; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 650; font-size: 0.9rem; color: var(--deep); font-stretch: 100%; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; display: inline-block; width: 0.4em; height: 0.4em; margin-left: 0.45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 0.35rem); z-index: 70; list-style: none; margin: 0; padding: 0.35rem; min-width: 11rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
.lang-switch a { display: block; padding: 0.5rem 0.7rem; text-decoration: none; color: var(--ink); border-radius: var(--radius-s); font-size: 0.95rem; }
.lang-switch a:hover { background: var(--foam); color: var(--teal); }
.lang-switch a[aria-current] { font-weight: 650; color: var(--teal); }
@media (min-width: 961px) { .header-inner { flex-wrap: nowrap; } .primary-nav { order: 2; margin-left: auto; } .header-tools { order: 3; } .nav-toggle { display: none; } }

/* =========================================================
   v1.2 – Fotoğraf ağırlıklı katman
   ========================================================= */

/* Hero: tam ekran fotoğraf + harita çizgileri */
.hero { min-height: min(92vh, 56rem); display: flex; align-items: flex-end; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,59,71,0.15) 0%, rgba(10,59,71,0) 30%, rgba(10,59,71,0.55) 62%, rgba(10,59,71,0.94) 100%),
  linear-gradient(90deg, rgba(10,59,71,0.55) 0%, rgba(10,59,71,0) 60%); }
.hero-chart { z-index: -1; mix-blend-mode: screen; opacity: 0.5; }
.hero-chart path { stroke: var(--shallow); }
.hero-inner { display: block; width: min(100% - 2 * var(--gap), var(--wrap)); padding-block: 8rem clamp(3rem, 7vw, 5rem); }
.hero-place { font-size: clamp(4rem, 15vw, 12rem); text-shadow: 0 2px 30px rgba(10,59,71,0.35); margin-bottom: 1.5rem; }
.hero-coords { margin-bottom: 0.75rem; color: var(--foam); opacity: 0.9; }
.hero-lead { max-width: 36rem; color: var(--foam); }
.hero .btn-line { color: var(--foam); }

/* Giriş metni */
.intro .intro-text { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.55; max-width: 46rem; }
.intro .intro-text p:first-child::first-letter { font-size: 3.3em; float: left; line-height: 0.85; padding: 0.06em 0.12em 0 0; color: var(--teal); font-weight: 300; }

/* Tek tekne varken geniş yatay kart */
.boat-grid.is-single { grid-template-columns: 1fr; }
.boat-grid.is-single .boat { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.boat-grid.is-single .boat-media { aspect-ratio: auto; min-height: 22rem; }
.boat-grid.is-single .boat-body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; gap: 1.25rem; }
.boat-grid.is-single .boat h3 { font-size: var(--step-3); }
@media (max-width: 760px) { .boat-grid.is-single .boat { grid-template-columns: 1fr; } .boat-grid.is-single .boat-media { min-height: 0; aspect-ratio: 3 / 2; } }
.boat-media img { transition: transform 0.6s ease; }
.boat:hover .boat-media img { transform: scale(1.03); }

/* Fotoğraf bandı */
.band { position: relative; min-height: min(80vh, 44rem); display: flex; align-items: flex-end; color: var(--foam); overflow: hidden; isolation: isolate; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,59,71,0) 35%, rgba(10,59,71,0.85) 100%); }
.band-inner { padding-block: clamp(3rem, 8vw, 6rem); }
.band h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; max-width: 18ch; margin-bottom: 0.75rem; }
.band p { max-width: 34rem; font-size: var(--step-1); line-height: 1.5; margin-bottom: 1.75rem; }
.band .btn-line { color: var(--foam); }
.section + .band, .band + .section { border-top: 0; }

/* Koylar: fotoğraf + lejant */
.bays-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bays-photo { margin: 0; position: sticky; top: 6rem; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; }
.bays-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.bays .legend { grid-template-columns: 1fr; }
@media (max-width: 900px) { .bays-grid { grid-template-columns: 1fr; } .bays-photo { position: static; aspect-ratio: 16 / 9; } }

/* Rehber sütunları: öne çıkan yazı görseli */
.guide-lead { display: block; text-decoration: none; margin-bottom: 0.5rem; }
.guide-lead-img { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-m); overflow: hidden; background: var(--shallow); margin-bottom: 0.9rem; }
.guide-lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.guide-lead:hover img { transform: scale(1.03); }
.guide-lead-title { display: block; font-size: var(--step-1); line-height: 1.3; font-weight: 600; color: var(--ink); }
.guide-cols h2 { margin-bottom: 1rem; }
.more { font-weight: 600; }

/* Arşiv satırı */
.post-row { grid-template-columns: 14rem 1fr; align-items: center; }
.post-row .thumb { aspect-ratio: 3 / 2; border-radius: var(--radius-m); }
@media (max-width: 600px) { .post-row { grid-template-columns: 1fr; } }

/* Yazı görseli */
.featured { aspect-ratio: 16 / 9; background: var(--shallow); }
.featured img { width: 100%; height: 100%; object-fit: cover; }

/* Tekne sayfası */
.boat-page .page-head { padding-bottom: 1.5rem; }
.boat-page .boat-type { margin-bottom: 0.4rem; }
.gallery { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gallery.is-mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(9rem, 15rem)); }
.gallery.is-mosaic .gallery-item:first-child { grid-row: span 2; }
.gallery.is-mosaic .is-extra { display: none; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-s); background: var(--deep-2); aspect-ratio: 3 / 2; }
.gallery.is-mosaic .gallery-item { aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:first-child { border-radius: var(--radius-m) var(--radius-s) var(--radius-s) var(--radius-m); }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,59,71,0.55); color: var(--foam); font-family: var(--sans); font-size: 1.6rem; font-weight: 650; }
@media (max-width: 760px) {
  .gallery.is-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery.is-mosaic .gallery-item { aspect-ratio: 3 / 2; }
  .gallery.is-mosaic .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 34, 41, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: var(--radius-s); }
.lightbox button { position: fixed; background: rgba(238,243,241,0.12); color: var(--foam); border: 1px solid rgba(238,243,241,0.3); width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(238,243,241,0.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--shallow); font-size: 0.9rem; margin: 0; }
.boat-body-grid { margin-top: 0; }
.book-box { position: sticky; top: 6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.book-box .spec-table th, .book-box .spec-table td { font-size: 0.95rem; padding: 0.55rem 0; }
.book-price { margin: 0.25rem 0 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; margin-top: 0.6rem; }
.book-box .btn-line { color: var(--deep); }
.book-note { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
@media (max-width: 900px) { .book-box { position: static; } }
.entry table th[scope="row"] { width: 38%; font-weight: 500; color: var(--muted); background: transparent; }
.boat-videos { margin-top: 3rem; }
.video-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.75rem; align-items: start; }
.video-grid video { width: 100%; border-radius: var(--radius-m); background: var(--deep); }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .boat-body-grid > aside { order: -1; } }

/* WordPress yönetici çubuğu açıkken sabit menü */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
/* Turkuaz vurgular */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--shallow)); z-index: 1; }
.section-deep { background: linear-gradient(180deg, var(--deep) 0%, #08303A 100%); }
.boat-type, .post-meta a { color: var(--teal); }
.chips .is-active a { background: var(--teal); color: var(--white); border-color: var(--teal); }
.faq summary:hover { color: var(--teal); }

/* =========================================================
   v1.4 – Hero başlığı, açık SSS, Arapça (RTL)
   ========================================================= */
.hero-place { font-size: clamp(2.9rem, 8.6vw, 7.6rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 13ch; margin-bottom: 1.4rem; }
.hero-inner { padding-top: 10rem; }
.faq details[open] .answer { animation: none; }

/* Arapça */
[dir="rtl"] { --serif: "Noto Naskh Arabic", "Spectral", Georgia, serif; --sans: "IBM Plex Sans Arabic", "Archivo", system-ui, sans-serif; }
[dir="rtl"] body { line-height: 1.85; font-feature-settings: normal; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .hero-place, [dir="rtl"] .brand-name { letter-spacing: 0; }
[dir="rtl"] .hero-place { line-height: 1.25; font-weight: 500; }
[dir="rtl"] .ui, [dir="rtl"] .site-header, [dir="rtl"] .btn, [dir="rtl"] .spec, [dir="rtl"] .site-footer, [dir="rtl"] .faq summary { font-stretch: 100%; }
[dir="rtl"] .hero::before { background:
  linear-gradient(180deg, rgba(10,59,71,0.15) 0%, rgba(10,59,71,0) 30%, rgba(10,59,71,0.55) 62%, rgba(10,59,71,0.94) 100%),
  linear-gradient(270deg, rgba(10,59,71,0.55) 0%, rgba(10,59,71,0) 60%); }
[dir="rtl"] .breadcrumbs li + li::before { content: "\\"; margin-right: 0; margin-left: 0.35rem; }
[dir="rtl"] .entry ul, [dir="rtl"] .entry ol, [dir="rtl"] .feature-list { padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .entry blockquote { border-left: 0; border-right: 3px solid var(--teal); padding: 0.25rem 1.25rem 0.25rem 0; }
[dir="rtl"] .note { border-left: 1px solid var(--line); border-right: 4px solid var(--teak); }
[dir="rtl"] .entry th, [dir="rtl"] .entry td, [dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .spec div { padding: 0.55rem 0 0.55rem 0.5rem; }
[dir="rtl"] .spec div + div { padding-left: 0.5rem; padding-right: 0.6rem; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .faq summary { padding: 1.1rem 0 1.1rem 2.5rem; }
[dir="rtl"] .faq summary::after { right: auto; left: 0.25rem; }
[dir="rtl"] .lang-switch ul { right: auto; left: 0; }
[dir="rtl"] .lang-switch summary::after { margin-left: 0; margin-right: 0.45em; }
[dir="rtl"] .intro .intro-text p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-weight: inherit; }
[dir="rtl"] .gallery-item:first-child { border-radius: var(--radius-s) var(--radius-m) var(--radius-m) var(--radius-s); }
[dir="rtl"] .lb-prev { left: auto; right: 1rem; }
[dir="rtl"] .lb-next { right: auto; left: 1rem; }
[dir="rtl"] .alignleft { float: right; margin: 0 0 1rem 1.5rem; }
[dir="rtl"] .alignright { float: left; margin: 0 1.5rem 1rem 0; }
[dir="rtl"] .skip-link:focus { left: auto; right: 0.5rem; }
[dir="rtl"] .bays-photo img { object-position: 60% 50%; }
[dir="rtl"] .spec dd, [dir="rtl"] .spec-table td, [dir="rtl"] .entry td { unicode-bidi: plaintext; }
