/* ── COASTLINE GUIDE ──
   Palet bölgeden geliyor: derin Ege laciverti, turkuaz, kum taşı, güneş altını.
   Tipografi: Marcellus (Roma kapitalleri — antik Side) + Source Sans 3. */

:root {
  --sea-deep:  #0E3A4D;   /* derin Ege — başlıklar, header */
  --turquoise: #19A7CE;   /* kıyı turkuazı — linkler, vurgular */
  --sandstone: #E8DCC8;   /* antik taş — yüzeyler */
  --warm-white:#FAF8F3;   /* zemin */
  --sun-gold:  #F4B942;   /* CTA — dönüşüm rengi */
  --ink:       #1B2A32;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: var(--warm-white); color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand { font-family: "Marcellus", serif; font-weight: 400; line-height: 1.2; }
h1, h2 { text-wrap: balance; letter-spacing: .3px; }
a { color: var(--turquoise); text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--sun-gold); color: var(--sea-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sun-gold); outline-offset: 2px; border-radius: 4px;
}
.detail-content a:hover, .map-links a:hover, .site-footer a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px 16px;
  padding: 14px 5vw; background: var(--sea-deep); color: #fff;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(14,58,77,.25);
}
.brand { color: #fff; font-size: 1.35rem; letter-spacing: .5px; white-space: nowrap; display: flex; align-items: center; }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  background: var(--sun-gold); color: var(--sea-deep); border-radius: 50%;
  font-size: 1rem; margin-right: 4px;
}
.brand-thin { opacity: .65; }
.brand-logo { height: 36px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.nav-planner { color: #fff; border-bottom: 2px solid var(--sun-gold); padding-bottom: 2px; white-space: nowrap; }
.nav-planner:hover { color: var(--sun-gold); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  color: #fff; opacity: .55; padding: 5px 9px; border-radius: 6px; font-size: .85rem;
}
.lang-switch a:hover { opacity: .9; }
.lang-switch a.active { opacity: 1; background: rgba(255,255,255,.15); }

/* ── Hero ── */
.hero { text-align: center; padding: 72px 5vw 56px;
  background: linear-gradient(180deg, var(--sandstone), var(--warm-white)); }
.hero-eyebrow { letter-spacing: 4px; text-transform: uppercase; font-size: .8rem; color: var(--sea-deep); opacity: .7; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--sea-deep); margin: 10px 0 14px; }
.hero-sub { max-width: 540px; margin: 0 auto 28px; font-size: 1.08rem; opacity: .9; }

/* ── CTA butonları (affiliate dönüşüm odaklı) ── */
.cta-gold, .cta-outline {
  display: inline-block; padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer; border: 0;
  transition: transform .12s, box-shadow .12s, background-color .12s, color .12s;
}
.cta-gold { background: var(--sun-gold); color: var(--sea-deep); box-shadow: 0 3px 10px rgba(244,185,66,.3); }
.cta-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(244,185,66,.45); }
.cta-gold:disabled { opacity: .45; transform: none; box-shadow: none; cursor: not-allowed; }
.cta-outline { background: transparent; color: var(--sea-deep); border: 2px solid var(--sea-deep); }
.cta-outline:hover { background: var(--sea-deep); color: #fff; }
.cta-sm { padding: 8px 16px; font-size: .9rem; }

/* ── Mekan kartları (grid) ── */
.place-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 26px; padding: 40px 5vw 64px;
}
.place-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink);
  box-shadow: 0 2px 10px rgba(14,58,77,.08); transition: transform .15s, box-shadow .15s;
}
.place-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(14,58,77,.16); }
.place-img {
  height: 185px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0E3A4D, #19A7CE); /* gorsel yuklenmezse yedek */
}
.place-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.place-card:hover .place-img img { transform: scale(1.05); }
.region-tag {
  position: absolute; top: 12px; left: 12px; background: var(--sea-deep); color: #fff;
  font-size: .75rem; padding: 3px 10px; border-radius: 20px; letter-spacing: 1px;
}
.place-body { padding: 16px 18px 20px; }
.place-body h2 { font-size: 1.25rem; color: var(--sea-deep); margin-bottom: 6px; }
.place-body p { font-size: .93rem; opacity: .85; }
.rating { color: var(--sun-gold); font-weight: 700; letter-spacing: .5px; }

/* ── Detay sayfası ── */
.detail-hero {
  height: 340px; display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0E3A4D, #19A7CE); /* gorsel yuklenmezse yedek */
}
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero-text {
  position: relative; z-index: 1;
  padding: 26px 5vw; background: linear-gradient(transparent, rgba(14,58,77,.85)); width: 100%;
}
.detail-hero-text h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); }
/* Tek sutun: yan kolon yalnizca reklam kutusu tasiyordu, kaldirildi. */
.detail-layout {
  display: grid; grid-template-columns: minmax(0, 74ch);
  justify-content: center; padding: 40px 5vw 64px;
}
.detail-content { min-width: 0; }
.detail-content .lead { font-size: 1.15rem; color: var(--sea-deep); margin-bottom: 18px; }
.detail-content > p { margin-bottom: 12px; }

/* ── Affiliate teklif kartları ── */
.offer-card {
  background: #fff; border-radius: var(--radius); padding: 18px;
  border-left: 4px solid var(--turquoise);
  box-shadow: 0 2px 10px rgba(14,58,77,.08);
}
.offer-card h3, .offer-card h4 { color: var(--sea-deep); margin: 6px 0 8px; }
.offer-type {
  font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--turquoise); font-weight: 700;
}
.offer-meta { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 12px; opacity: .8; }
.offer-price { font-weight: 700; color: var(--sea-deep); }
.offer-general { border-left-color: var(--sandstone); }

/* ── Trip Planner ── */
.planner-head { padding: 28px 5vw 10px; }
.planner-head h1 { color: var(--sea-deep); }
.planner-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 0;
  height: calc(100vh - 190px); min-height: 520px; padding: 0 5vw 40px;
}
.planner-map { border-radius: var(--radius) 0 0 var(--radius); z-index: 1; }
.planner-side {
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px; overflow-y: auto; box-shadow: 0 2px 10px rgba(14,58,77,.08);
}
.planner-side .cta-gold { width: 100%; }

/* === Navigation panel === */
.nav-panel { margin-top: 12px; }
.nav-panel-inner {
  background: linear-gradient(135deg, #e8f4f8 0%, #f0faf4 100%);
  border: 1.5px solid #b2d8e8;
  border-radius: var(--radius);
  padding: 14px 16px;
  animation: fadeSlideIn .25s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-panel-title {
  font-family: "Marcellus", serif;
  color: var(--sea-deep);
  font-size: 1rem;
  margin: 0 0 4px;
  font-weight: 600;
}
.nav-panel-hint {
  font-size: .8rem;
  color: var(--sea-deep);
  opacity: .75;
  margin: 0 0 12px;
}
.nav-panel-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: transform .12s, box-shadow .12s;
  cursor: pointer;
}
.nav-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14,58,77,.18); }
.nav-btn-google {
  background: #fff;
  color: #1a73e8;
  border: 1.5px solid #1a73e8;
}
.nav-btn-google:hover { background: #e8f0fe; }
.nav-btn-apple {
  background: #1c1c1e;
  color: #fff;
  border: 1.5px solid #1c1c1e;
}
.nav-btn-apple:hover { background: #333; }
.route-summary { display: flex; gap: 10px; margin-bottom: 16px; }
.route-summary > div {
  flex: 1; background: var(--sandstone); border-radius: var(--radius);
  text-align: center; padding: 10px 4px;
}
.route-summary span { font-family: "Marcellus", serif; font-size: 1.5rem; color: var(--sea-deep); display: block; }
.route-summary small { display: block; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; opacity: .7; line-height: 1.3; }
.route-list { list-style: none; padding: 0; margin-bottom: 14px; counter-reset: stop; }
.route-list li {
  display: flex; align-items: center; gap: 10px; padding: 9px 4px;
  border-bottom: 1px dashed var(--sandstone); counter-increment: stop;
}
.route-list li::before {
  content: counter(stop); display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sea-deep); color: #fff; font-size: .8rem; flex-shrink: 0;
}
.route-list li.route-empty { counter-increment: none; font-size: .9rem; opacity: .6; border-bottom: 0; }
.route-list li.route-empty::before { content: none; }
.stop-name { flex: 1; }
.stop-remove { background: none; border: 0; font-size: 1.3rem; padding: 4px 10px; line-height: 1; cursor: pointer; opacity: .5; }
.stop-remove:hover { opacity: 1; color: #C0392B; }

/* harita pinleri */
.pin {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: grid; place-items: center;
  background: #fff; border: 2px solid var(--turquoise);
  color: var(--sea-deep); font-weight: 700; font-size: .85rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.pin > * { transform: rotate(45deg); }
.pin-active { background: var(--sun-gold); border-color: var(--sea-deep); }

.offer-panel { margin-top: 18px; }
.offer-panel-title { color: var(--sea-deep); font-size: 1.05rem; margin-bottom: 10px; }
.offer-mini { margin-bottom: 12px; }
.offer-empty { font-size: .9rem; opacity: .6; }

/* ── Footer ── */
.site-footer { background: var(--sea-deep); color: #fff; padding: 28px 5vw 32px; font-size: .88rem; border-top: 3px solid var(--sun-gold); }
.footer-brand { display: inline-block; margin-bottom: 14px; }
.footer-brand img { height: 30px; width: auto; display: block; }
/* Yasal sayfa baglantilari — turkuaz koyu zeminde 4.5:1'in altinda kaliyor,
   bu yuzden beyaz kullaniliyor. */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .85rem; }
.footer-links a { color: #fff; opacity: .8; }
.footer-links a:hover { opacity: 1; }
.site-footer .disclosure { opacity: .6; font-size: .8rem; margin-top: 6px; }
.site-footer .photo-credit { opacity: .55; font-size: .74rem; margin-top: 8px; line-height: 1.5; }
.site-footer .photo-credit a { color: inherit; text-decoration: underline; }

/* ── Detay sayfası içerik bölümleri ── */
.detail-content h2 { color: var(--sea-deep); font-size: 1.35rem; margin: 30px 0 10px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; margin: 16px 0 6px; }
.info-item { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.info-key { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; opacity: .55; }
.info-val { font-weight: 600; font-size: .95rem; }
.fee-note { font-size: .78rem; opacity: .55; }
.tips-list { padding-left: 20px; margin: 6px 0 0; }
.tips-list li { margin-bottom: 6px; }
.place-map { height: 320px; border-radius: var(--radius); margin: 12px 0 6px; z-index: 1; }
.map-links { font-size: .92rem; }
.faq-item { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 10px; }
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--sea-deep); }
.faq-item summary:hover { color: var(--turquoise); }
.faq-item p { margin-top: 8px; }
.nearby { max-width: 1180px; margin: 0 auto; padding: 10px 5vw 50px; }
.nearby h2 { color: var(--sea-deep); font-size: 1.35rem; margin-bottom: 14px; }
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.nearby-grid .place-img { height: 140px; }
.nearby-grid .place-body { padding: 12px 16px; }
.nearby-grid .place-body h3 { font-size: 1.05rem; color: var(--sea-deep); margin: 0; }

/* ── Rota sayfaları ── */
.route-strip { padding: 0 5vw 48px; }
.route-strip h2 { color: var(--sea-deep); font-size: 1.5rem; margin-bottom: 18px; }
.route-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }

/* Hazır rota kartları — mavi link yazısı yerine şık kart tasarımı */
.route-card {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(14,58,77,.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.route-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(14,58,77,.16); }
.route-card-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--sea-deep), var(--turquoise));
}
.route-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.route-card h3 {
  color: var(--sea-deep);
  font-size: 1.12rem;
  margin-bottom: 7px;
  font-family: "Marcellus", serif;
}
.route-card p {
  font-size: .9rem;
  color: var(--ink);
  opacity: .78;
  flex: 1;
  margin-bottom: 14px;
}
.route-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--turquoise);
  letter-spacing: .3px;
  transition: gap .15s;
}
.route-card:hover .route-card-cta { gap: 10px; }
.route-card-cta::after { content: "→"; font-size: 1rem; }

.route-days { max-width: 840px; margin: 0 auto; padding: 30px 5vw 50px; }
.route-days h1 { color: var(--sea-deep); font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 8px; }
.route-days .lead { font-size: 1.08rem; margin-bottom: 24px; }
.route-day { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 18px; }
.route-day h2 { color: var(--sea-deep); font-size: 1.25rem; margin-bottom: 8px; }
.route-day ul { padding-left: 20px; margin: 8px 0 0; }
.route-day li { margin-bottom: 6px; }

/* ── Rota haritası ── */
#route-map {
  height: 380px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  z-index: 1;
  box-shadow: 0 2px 12px rgba(14,58,77,.1);
}
#route-nav { margin-bottom: 20px; text-align: center; }
.route-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  gap: 6px;
  font-size: .95rem;
}
@media (max-width: 640px) {
  #route-map { height: 280px; }
}

/* ── Pazar/çarşı sayfası ── */
.market-map { height: 420px; }
.mkr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; margin: 10px 0 6px; }
.map-legend i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 10px; border: 1px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); margin-right: 6px; vertical-align: middle; }
.markets h2 { color: var(--sea-deep); font-size: 1.3rem; margin: 28px 0 12px; }
.market-item { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.market-item h3 { color: var(--sea-deep); font-size: 1.05rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.market-item p { font-size: .95rem; }
.market-item .map-links { margin-top: 4px; font-size: .85rem; }
.day-badge { background: var(--sun-gold); color: var(--sea-deep); font-family: "Source Sans 3", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .5px; padding: 2px 10px; border-radius: 20px; text-transform: uppercase; }
.markets .faq { margin-top: 24px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .planner-layout { grid-template-columns: 1fr; }
  .planner-layout { height: auto; }
  .planner-map { height: 55vh; min-height: 320px; border-radius: var(--radius); }
  .planner-side { border-radius: var(--radius); margin-top: 14px; }
  .main-nav { gap: 12px; }
  .detail-hero { height: 280px; }
}

@media (max-width: 640px) {
  /* Header */
  .site-header { padding: 12px 4vw; gap: 8px 12px; }
  .main-nav { width: 100%; justify-content: space-between; }
  .brand { font-size: 1.15rem; }
  /* Yatay logo minimum 120 px genislikte kalmali (marka kilavuzu) */
  .brand-logo { height: 30px; }
  .footer-brand img { height: 26px; }
  .nav-planner { font-size: .9rem; }
  .lang-switch a { padding: 6px 8px; font-size: .82rem; }

  /* Hero */
  .hero { padding: 48px 6vw 44px; }
  .hero-sub { font-size: 1rem; margin-bottom: 22px; }
  .hero .cta-gold { padding: 14px 26px; font-size: 1rem; width: 100%; text-align: center; }

  /* Hazır rotalar */
  .route-strip { padding: 0 4vw 36px; }
  .route-strip h2 { font-size: 1.3rem; margin-bottom: 14px; }
  .route-cards { grid-template-columns: 1fr; gap: 12px; }
  .route-card-body { padding: 16px 18px 18px; }
  .route-card h3 { font-size: 1.05rem; }

  /* Place kartları */
  .place-grid {
    grid-template-columns: 1fr 1fr;
    padding: 24px 4vw 40px;
    gap: 12px;
  }
  .place-img { height: 140px; }
  .place-body { padding: 12px 14px 14px; }
  .place-body h2 { font-size: 1rem; margin-bottom: 4px; }
  .place-body p { font-size: .82rem; }
  .rating { font-size: .85rem; }

  /* Detay */
  .detail-hero { height: 220px; }
  .detail-layout { gap: 20px; padding: 22px 4vw 32px; }
  .detail-content .lead { font-size: 1.05rem; }

  /* Rota detay */
  .route-days { padding: 24px 4vw 40px; }
  .route-day { padding: 16px 14px; }

  /* Diğer */
  .nearby { padding: 8px 4vw 36px; }
  .place-map { height: 240px; }
  .market-map { height: 300px; }
  .route-summary span { font-size: 1.25rem; }

  /* Footer */
  .site-footer { padding: 24px 4vw 28px; }
}

/* Extra küçük ekranlar (telefon dar) */
@media (max-width: 380px) {
  .place-grid { grid-template-columns: 1fr; }
  .place-img { height: 170px; }
}

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

/* ══ SEO bileşenleri ══
   Cevap kutusu, pazar günleri tablosu, yol tarifi, ücret bloğu, breadcrumb. */

/* ── Cevap-önce kutusu (featured snippet hedefi) ── */
.answer-box {
  background: #fff;
  border: 1px solid var(--sandstone); border-left: 5px solid var(--sun-gold);
  border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 20px;
  font-size: 1.12rem; line-height: 1.6; color: var(--sea-deep);
}
.answer-box p + p { margin-top: 8px; font-size: 1rem; color: var(--ink); }

/* ── Metin ağırlıklı sayfalar (hakkımızda, iletişim, gizlilik) ──
   .route-days yalnızca h1'e stil veriyordu; * { margin:0 } nedeniyle
   paragraflar ve başlıklar birbirine yapışıyordu. */
.text-page > p { margin-bottom: 12px; }
.text-page h2 { color: var(--sea-deep); font-size: 1.35rem; margin: 30px 0 10px; }
.text-page h3 { color: var(--sea-deep); font-size: 1.05rem; margin: 20px 0 6px; }
.text-page ul, .text-page ol { padding-left: 22px; margin: 0 0 14px; }
.text-page li { margin-bottom: 6px; }
.text-page .fee-box p + p { margin-top: 8px; }
.text-page code { background: #fff; border: 1px solid var(--sandstone); border-radius: 4px; padding: 1px 5px; font-size: .9em; }

/* Son güncelleme damgası */
.updated { font-size: .8rem; color: #5c6f78; margin: 0 0 18px; }

/* ── Pazar günleri tablosu ──
   Mobilde yatay kaydırma yok: satırlar karta dönüşür, başlıklar data-label'dan gelir. */
.market-table {
  width: 100%; border-collapse: collapse; margin: 0 0 20px;
  font-size: .95rem; background: #fff;
  border: 1px solid var(--sandstone); border-radius: var(--radius); overflow: hidden;
}
.market-table caption { caption-side: top; text-align: left; font-size: .85rem; color: #5c6f78; padding: 0 0 8px; }
.market-table th, .market-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--sandstone); vertical-align: top; }
.market-table thead th {
  background: var(--sea-deep); color: #fff;
  font-family: "Source Sans 3", sans-serif; font-weight: 600;
  font-size: .85rem; letter-spacing: .4px; text-transform: uppercase;
}
.market-table tbody tr:nth-child(even) { background: rgba(232,220,200,.28); }
.market-table tbody tr:last-child td { border-bottom: 0; }
.market-table .tbd { color: #8a7a5c; font-style: italic; }

@media (max-width: 640px) {
  .market-table, .market-table tbody, .market-table tr, .market-table td { display: block; }
  .market-table { border: 0; background: none; }
  .market-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .market-table tr { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 2px; }
  .market-table tbody tr:nth-child(even) { background: #fff; }
  .market-table td { border-bottom: 0; padding: 6px 14px; display: flex; gap: 12px; }
  .market-table td::before {
    content: attr(data-label); flex: 0 0 34%;
    font-weight: 700; color: var(--sea-deep);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .3px;
  }
}

/* ── Yol tarifi bloğu ── */
.directions { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; }
.directions h3 { color: var(--sea-deep); font-size: 1.05rem; margin-bottom: 10px; }
.directions dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .95rem; }
.directions dt { font-weight: 700; color: var(--sea-deep); }
.directions dd { margin: 0; }
.directions .free { color: #1f7a4d; font-weight: 700; }
.directions .maps-btn {
  display: inline-block; margin-top: 12px;
  background: var(--sun-gold); color: var(--sea-deep); font-weight: 700;
  padding: 9px 18px; border-radius: 8px; font-size: .9rem;
}
.directions .maps-btn:hover { filter: brightness(1.06); }

/* ── Giriş ücreti & saatler bloğu ── */
.fee-box { background: #fff; border: 1px solid var(--sandstone); border-left: 5px solid var(--turquoise); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; }
.fee-box h3 { color: var(--sea-deep); font-size: 1.05rem; margin-bottom: 10px; }
.fee-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .95rem; }
.fee-box dt { font-weight: 700; color: var(--sea-deep); }
.fee-box dd { margin: 0; }
.fee-box .free { color: #1f7a4d; font-weight: 700; }
.fee-box .tbd { color: #8a7a5c; font-style: italic; }

@media (max-width: 480px) {
  .directions dl, .fee-box dl { grid-template-columns: 1fr; gap: 2px; }
  .directions dd, .fee-box dd { margin-bottom: 8px; }
}

/* ── İç link kutusu ── */
.next-stop { background: rgba(25,167,206,.07); border: 1px dashed var(--turquoise); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; font-size: .95rem; }
.next-stop h3 { font-size: 1rem; color: var(--sea-deep); margin-bottom: 8px; }
.next-stop ul { margin: 0; padding-left: 18px; }
.next-stop li { margin-bottom: 5px; }

/* ── Ana sayfa: haftanin pazar gunleri ──
   Bugunun kutusu JS ile .today alir; JS calismazsa liste yine tam okunur. */
.market-week { max-width: 1180px; margin: 0 auto; padding: 10px 5vw 34px; }
.market-week h2 { color: var(--sea-deep); font-size: 1.35rem; margin-bottom: 14px; }
.week-days {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(148px, 100%), 1fr)); gap: 10px;
}
.week-days li { background: #fff; border: 1px solid var(--sandstone); border-radius: var(--radius); padding: 12px 14px; }
.week-days .wd {
  display: block; font-weight: 700; color: var(--sea-deep);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px;
}
.week-days .wm { font-size: .9rem; }
.week-days .wm.none { color: #8a7a5c; font-style: italic; }
.week-days li.today { border: 2px solid var(--sun-gold); box-shadow: 0 2px 10px rgba(244,185,66,.28); }
.week-days .wd[data-badge]::after {
  content: attr(data-badge); background: var(--sun-gold); color: var(--sea-deep);
  border-radius: 20px; padding: 1px 8px; margin-left: 8px; font-size: .7rem; letter-spacing: 0;
}

/* ── Dil secici ve 404 ──
   Onceden yalnizca index.html icinde inline duruyordu; 404.html de
   kullandigi icin ortak dosyaya alindi. */
.lang-gate {
  min-height: 100vh; display: grid; place-items: center; padding: 40px 6vw;
  background: linear-gradient(180deg, var(--sandstone), var(--warm-white)); text-align: center;
}
.lang-gate .brand { color: var(--sea-deep); font-size: 1.6rem; display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.lang-gate .brand-logo { height: 48px; width: auto; }
.lang-gate h1 { color: var(--sea-deep); font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 8px; }
.lang-gate p { opacity: .8; margin-bottom: 26px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; padding: 0; }
.lang-list a {
  display: block; background: #fff; color: var(--sea-deep); font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius); border: 1px solid var(--sandstone);
  box-shadow: 0 2px 10px rgba(14,58,77,.08); transition: transform .12s, box-shadow .12s;
}
.lang-list a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,58,77,.15); }

/* ── Kok sayfa: ucret + saat karsilastirma tablosu ──
   Kok URL artik dil menusu degil; hicbir dil sayfasinda olmayan
   tek bir karsilastirma tablosu tasiyor. */
.root-hero { padding-bottom: 34px; }
.lang-pick { font-size: .95rem; opacity: .85; margin-bottom: 14px; }
.lang-pick a { color: var(--turquoise); font-weight: 600; }
.lang-pick a:hover { text-decoration: underline; }
.lang-cta { margin: 0; }

.fee-table-wrap { max-width: 1180px; margin: 0 auto; padding: 0 5vw 40px; }
.table-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tt-search input {
  width: min(280px, 100%); padding: 10px 14px; font: inherit; font-size: .95rem;
  border: 1px solid var(--sandstone); border-radius: var(--radius); background: #fff; color: inherit;
}
.tt-search input:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 1px; }
.tt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 20px; background: #fff;
  border: 1px solid var(--sandstone); color: var(--sea-deep);
}
.chip:hover { border-color: var(--turquoise); }
.chip.active { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }

.table-scroll { overflow-x: auto; border: 1px solid var(--sandstone); border-radius: var(--radius); background: #fff; }
.fee-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fee-table caption { caption-side: bottom; padding: 12px 14px; font-size: .82rem; opacity: .7; text-align: left; }
.fee-table th, .fee-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--sandstone); }
.fee-table thead th {
  border-top: 0; background: var(--sandstone); color: var(--sea-deep);
  font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.fee-table tbody th { font-weight: 600; }
.fee-table tbody th a { color: var(--sea-deep); }
.fee-table tbody th a:hover { text-decoration: underline; }
.fee-table tbody tr:nth-child(even) { background: rgba(241,237,228,.4); }
.c-fee { font-weight: 600; }
.c-fee.is-free { color: #1f7a4d; }
.c-hours, .c-dur { white-space: nowrap; }
.c-langs { white-space: nowrap; }
.c-langs a {
  display: inline-block; padding: 2px 7px; margin-right: 3px; border-radius: 4px;
  font-size: .74rem; font-weight: 700; letter-spacing: .5px;
  border: 1px solid var(--sandstone); color: var(--turquoise);
}
.c-langs a:hover { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }
.no-hits { padding: 18px 4px; opacity: .7; }

.root-week .week-days .wm { display: block; color: var(--turquoise); font-weight: 600; }
.root-week .week-days a.wm:hover { text-decoration: underline; }
.root-week .week-days .wt { display: block; font-size: .8rem; opacity: .6; margin-top: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 760px) {
  .fee-table .c-region, .fee-table .c-dur { display: none; }
  .fee-table th, .fee-table td { padding: 10px 11px; }
  .table-tools { flex-direction: column; align-items: stretch; }
  .tt-search input { width: 100%; }
}

/* 404'e ozel */
.nf-sub { font-size: .92rem; max-width: 62ch; margin-left: auto; margin-right: auto; margin-bottom: 10px !important; }
.nf-lead { font-weight: 600; color: var(--sea-deep); opacity: 1 !important; margin-bottom: 20px !important; }
.nf-links { margin-top: 26px; font-size: .9rem; }
.nf-links a { color: var(--turquoise); }
.nf-links a:hover { text-decoration: underline; }

/* ── Breadcrumb ──
   Varsayilan genislik detay sayfalarinin kabiyla (1180px) ayni.
   Pazar sayfalari 840px'lik .route-days kullaniyor -> .crumbs-narrow. */
.crumbs { max-width: 1180px; margin: 0 auto; padding: 12px 5vw 0; font-size: .85rem; color: #5c6f78; }
.crumbs-narrow { max-width: 840px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li::after { content: "›"; margin-left: 6px; opacity: .5; }
.crumbs li:last-child::after { content: ""; }
