/* Varsayılan değişkenler — themes.js üzerine yazar */

:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --border: #e2e8f0;
  --badge-test: #d97706;
  --badge-live: #16a34a;
  --badge-soon: #94a3b8;
  --radius: 12px;
  --hero-bg: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --logo-bg: transparent;
  --logo-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --logo-radius: 1rem;
  --btn-radius: 10px;
  --btn-transform: none;
  --card-hover: rgba(37, 99, 235, 0.3);
  --featured-border: rgba(37, 99, 235, 0.35);
  --featured-bg: linear-gradient(165deg, #ffffff 0%, #f8fafc 60%);
  --test-btn-color: #b45309;
  --test-btn-border: rgba(217, 119, 6, 0.35);
  --test-btn-bg: rgba(251, 191, 36, 0.15);
  --test-btn-bg-hover: rgba(251, 191, 36, 0.25);
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
}

html[lang="th"] body {
  line-height: 1.7;
}

.top-controls {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  left: auto;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: calc(100vw - 1.5rem);
}

.lang-picker,
.theme-picker {
  position: relative;
  width: auto;
  max-width: min(100vw - 1.5rem, 52rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.lang-picker-label,
.theme-picker-label {
  font-size: 0.72rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.3;
  margin: 0;
  text-align: left;
  appearance: none;
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.lang-picker-label:hover,
.theme-picker-label:hover {
  color: var(--text);
  border-color: var(--accent);
}

.lang-picker-label strong,
.theme-picker-label strong {
  color: var(--text);
  font-weight: 600;
}

.lang-bar,
.theme-bar {
  display: none;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  max-width: 100%;
}

.lang-picker--open .lang-bar,
.theme-picker--open .theme-bar {
  display: flex;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.lang-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.lang-btn.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.lang-flag {
  display: inline-block;
  width: 1.15rem;
  height: 0.86rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  vertical-align: -0.05em;
}

#lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-code {
  font-variant-numeric: tabular-nums;
}

.lang-native {
  color: var(--text-muted);
  font-weight: 500;
}

.lang-btn.is-active .lang-native {
  color: var(--text);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.theme-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.theme-btn.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

body[data-theme="beyaz"] .theme-btn.is-active {
  border-color: #d4d4d8;
  background: rgba(15, 23, 42, 0.06);
}

.theme-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--swatch);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
}

.theme-btn[data-theme-id="beyaz"] .theme-swatch {
  box-shadow: 0 0 0 1px #cbd5e1;
}

.theme-name {
  white-space: nowrap;
}

.container {
  width: min(1080px, 92vw);
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 5.25rem 0 4.25rem;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% -10%, var(--accent-soft), transparent 70%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

.hero-inner {
  text-align: center;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.35rem auto 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 85%, transparent);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  backdrop-filter: blur(8px);
}

.hero-chip::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}

.logo-mark {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--logo-bg);
  border-radius: var(--logo-radius);
  box-shadow: var(--logo-shadow);
  transition: background 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0 0.25rem;
}

.brand-lockup--horizontal {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.35em;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.75rem, 8.5vw, 4rem);
  margin: 0.5rem auto 0.25rem;
  width: fit-content;
  max-width: 100%;
}

.brand-lockup--horizontal .brand-icon {
  grid-column: 1;
  grid-row: 1;
  width: 1.55em;
  height: 1.55em;
  flex-shrink: 0;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: var(--logo-shadow);
  align-self: center;
}

.brand-lockup--horizontal .brand-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--text);
  align-self: center;
}

.brand-lockup--horizontal .brand-tagline {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 0.22em;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--text-muted);
  font-style: italic;
  text-align: left;
  display: inline-block;
  transform: skewX(-14deg);
  transform-origin: left center;
}

.brand-icon {
  width: 1.55em;
  height: 1.55em;
  flex-shrink: 0;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: var(--logo-shadow);
}

.brand-text {
  text-align: center;
}

.brand-text h1 {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--text);
}

body[data-theme="elektrik"] .brand-title,
body[data-theme="elektrik"] .brand-text h1 {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  margin: 0.4em 0 0;
  font-size: 0.22em;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--text-muted);
  font-style: italic;
  display: inline-block;
  transform: skewX(-14deg);
  transform-origin: left center;
}

.brand-tagline::first-letter {
  text-transform: lowercase;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

body[data-theme="elektrik"] .hero h1 {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.lead {
  margin: 1.35rem auto 1.35rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: var(--btn-transform);
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 36%, transparent);
}

.btn-ghost {
  background: color-mix(in srgb, var(--bg-card) 70%, transparent);
  color: var(--text);
  border-color: color-mix(in srgb, var(--border) 80%, var(--text-muted));
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  margin-top: auto;
  border-radius: var(--btn-radius);
  text-transform: var(--btn-transform);
  letter-spacing: 0.06em;
}

.btn-disabled {
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
}

.btn-play {
  background: rgba(61, 220, 132, 0.1);
  color: var(--badge-live);
  border: 1px solid rgba(61, 220, 132, 0.35);
}

.btn-play:hover {
  background: rgba(61, 220, 132, 0.18);
}

.btn-test {
  background: var(--test-btn-bg);
  color: var(--test-btn-color);
  border: 1px solid var(--test-btn-border);
  cursor: pointer;
}

.btn-test:hover {
  background: var(--test-btn-bg-hover);
}

.section {
  padding: 3.75rem 0;
}

.section-muted {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
  transition: background 0.25s;
}

.section-head {
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.section-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2,
.section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.25;
}

.section-desc {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.6;
}

.section-head .section-desc {
  margin-bottom: 0;
}

.product-tabs {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.35rem;
  margin: 0 0 1.5rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.product-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.product-tab:hover {
  color: var(--text);
}

.product-tab.is-active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, transform 0.2s, background 0.25s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.05), 0 16px 36px rgba(15, 23, 42, 0.08);
}

.card-featured {
  border-color: var(--featured-border);
  background: var(--featured-bg);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 22%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--bg-card) 70%, var(--accent-soft)),
    0 0 0 4px color-mix(in srgb, var(--border) 80%, transparent),
    0 2px 10px rgba(15, 23, 42, 0.12);
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card-does,
.card-gains {
  margin: 0;
}

.card-label {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.card-does p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-gains-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.card-gains-list li + li {
  margin-top: 0.25rem;
}

.card-gains-list li::marker {
  color: var(--accent);
}

.guide-block {
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.guide-block h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.guide-block .guide-desc {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 720px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.guide-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.guide-panel p,
.guide-panel ul {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.guide-panel ul {
  padding-left: 1.1rem;
}

.guide-panel li + li {
  margin-top: 0.3rem;
}

.guide-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.data-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.data-grid .data-card:nth-child(2)::before {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.data-grid .data-card:nth-child(3)::before {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.data-grid .data-card:nth-child(4)::before {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

.data-grid .data-card:nth-child(5)::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.data-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-hover);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.data-card--wide {
  grid-column: 1 / -1;
}

.data-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.data-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.data-card-head h2 {
  margin: 0;
}

.data-select-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.data-select {
  min-width: 9rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}

.data-status {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.data-status.is-error {
  color: #b91c1c;
}

.data-status.is-live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: live-dot-pulse 2s ease-out infinite;
  vertical-align: middle;
}

body[data-theme="beyaz"] .data-status.is-live {
  color: #15803d;
}

@keyframes live-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.data-city {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.data-temp {
  margin: 0.2rem 0 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  background: linear-gradient(120deg, #22d3ee, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

body[data-theme="beyaz"] .data-temp {
  background: linear-gradient(120deg, #0891b2, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
}

.data-desc {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.data-extra {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.data-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.data-table tbody th {
  font-weight: 600;
  color: var(--text);
}

.data-table td {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.data-table tbody tr:nth-child(even) {
  background: var(--bg-muted);
}

.data-table tbody tr {
  transition: background 0.15s ease;
}

.data-table tbody tr:hover {
  background: var(--accent-soft);
}

.data-holidays {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.data-holidays li + li {
  margin-top: 0.4rem;
}

.data-holidays strong {
  color: var(--text);
}

.data-source {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.data-source a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 720px) {
  .data-grid {
    grid-template-columns: 1fr;
  }

  .data-card--wide {
    grid-column: auto;
  }
}

.clock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.clock-box {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-soft) 130%);
}

.clock-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.clock-time {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.daily-tip {
  margin: 0;
  padding: 0.8rem 0.95rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  border-left: 4px solid #d97706;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.04));
}

.fx-box {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.fx-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.fx-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.fx-input {
  width: 6.5rem;
  min-width: 5rem;
}

.fx-arrow {
  font-weight: 700;
  color: var(--text-muted);
}

.fx-result {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem 1.15rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.explore-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 55%, var(--border));
  transition: background 0.18s, top 0.18s, bottom 0.18s;
}

.explore-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06), 0 16px 32px rgba(15, 23, 42, 0.08);
}

.explore-card:hover::before {
  top: 0.55rem;
  bottom: 0.55rem;
  background: var(--accent);
}

.explore-card strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.explore-card span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 500;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 0.15rem 1rem 0.85rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  padding: 0.85rem 0 0.35rem;
  list-style-position: outside;
}

.faq-item p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.55;
}

.faq-item a {
  color: var(--accent);
  font-weight: 700;
}

.th-weather-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.th-weather-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.th-weather-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.th-weather-temp {
  margin: 0.35rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.th-weather-desc {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.th-pack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

.th-pack-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.th-pack-list input {
  margin-top: 0.2rem;
}

.th-info-block {
  margin: 0 0 1.5rem;
  padding: 1.4rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.th-info-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.th-info-lead {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 46rem;
}

.th-info-lead strong {
  color: var(--text);
}

.th-info-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.th-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.th-reason-grid--home {
  margin-top: 1rem;
}

.th-reason-card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.th-reason-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: var(--text);
}

.th-reason-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text-muted);
}

.th-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.th-plan-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.th-plan-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--text);
}

.th-plan-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.th-plan-card li + li {
  margin-top: 0.35rem;
}

.th-plan-card a {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.th-plan-card > p {
  margin: 0.85rem 0 0;
}

.th-plan-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

.th-plan-badge--sea {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.th-plan-tip {
  margin: 1rem 0 0;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-muted);
}

.th-plan-tip strong {
  color: var(--text);
}

.th-plan-tip a {
  color: var(--accent);
  font-weight: 700;
}

.th-app-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.35rem;
  align-items: flex-start;
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.th-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.th-app-body {
  flex: 1;
  min-width: min(100%, 16rem);
}

.th-app-badge {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
}

.th-app-body h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: var(--text);
}

.th-app-body > p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-muted);
}

.th-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.th-app-features li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.th-phrase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.th-phrase {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}

.th-phrase strong {
  font-size: 1rem;
  color: var(--text);
}

.th-phrase span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .th-phrase-list {
    grid-template-columns: 1fr;
  }
}

.th-pack-box {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.th-pack-box h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.th-pack-box > p {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .th-reason-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .explore-grid,
  .th-weather-strip,
  .th-pack-list,
  .clock-grid,
  .th-reason-grid,
  .th-plan-grid {
    grid-template-columns: 1fr;
  }
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.place-card {
  padding: 1.4rem 1.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* —— Hareketli CSS (Tayland + genel) —— */
@keyframes cborn-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cborn-hero-shift {
  0% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 40%;
  }
}

@keyframes cborn-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes cborn-badge-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

@keyframes cborn-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.motion-fade-up {
  animation: cborn-fade-up 0.7s ease both;
}

.motion-delay-1 {
  animation-delay: 0.1s;
}

.motion-delay-2 {
  animation-delay: 0.2s;
}

.motion-delay-3 {
  animation-delay: 0.35s;
}

.page-hero--motion {
  position: relative;
  overflow: hidden;
}

.hero-motion-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    var(--accent-soft),
    transparent 40%,
    rgba(16, 185, 129, 0.12),
    transparent 70%,
    var(--accent-soft)
  );
  background-size: 220% 220%;
  animation: cborn-hero-shift 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-motion-content {
  position: relative;
  z-index: 1;
}

.place-card--motion {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  animation: cborn-fade-up 0.75s ease both, cborn-float 5s ease-in-out 0.8s infinite;
}

.place-card--motion:hover {
  border-color: var(--card-hover);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.place-card--motion.motion-delay-3 {
  animation-delay: 0.35s, 1.1s;
}

.place-badge--pulse {
  animation: cborn-badge-glow 2.2s ease-in-out infinite;
}

.hero-motion-bg {
  opacity: 0.95;
}

.page-tayland .place-card--motion::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.page-tayland .place-card--motion {
  position: relative;
  overflow: hidden;
}

.page-tayland .place-card--motion:hover::before {
  opacity: 1;
  animation: cborn-shimmer 0.9s ease;
}

.page-tayland .btn-primary {
  transition: transform 0.2s ease, background 0.18s;
}

.page-tayland .btn-primary:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .motion-fade-up,
  .hero-motion-bg,
  .place-badge--pulse,
  .place-card--motion,
  .page-tayland .place-card--motion:hover::before {
    animation: none !important;
  }

  .place-card--motion:hover,
  .page-tayland .btn-primary:hover {
    transform: none;
  }

  .hero-motion-bg {
    opacity: 0.35;
  }
}

.place-badge {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
}

.place-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.place-lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.place-card h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.place-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.place-card li + li {
  margin-top: 0.35rem;
}

.place-card strong {
  color: var(--text);
}

.place-note {
  margin: 1.1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.place-note a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 800px) {
  .place-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Tayland sayfa süs —— */
.page-tayland {
  --th-gold: #c9a227;
  --th-teal: #0d9488;
  --th-sea: #0284c7;
  --th-sand: #fff7ed;
  --th-ink: #1a1a2e;
}

.page-tayland .th-hero {
  border-bottom: none;
}

.page-tayland .th-hero .hero-motion-bg {
  background: linear-gradient(
    125deg,
    rgba(201, 162, 39, 0.18),
    rgba(13, 148, 136, 0.14) 35%,
    rgba(2, 132, 199, 0.16) 65%,
    rgba(201, 162, 39, 0.12)
  );
  background-size: 240% 240%;
}

.th-hero-ornament {
  position: absolute;
  inset: auto -10% -40% auto;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.16), transparent 68%);
  pointer-events: none;
  animation: cborn-float 8s ease-in-out infinite;
}

.th-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--th-teal);
}

.page-tayland .th-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  letter-spacing: -0.02em;
  color: var(--th-ink);
}

.th-hero-sub {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--th-gold);
  letter-spacing: 0.02em;
}

.th-route {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.th-route-dot {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--th-ink);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.18);
}

.th-route-dot--sea {
  background: rgba(2, 132, 199, 0.15);
  color: #0c4a6e;
}

.th-route-line {
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--th-gold), var(--th-sea));
  position: relative;
  overflow: hidden;
}

.th-route-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: cborn-shimmer 1.8s linear infinite;
}

.th-main {
  background:
    radial-gradient(ellipse 80% 40% at 10% 0%, rgba(201, 162, 39, 0.06), transparent),
    radial-gradient(ellipse 70% 35% at 90% 10%, rgba(2, 132, 199, 0.07), transparent);
}

.place-card--bangkok,
.place-card--pattaya {
  padding: 0;
  overflow: hidden;
}

.place-visual {
  position: relative;
  min-height: 7.5rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
}

.place-visual--bangkok {
  background:
    linear-gradient(160deg, rgba(26, 26, 46, 0.15), transparent 50%),
    linear-gradient(135deg, #f59e0b 0%, #ea580c 40%, #0f766e 100%);
}

.place-visual--pattaya {
  background:
    linear-gradient(180deg, transparent 30%, rgba(12, 74, 110, 0.35)),
    linear-gradient(145deg, #38bdf8 0%, #0284c7 45%, #0369a1 100%);
}

.place-visual-label {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.place-body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.place-card--bangkok {
  border-color: rgba(201, 162, 39, 0.35);
}

.place-card--pattaya {
  border-color: rgba(2, 132, 199, 0.35);
}

.place-badge--sea {
  color: var(--th-sea);
  background: rgba(2, 132, 199, 0.12);
}

.th-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.th-chips span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #92400e;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.th-chips--sea span {
  color: #0c4a6e;
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.28);
}

.th-tip-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: linear-gradient(120deg, rgba(13, 148, 136, 0.1), rgba(201, 162, 39, 0.08));
  box-shadow: var(--shadow);
}

.th-tip-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--th-teal), #0f766e);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

.th-tip-banner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--th-ink);
}

.th-tip-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.th-closing {
  margin-top: 2rem;
  max-width: 42rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.th-closing h2 {
  margin-top: 0;
}

body[data-theme="karanlik"].page-tayland .th-eyebrow {
  color: #5eead4;
}

body[data-theme="karanlik"].page-tayland .th-hero h1,
body[data-theme="karanlik"].page-tayland .th-tip-banner h2 {
  color: var(--text);
}

body[data-theme="karanlik"].page-tayland .th-route {
  background: rgba(15, 23, 42, 0.55);
}

body[data-theme="karanlik"].page-tayland .th-closing {
  background: var(--bg-card);
}

.th-map-section {
  margin: 0 0 2rem;
  padding: 1.35rem 1.35rem 1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(2, 132, 199, 0.28);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.th-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.th-map-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  color: var(--th-ink);
}

.th-map-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.th-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.th-map-btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
}

.th-map {
  width: 100%;
  height: min(420px, 58vh);
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  z-index: 1;
  background: #e2e8f0;
}

.th-map-source {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.th-map-source a {
  color: var(--accent);
  font-weight: 600;
}

.th-map-pin {
  background: transparent !important;
  border: none !important;
}

.th-map-pin-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pin, #0d9488);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}

.th-map-pin-label {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  vertical-align: middle;
  white-space: nowrap;
}

.leaflet-popup-content {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1a1a2e;
}

.leaflet-popup-content a {
  color: #0d9488;
  font-weight: 600;
}

body[data-theme="karanlik"] .th-map-head h2 {
  color: var(--text);
}

.th-media {
  margin: 0 0 2.25rem;
  padding: 1.5rem 1.4rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(13, 148, 136, 0.25);
  background: linear-gradient(165deg, rgba(255, 247, 237, 0.9), rgba(240, 253, 250, 0.85));
  box-shadow: var(--shadow);
}

.th-media-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--th-ink);
}

.th-media-head p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.th-media-sub {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--th-teal);
}

.th-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.th-video-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
}

.th-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.th-video-card figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background: #1e293b;
}

.th-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.th-photo {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--bg-muted);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.th-photo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.th-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.th-media-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

body[data-theme="karanlik"] .th-media {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.9), rgba(13, 148, 136, 0.12));
}

body[data-theme="karanlik"] .th-media-head h2 {
  color: var(--text);
}

@media (max-width: 900px) {
  .th-video-grid {
    grid-template-columns: 1fr;
  }

  .th-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  white-space: nowrap;
}

a.badge {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

a.badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

a.badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.badge-test {
  background: rgba(245, 166, 35, 0.12);
  color: var(--badge-test);
}

.badge-live {
  background: rgba(61, 220, 132, 0.12);
  color: var(--badge-live);
}

.badge-demo {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-soon {
  background: rgba(107, 107, 107, 0.2);
  color: var(--badge-soon);
}

body[data-theme="karanlik"] .badge-test {
  background: rgba(255, 255, 255, 0.14);
  color: var(--badge-test);
}

body[data-theme="karanlik"] .btn-test {
  color: var(--test-btn-color);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

body[data-theme="karanlik"] .btn-test:hover {
  background: rgba(255, 255, 255, 0.14);
}

.about p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.about-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.about-list li + li {
  margin-top: 0.35rem;
}

.contact {
  text-align: center;
}

.contact .section-desc {
  margin-inline: auto;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-actions .btn {
  margin-top: 0.5rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-card) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), 0 8px 24px rgba(15, 23, 42, 0.03);
}

.site-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.8rem 0;
  min-height: 3.35rem;
}

.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.site-nav-brand img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--border) 70%, transparent);
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  align-items: center;
}

.site-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.site-nav-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.site-nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

.page-hero {
  padding: 2.75rem 0 1.75rem;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-hero .section-desc {
  margin-bottom: 0;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a {
  color: var(--accent);
  font-weight: 600;
}

/* Butonlar prose link rengini yemesin (mavi üstünde mavi yazı) */
.prose a.btn {
  font-weight: 600;
}

.prose a.btn-primary {
  color: #fff;
}

.prose a.btn-primary:hover {
  color: #fff;
}

.prose a.btn-ghost {
  color: var(--text);
}

.prose code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--text);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose .updated {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-list {
  display: grid;
  gap: 1rem;
}

/* Ana sayfa canlı veri şeridi */
.live-strip {
  border-block: 1px solid var(--border);
  background: var(--accent-soft);
}

.live-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.live-strip-item:empty {
  display: none;
}

.live-strip-link {
  color: var(--accent, #2563eb);
  text-decoration: none;
  font-weight: 700;
}

.live-strip-link::after {
  content: " →";
}

.live-strip-link:hover {
  text-decoration: underline;
}

/* Blog kategori filtresi */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.blog-filter button {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.blog-filter button:hover {
  border-color: var(--card-hover);
}

.blog-filter button.is-active {
  background: var(--accent, #2563eb);
  border-color: var(--accent, #2563eb);
  color: #fff;
}

.blog-card {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: var(--card-hover);
  transform: translateY(-2px);
}

.blog-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.blog-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ad-slot {
  margin: 1.5rem 0;
  min-height: 0;
  border: 1px dashed transparent;
}

.ad-slot--ready {
  min-height: 90px;
  border-color: var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
}

.footer {
  position: relative;
  padding: 2.4rem 0 2.75rem;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-muted) 55%, transparent) 0%, transparent 48%),
    var(--bg);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(12rem, 40vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-inner > p:first-of-type {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.35rem;
  justify-content: center;
  max-width: 46rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.footer-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.footer-note {
  margin: 0;
  width: 100%;
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.footer-legal {
  margin: 0;
  max-width: 36rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.5rem;
  }

  .site-nav-inner {
    align-items: flex-start;
  }

  .site-nav-links {
    width: 100%;
    gap: 0.45rem 0.75rem;
  }

  .brand-lockup--horizontal {
    column-gap: 0.75rem;
    row-gap: 0.3em;
  }

  .top-controls {
    top: auto;
    bottom: 0.85rem;
    right: 0.75rem;
    left: auto;
    align-items: flex-end;
  }

  .lang-bar,
  .theme-bar {
    justify-content: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: calc(100vw - 1.5rem);
    padding-bottom: 0.15rem;
  }

  .lang-native,
  .theme-name {
    display: none;
  }

  .lang-btn {
    padding: 0.35rem 0.5rem;
    flex-shrink: 0;
  }

  .theme-btn {
    padding: 0.35rem;
    border-radius: 50%;
    flex-shrink: 0;
  }
}
