/**
 * Sifahen.com - Ana Stil Dosyası
 * Medimagazin tarzı temiz, profesyonel haber sitesi tasarımı
 */

:root {
  --primary-navy: #1a3c6e;
  --primary-navy-dark: #122a4e;
  --primary-navy-light: #244d8b;
  --accent-orange: #f59e0b;
  --accent-orange-hover: #d97706;
  --accent-red: #dc2626;
  --bg-page: #f8fafc;
  --surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.2s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Kapsayıcı (Container) */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. Üst Bar & Logo Alanı (Top Bar & Header)
   ========================================================================== */
.site-topbar {
  background-color: #0f2444;
  color: #cbd5e1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.topbar-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-date svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-orange);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
}

.topbar-social a:hover {
  color: var(--accent-orange);
}

.topbar-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Ana Başlık (Header / Logo & Ad) */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-area {
  display: flex;
  flex-direction: column;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
}

.logo-text {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.logo-accent-line {
  display: block;
  width: 58px;
  height: 4px;
  background-color: var(--accent-orange);
  border-radius: 2px;
  margin-top: 2px;
}

.logo-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

.header-ad-area {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

/* ==========================================================================
   2. Navigasyon Çubuğu (Navbar - Dark Navy #1a3c6e)
   ========================================================================== */
.site-navbar {
  background-color: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-links {
  display: flex;
  list-style: none;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0 16px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--primary-navy-dark);
  color: #ffffff;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-orange);
}

.nav-home-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Arama Butonu & Kutusu */
.nav-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 10px;
  transition: var(--transition);
}

.nav-search-form:focus-within {
  background: #ffffff;
}

.nav-search-form input {
  background: transparent;
  border: none;
  color: #ffffff;
  outline: none;
  font-size: 0.85rem;
  padding: 3px 6px;
  width: 140px;
  transition: width 0.25s ease;
}

.nav-search-form input::placeholder {
  color: #cbd5e1;
}

.nav-search-form:focus-within input {
  color: var(--text-main);
  width: 180px;
}

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  padding: 2px;
}

.nav-search-form:focus-within .nav-search-btn {
  color: var(--primary-navy);
}

/* Mobil Hamburger Menü Butonu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  font-size: 1.3rem;
}

/* ==========================================================================
   3. Reklam Alanları (Ad Zones)
   ========================================================================== */
.ad-container {
  margin: 20px 0;
  text-align: center;
  position: relative;
}

.ad-placeholder {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 8px;
  margin: 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ad-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.ad-content {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
}

.banner-728x90 {
  width: 728px;
  min-height: 90px;
}

.banner-300x250 {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
}

.banner-article-top {
  width: 100%;
  min-height: 80px;
}

.banner-in-content {
  width: 100%;
  min-height: 100px;
  background-color: #f1f5f9;
}

.banner-before-comments {
  width: 100%;
  min-height: 80px;
}

/* ==========================================================================
   4. Ana İçerik Düzeni (Main Grid: Content + Sidebar)
   ========================================================================== */
.main-wrapper {
  padding: 24px 0 40px;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.main-content {
  min-width: 0; /* flex/grid overflow önleme */
}

.site-sidebar {
  min-width: 0;
}

/* ==========================================================================
   5. Hero / Manşet Bölümü (Slider + 2 Yan Kart)
   ========================================================================== */
.hero-section {
  margin-bottom: 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

/* Slider Kapsayıcısı */
.hero-slider-wrap {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-md);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide-item:hover .slide-image {
  transform: scale(1.03);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 28px 28px;
  background: linear-gradient(to top, rgba(15, 36, 68, 0.95) 0%, rgba(15, 36, 68, 0.6) 60%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slide-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 10px;
}

.slide-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.slide-meta {
  font-size: 0.8125rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Slider Kontrolleri (Oklar & Noktalar) */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}

.slider-btn {
  pointer-events: auto;
  background: rgba(15, 36, 68, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent-orange);
  width: 24px;
  border-radius: 6px;
}

/* Hero Yan Kartlar (2 adet dikey kart) */
.hero-side-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-card {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow-sm);
  display: block;
}

.side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.side-card:hover img {
  transform: scale(1.05);
}

.side-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(15, 36, 68, 0.95) 0%, rgba(15, 36, 68, 0.4) 60%, transparent 100%);
  color: #ffffff;
}

.side-card-badge {
  display: inline-block;
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.side-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

/* ==========================================================================
   6. Kategori Blokları & Haber Kartları (Category Sections)
   ========================================================================== */
.category-block {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-orange);
}

.section-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-view-all:hover {
  color: var(--primary-navy);
}

/* 3 Kolonlu Haber Izgarası */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-media img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(26, 60, 110, 0.9);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
}

.card-title a:hover {
  color: var(--primary-navy);
}

.card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   7. Yan Menü Bileşenleri (Sidebar Widgets)
   ========================================================================== */
.sidebar-widget {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 28px;
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 16px;
  position: relative;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-orange);
}

/* Son Haberler Listesi */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news-thumb {
  width: 76px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f1f5f9;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.news-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a:hover {
  color: var(--accent-orange-hover);
}

.news-time {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* En Çok Okunanlar Listesi */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.popular-number {
  width: 28px;
  height: 28px;
  background-color: #f1f5f9;
  color: var(--primary-navy);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popular-item:nth-child(1) .popular-number {
  background-color: var(--accent-orange);
  color: #ffffff;
}
.popular-item:nth-child(2) .popular-number {
  background-color: var(--primary-navy);
  color: #ffffff;
}
.popular-item:nth-child(3) .popular-number {
  background-color: #64748b;
  color: #ffffff;
}

.popular-content {
  flex-grow: 1;
}

.popular-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-title:hover {
  color: var(--primary-navy);
}

.popular-views {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   8. Makale Detay Sayfası (Article Detail Page)
   ========================================================================== */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumbs a:hover {
  color: var(--primary-navy);
}

.breadcrumbs .sep {
  color: var(--text-light);
}

.article-header {
  margin-bottom: 24px;
}

.article-badge {
  display: inline-block;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-navy-dark);
  margin-bottom: 16px;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-orange);
  padding-left: 16px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.meta-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-navy-light);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
}

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

/* Paylaşım Butonları */
.social-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  border: none;
}

.share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-whatsapp { background: #25d366; }
.btn-twitter { background: #0f1419; }
.btn-facebook { background: #1877f2; }
.btn-linkedin { background: #0a66c2; }
.btn-copy { background: #64748b; }

.share-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}

/* Öne Çıkan Görsel */
.article-featured-image {
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Makale Metni */
.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334155;
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 30px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2,
.article-content h3 {
  color: var(--primary-navy);
  margin: 28px 0 14px;
  font-weight: 800;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-orange);
  background: #fffbeb;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: #92400e;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Yorumlar Bölümü */
.comments-section {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.comments-header {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 10px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.comment-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.comment-content {
  flex-grow: 1;
}

.comment-author-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.comment-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}

/* Yorum Formu */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.submit-btn {
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--accent-orange);
}

.alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   9. Sayfalama & Kategori / Arama Sayfaları (Pagination & Listing)
   ========================================================================== */
.page-header-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.page-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.page-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.875rem;
}

.page-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.page-link.active {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #ffffff;
}

/* ==========================================================================
   10. Alt Bilgi (Footer)
   ========================================================================== */
.site-footer {
  background: #0f2444;
  color: #cbd5e1;
  padding: 50px 0 20px;
  border-top: 4px solid var(--accent-orange);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-text {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-menu a {
  color: #cbd5e1;
}

.footer-menu a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   11. Mobil Uyumluluk (Responsive Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-slider-wrap {
    height: 380px;
  }
  .hero-side-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .main-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .banner-728x90 {
    width: 100%;
    max-width: 728px;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: auto;
    padding: 6px 0;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-ad-area {
    display: none; /* Mobilde dar header'dan gizle */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--primary-navy-dark);
    flex-direction: column;
    height: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-link {
    height: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
  }
  
  .hero-slider-wrap {
    height: 320px;
  }
  
  .slide-title {
    font-size: 1.25rem;
  }
  
  .hero-side-cards {
    grid-template-columns: 1fr;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .article-headline {
    font-size: 1.65rem;
  }
  
  .article-content {
    padding: 20px;
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
