/* ==========================================================================
   Başlamış Köyü - Modern Responsive Tema (2026)
   Amanos Dağları Eteklerinde Bir Akdeniz Köyü (Erzin / Hatay)
   ========================================================================== */

:root {
  --primary: #4A3525;         /* Koyu Toprak & Fındık Kabuğu Kahve (Eski sitenin ana gövde tonu) */
  --primary-light: #5D4037;   /* Sıcak Kahverengi */
  --primary-accent: #795548;  /* Sütlü Kahve / Meşe */
  --accent: #BE8B06;          /* Eski sitenin özgün Bal / Kehribar başlık rengi */
  --accent-light: #FBF4E2;    /* Sıcak Krem Parşömen */
  --accent-dark: #966C04;     /* Koyu Kehribar */
  --flag-red: #e30a17;
  --flag-dark: #b8000c;
  --text-main: #38301A;       /* Eski sitenin koyu kahve metin rengi */
  --text-muted: #74653D;      /* Eski sitenin ikincil kahverengi metin rengi */
  --bg-page: #F4EFE6;         /* Eski sitenin bej / kum rengi (#E0D5B7) zemin tonu */
  --bg-card: #ffffff;
  --border: #C4AE7C;          /* Eski sitenin özgün sınır ve ayraç rengi */
  --border-light: #E8DFC8;    /* Açık saman rengi ince çizgiler */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px 0 rgba(74, 53, 37, 0.08);
  --shadow-md: 0 4px 8px -1px rgba(74, 53, 37, 0.12), 0 2px 4px -2px rgba(74, 53, 37, 0.08);
  --shadow-lg: 0 10px 20px -3px rgba(74, 53, 37, 0.15), 0 4px 6px -4px rgba(74, 53, 37, 0.1);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: Georgia, Cambria, 'Times New Roman', serif;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:visited {
  color: var(--primary);
}

a:hover, a:focus {
  color: var(--accent);
}

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

h1, h2, h3, h4, h5, h6, .card-title, .widget-title {
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-weight: 400;
  background-image: 
    radial-gradient(at 0% 0%, rgba(190, 139, 6, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(74, 53, 37, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
}

/* ==========================================================================
   TÜRK BAYRAĞI BİLEŞENİ (Sol Üst Köşe ve Header)
   ========================================================================== */
.turk-bayragi-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--flag-red) 0%, var(--flag-dark) 100%);
  color: #ffffff;
  padding: 8px 16px 8px 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 4px 12px rgba(227, 10, 23, 0.35);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-left: none;
  border-top: none;
}

.turk-bayragi-ribbon:hover {
  transform: translateY(2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(227, 10, 23, 0.5);
  background: linear-gradient(135deg, #f01421 0%, var(--flag-red) 100%);
}

.turk-bayragi-ribbon svg {
  width: 28px;
  height: 19px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
  animation: flagWave 3s ease-in-out infinite alternate;
}

.turk-bayragi-ribbon .bayrak-metin {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

@keyframes flagWave {
  0% { transform: rotate(0deg) skewY(0deg); }
  50% { transform: rotate(1.5deg) skewY(1deg); }
  100% { transform: rotate(-1.5deg) skewY(-1deg); }
}

@media (max-width: 640px) {
  .turk-bayragi-ribbon {
    padding: 6px 10px;
  }
  .turk-bayragi-ribbon .bayrak-metin {
    display: none;
  }
  .turk-bayragi-ribbon svg {
    width: 24px;
    height: 16px;
  }
}

/* ==========================================================================
   ÜST BİLGİ ŞERİDİ (Top Bar)
   ========================================================================== */
.site-topbar {
  background: var(--primary);
  color: #e2e8f0;
  font-size: 0.825rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Header ve Menü ile birebir aynı sağ sınır çizgisi */
  display: flex;
  justify-content: flex-end; /* Tamamen sağa yaslı */
  align-items: center;
}

.topbar-motto {
  font-size: 0.825rem;
  color: var(--accent-light);
  letter-spacing: 0.3px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .topbar-container {
    padding: 0 15px 0 60px; /* Mobilde bayrak payı */
  }
  .topbar-motto {
    font-size: 0.75rem;
    white-space: normal;
    text-align: right;
  }
}

/* ==========================================================================
   HEADER & MARKA
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  white-space: nowrap; /* Asla iki satıra bölünmez */
}

.brand-wrapper:hover .brand-title {
  color: var(--primary-light);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-subtitle {
  margin: 4px 0 0 0;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-right-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-meta-badge {
  background: var(--accent-light);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-toggle-btn {
  display: none;
  background: var(--primary);
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PROFESYONEL TAM GENİŞLİKTE NAVİGASYON BANDI (Navbar Strip)
   ========================================================================== */
.site-navbar-strip {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 4px 10px rgba(74, 53, 37, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-item a {
  display: block;
  padding: 12px 16px;
  color: #FBF4E2;
  text-decoration: none !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px 4px 0 0;
  white-space: nowrap;
}

.nav-item a:hover {
  background: rgba(190, 139, 6, 0.25);
  color: #ffffff !important;
}

.nav-item.active a,
.nav-item.important a {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #ffffff;
}

@media (max-width: 991px) {
  .header-meta-badge {
    display: none;
  }
  .nav-toggle-btn {
    display: inline-flex;
  }
  .site-navbar-strip {
    position: static;
  }
  .site-navbar-strip .navbar-container {
    display: none;
  }
  .site-navbar-strip.is-open .navbar-container {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    padding: 10px 0;
    align-items: stretch;
    gap: 4px;
  }
  .nav-item a {
    padding: 12px 14px;
    border-radius: 4px;
  }
}

/* ==========================================================================
   ANA YERLEŞİM (Grid & Container)
   ========================================================================== */
.site-wrapper {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
}

/* Hero & Slider Alanı */
.hero-slider-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.hero-slider-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
}

.hero-slider-gallery {
  position: relative;
  min-height: 340px;
  background: #2A1F17;
  overflow: hidden;
}

.hero-slider-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-intro-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff 0%, #faf6ee 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-intro-card h2 {
  margin: 0 0 12px 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
}

.hero-intro-card p {
  margin: 0 0 18px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-slider-container {
    grid-template-columns: 1fr;
  }
  .hero-slider-gallery {
    min-height: 240px;
  }
}

/* İçerik Düzeni (İki Kolon) */
.main-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 991px) {
  .main-content-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   KARTLAR & İÇERİK BİLEŞENLERİ
   ========================================================================== */
.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s ease;
}

.content-card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--accent);
  border-radius: 2px;
}

/* Vefat & Acil Duyuru Kutusu */
.vefat-duyuru-card {
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.vefat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.vefat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 8px 0;
}

.vefat-text {
  font-size: 0.95rem;
  color: #451a03;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.vefat-meta {
  font-size: 0.8rem;
  color: #b45309;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #fcd34d;
  padding-top: 8px;
}

/* Haber Listesi */
.haber-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  gap: 16px;
}

.haber-list-item:hover {
  background-color: #f8fafc;
  transform: translateX(4px);
}

.haber-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.haber-link:hover {
  color: var(--primary-light);
}

.haber-tarih {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Sidebar Bileşenleri */
.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-widget h2,
.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget h2::before,
.widget-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--accent);
  border-radius: 2px;
}

.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 8px 0;
}

.sidebar-widget p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.widget-body {
  font-size: 0.9rem;
  color: var(--text-main);
}

.widget-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-links li {
  margin-bottom: 8px;
}

.widget-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary) !important;
  text-decoration: none !important;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-links a:visited {
  color: var(--primary) !important;
}

.widget-links a:hover {
  background: var(--accent-light);
  border-color: var(--border);
  color: var(--primary-light) !important;
  padding-left: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
}

.widget-links a:active {
  background: var(--border-light);
  color: var(--accent) !important;
}

/* LLM / GEO Bilgi Kutusu */
.geo-info-box {
  background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
}

.geo-info-box dt {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-top: 8px;
}

.geo-info-box dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   FOTO GALERİ STİLİ (Modern Grid)
   ========================================================================== */
.modern-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.modern-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: #000000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.modern-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.modern-gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   REKLAM ALANLARI
   ========================================================================== */
.ad-container-wrapper {
  margin: 18px 0;
  text-align: center;
  overflow: hidden;
  clear: both;
}

.ad-preview-box {
  background: var(--accent-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  color: var(--text-muted);
}

.ad-preview-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ad-preview-note {
  font-size: 0.825rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   İÇERİK ALANI TİPOGRAFİ VE VERİ TABLOSU UYUMLULUĞU
   ========================================================================== */
.main-content-area h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.main-content-area h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.main-content-area table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin: 1rem 0;
  display: block;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.main-content-area table td,
.main-content-area table th {
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.main-content-area img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.main-content-area p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.main-content-area .more {
  text-align: right;
  margin-top: 8px;
}

.main-content-area .more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--border-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.main-content-area .more a:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   FOOTER (Alt Bilgi)
   ========================================================================== */
.site-footer {
  background: #2A1F17; /* Zengin Koyu Kahve / Toprak zemin */
  color: #D1C5B4;
  padding: 48px 0 24px 0;
  margin-top: 60px;
  border-top: 4px solid var(--accent);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0 0 16px 0;
  font-weight: 700;
  border-bottom: 1px solid rgba(196, 174, 124, 0.3);
  padding-bottom: 8px;
  letter-spacing: 0.2px;
}

.footer-col p {
  line-height: 1.65;
  margin: 0 0 12px 0;
  color: #D1C5B4;
}

.footer-quote {
  color: #B5A895;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
}

.footer-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.1;
}

.footer-menu-links li {
  margin-bottom: 2px;
}

.footer-menu-links a {
  color: #DFD3C3; /* Sıcak parşömen & toprak beji - koyu kahve zeminle tam uyumlu */
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-menu-links a:hover,
.footer-menu-links a:focus {
  color: #F5BA38; /* Sıcak bal / kehribar sarısı vurgusu */
  text-decoration: none;
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0 auto;
  padding: 24px 20px 0 20px;
  border-top: 1px solid rgba(196, 174, 124, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #B5A895;
}

.footer-bottom a {
  color: #F5BA38;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: #FFF275;
}

.footer-bottom strong {
  color: #E2D9CC;
}

/* ==========================================================================
   ZİYARETÇİ DEFTERİ VE FORMLAR
   ========================================================================== */
.zd-cta-card {
  background: linear-gradient(135deg, var(--accent-light) 0%, #fffcf5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.zd-cta-card h3 {
  margin: 0 0 8px 0;
  color: var(--primary);
}

.zd-cta-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(74, 53, 37, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-modern-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 53, 37, 0.35);
  text-decoration: none;
}

.zd-entry-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.zd-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.zd-entry-author {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.zd-entry-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.zd-entry-body {
  color: var(--text-main);
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: break-word;
}

/* Modern Form Alanları */
.modern-form-group {
  margin-bottom: 18px;
}

.modern-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modern-form-control {
  width: 100%;
  max-width: 520px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.modern-form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(190, 139, 6, 0.2);
}

textarea.modern-form-control {
  max-width: 100%;
  min-height: 140px;
  resize: vertical;
}

/* ==========================================================================
   KÖŞE YAZILARI TABLO VE SÜTUN HİZALAMA
   ========================================================================== */
.ky-list-header {
  display: grid;
  grid-template-columns: 1fr 220px 140px;
  gap: 16px;
  padding: 8px 14px;
  background: var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ky-col-date-head {
  text-align: right;
}

.ky-list-row {
  display: grid;
  grid-template-columns: 1fr 220px 140px;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.ky-list-row:hover {
  background: #faf6ee;
  border-radius: var(--radius-sm);
  transform: translateX(3px);
}

.ky-col-title {
  min-width: 0;
}

.ky-title-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.ky-title-link:hover .ky-title-text {
  color: var(--primary-light);
  text-decoration: underline;
}

.ky-col-author {
  min-width: 0;
}

.ky-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  text-decoration: none;
  max-width: 100%;
  transition: all 0.2s ease;
}

.ky-author-badge:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(74, 53, 37, 0.2);
}

.ky-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ky-col-date {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ky-list-header {
    display: none;
  }
  .ky-list-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: flex-start;
    padding: 14px 10px;
  }
  .ky-col-date {
    text-align: left;
  }
}

/* ==========================================================================
   ZİYARETÇİ DEFTERİ VE SAYFALAMA (PAGINATION)
   ========================================================================== */
.zd-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.zd-toolbar-stats strong {
  color: var(--primary-dark);
}

.zd-toolbar-sep {
  margin: 0 8px;
  color: var(--border-color);
}

.zd-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 35px 0 25px 0;
  padding: 18px 10px;
  border-top: 1px solid var(--border-color);
}

.zd-pagination a,
.zd-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.zd-pagination a.page-num,
.zd-pagination a.page-nav {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.zd-pagination a.page-num:hover,
.zd-pagination a.page-nav:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(190, 139, 6, 0.25);
}

.zd-pagination .page-current {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(74, 53, 37, 0.2);
}

.zd-pagination .page-dots {
  color: var(--text-muted);
  border: none;
  min-width: 20px;
  padding: 0 4px;
}
