/* ==========================================================================
   EvreşeNET — Evreşe Belediyesi ücretsiz internet hizmeti
   Ana stil dosyası
   ========================================================================== */

/* -------------------- Değişkenler (Design Tokens) -------------------- */
:root {
  /* Marka renkleri (logo paletinden) */
  --color-dark: #1e1e1e;
  --color-dark-soft: #2a2a2a;
  --color-orange: #f36c21;
  --color-orange-dark: #d85a15;
  --color-blue: #27a8e0;
  --color-blue-dark: #1c8bbd;
  --color-green: #6cbf43;
  --color-green-dark: #56a233;
  --color-white: #ffffff;

  /* Nötr tonlar */
  --color-gray-50: #f7f8fa;
  --color-gray-100: #eef0f3;
  --color-gray-200: #e2e5ea;
  --color-gray-300: #cbd0d8;
  --color-gray-500: #6b7280;
  --color-gray-700: #3f4650;

  /* Fonksiyonel renkler */
  --bg: var(--color-white);
  --bg-alt: var(--color-gray-50);
  --bg-elevated: #ffffff;
  --text: var(--color-dark);
  --text-muted: var(--color-gray-500);
  --border: var(--color-gray-200);
  --link: var(--color-blue);
  --link-hover: var(--color-blue-dark);
  --success: var(--color-green);
  --brand: var(--color-orange);

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: 16px;

  --shadow-sm: 0 2px 8px rgba(30, 30, 30, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 30, 30, 0.10);
  --shadow-lg: 0 20px 48px rgba(30, 30, 30, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --container: 1180px;
  --gap: clamp(1rem, 2vw, 2rem);

  --font-base: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.25s var(--ease);
}

/* Not: Site kasıtlı olarak açık ve düz (flat) temayı tüm ziyaretçiler için sabit
   tutar; otomatik koyu tema geçişi kullanılmaz. */

/* -------------------- Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

ul,
ol {
  padding-left: 1.25rem;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------- Tipografi -------------------- */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text);
}

.text-muted {
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
}

/* -------------------- Yardımcı Sınıflar -------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  background: color-mix(in srgb, var(--color-orange) 12%, transparent);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--color-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* -------------------- Butonlar -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.btn-light {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
}

.main-nav a {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-orange);
  text-decoration: none;
  border-color: var(--color-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn-primary {
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
}

.main-nav .btn-primary {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(30, 30, 30, 0.15);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-dark);
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.05rem;
    width: 100%;
    white-space: normal;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .main-nav .btn-primary {
    display: inline-flex;
    margin-top: 0.5rem;
  }
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
}

.nav-backdrop.open {
  display: block;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background: var(--bg-alt);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta,
  .hero-badges {
    justify-content: center;
  }
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero h1 .accent {
  color: var(--color-orange);
}

.hero p.lead {
  max-width: 560px;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .hero p.lead {
    margin-inline: auto;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow-lg));
}

.hero-notice {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-notice svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--color-blue);
  margin-top: 2px;
}

/* -------------------- Kartlar / Glassmorphism -------------------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-glass {
  background: #ffffff;
  border: 1px solid var(--border);
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.icon-tile svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.icon-tile.orange {
  background: var(--color-orange);
}

.icon-tile.blue {
  background: var(--color-blue);
}

.icon-tile.green {
  background: var(--color-green);
}

.icon-tile.dark {
  background: var(--color-dark);
}

/* -------------------- Grid Sistemleri -------------------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Nasıl Çalışır / Adımlar -------------------- */
.steps {
  counter-reset: step;
  position: relative;
}

.step-card {
  position: relative;
  padding-top: 2.5rem;
}

.step-number {
  position: absolute;
  top: -1.1rem;
  left: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: var(--color-orange);
  box-shadow: var(--shadow-md);
}

/* -------------------- Avantaj Rozetleri -------------------- */
.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

.pill.green {
  background: color-mix(in srgb, var(--color-green) 15%, transparent);
  color: var(--color-green-dark);
}

.pill.blue {
  background: color-mix(in srgb, var(--color-blue) 15%, transparent);
  color: var(--color-blue-dark);
}

.pill.orange {
  background: color-mix(in srgb, var(--color-orange) 15%, transparent);
  color: var(--color-orange-dark);
}

/* -------------------- CTA Bandı -------------------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  background: var(--color-orange);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-band .btn-primary {
  background: #ffffff;
  color: var(--color-orange-dark);
}

.cta-band .btn-primary:hover {
  background: var(--color-dark);
  color: #fff;
}

/* -------------------- SSS / Accordion -------------------- */
.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.faq-toc a {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
}

.faq-toc a:hover {
  color: var(--color-orange);
  border-color: var(--color-orange);
  text-decoration: none;
}

.faq-category {
  margin-bottom: 3.25rem;
  scroll-margin-top: 6.5rem;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.faq-category-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  cursor: pointer;
}

.faq-question .chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
}

.faq-answer-content p + p {
  margin-top: 0.65rem;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--color-orange);
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.social-icons {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition), transform var(--transition);
}

.social-icons a:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* -------------------- Sayfa Başlığı (iç sayfalar) -------------------- */
.page-hero {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--color-blue);
}

.breadcrumbs span[aria-hidden] {
  color: var(--border);
}

/* -------------------- İçerik Sayfaları -------------------- */
.prose {
  max-width: 820px;
  margin-inline: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.1rem;
  color: var(--text);
}

.prose ul,
.prose ol {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.callout {
  border-left: 4px solid var(--color-orange);
  background: color-mix(in srgb, var(--color-orange) 8%, transparent);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-sm);
  margin: 1.75rem 0;
}

.callout strong {
  color: var(--color-orange-dark);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (max-width: 620px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border);
}

.stat-box .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange);
  display: block;
}

.stat-box .label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* -------------------- Kişi Kartı (Başkan) -------------------- */
.person-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 720px) {
  .person-card {
    grid-template-columns: 1fr;
  }
}

.person-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.person-photo svg {
  width: 55%;
  opacity: 0.5;
}

/* -------------------- İletişim -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item .icon-tile {
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.contact-item .icon-tile svg {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  margin-bottom: 0.2rem;
}

.map-frame {
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------- Haberler / Duyurular -------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-alt);
}

.news-card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img.placeholder svg {
  width: 40%;
  opacity: 0.35;
}

.news-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.news-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-card-body h3 {
  font-size: 1.1rem;
  line-height: 1.35;
}

.news-card-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  flex: 1;
}

.news-readmore {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.news-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  color: var(--text-muted);
}

.skeleton {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.skeleton-block {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 37%, var(--bg-alt) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

.skeleton .skeleton-block:first-child {
  aspect-ratio: 16/10;
}

.skeleton-line {
  height: 12px;
  margin: 1.3rem 1.4rem;
  border-radius: 6px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}


/* -------------------- 404 -------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
}

.error-code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}

/* -------------------- Araç Sayfası: Hız Testi -------------------- */
.tool-hero {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.tool-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.tool-hero-grid p {
  margin-bottom: 1rem;
}

.tool-hero-grid .hero-cta {
  margin-top: 0.25rem;
}

@media (max-width: 960px) {
  .tool-hero-grid {
    grid-template-columns: 1fr;
  }
}

.tool-iframe-wrap {
  width: 100%;
  max-width: 100%;
  height: 844px;
  max-height: 80vh;
  margin-top: -48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

@media (max-width: 960px) {
  .tool-iframe-wrap {
    height: 624px;
    max-height: none;
  }
}

.tool-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

@media (max-width: 980px) {
  .concept-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .concept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.concept-card {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border);
  text-align: center;
}

.concept-card .icon-tile {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
}

.concept-card .icon-tile svg {
  width: 22px;
  height: 22px;
}

.concept-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.concept-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Bilgi kutuları: ipucu / uzman / bilmen gereken / hata */
.callout.tip {
  border-left-color: var(--color-blue);
  background: color-mix(in srgb, var(--color-blue) 8%, transparent);
}

.callout.tip strong {
  color: var(--color-blue-dark);
}

.callout.expert {
  border-left-color: var(--color-green);
  background: color-mix(in srgb, var(--color-green) 8%, transparent);
}

.callout.expert strong {
  color: var(--color-green-dark);
}

.callout.must-know {
  border-left-color: var(--color-dark);
  background: var(--bg-alt);
}

.callout.must-know strong {
  color: var(--color-dark);
}

.callout.mistake {
  border-left-color: #d9483a;
  background: color-mix(in srgb, #d9483a 8%, transparent);
}

.callout.mistake strong {
  color: #b8382c;
}

.callout-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  color: inherit;
}

/* Tablolar */
.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}

.data-table caption {
  text-align: left;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.data-table th,
.data-table td {
  padding: 0.75rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table thead th {
  background: var(--bg-alt);
  font-weight: 800;
  color: var(--text);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--bg-alt);
}

.data-table td mark,
.data-table th mark {
  background: color-mix(in srgb, var(--color-orange) 22%, transparent);
  color: var(--color-orange-dark);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}

/* İçerik içi TOC */
.page-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.page-toc summary {
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
}

.page-toc ol {
  margin-top: 1rem;
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.1rem;
}

@media (max-width: 620px) {
  .page-toc ol {
    columns: 1;
  }
}

.page-toc li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.page-toc a {
  font-size: 0.92rem;
}

/* Makale içi vurgular */
.prose mark {
  background: color-mix(in srgb, var(--color-orange) 22%, transparent);
  color: var(--color-orange-dark);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.prose code {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
}

.prose blockquote {
  border-left: 4px solid var(--color-blue);
  margin: 1.75rem 0;
  padding: 0.25rem 1.4rem;
  color: var(--text-muted);
  font-style: italic;
}

.prose address {
  font-style: normal;
}

.prose figure {
  margin: 1.75rem 0;
}

.prose figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  text-align: center;
}

.prose details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  background: #ffffff;
}

.prose details summary {
  font-weight: 700;
  cursor: pointer;
}

.prose details[open] summary {
  margin-bottom: 0.75rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* -------------------- Responsive genel -------------------- */
@media (max-width: 620px) {
  .section {
    padding-block: 2.5rem;
  }
}
