/* ============================================================
   istanbuldansondakika.com — Public Site CSS
   Modern Dark Theme | Premium News Portal
   ============================================================ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg-primary:    #0d1117;
  --bg-secondary:  #161b22;
  --bg-card:       #1c2128;
  --bg-hover:      #21262d;
  --border:        #30363d;
  --border-light:  #21262d;
  --text-primary:  #e6edf3;
  --text-secondary:#8b949e;
  --text-muted:    #6e7681;
  --accent:        #e63946;
  --accent-hover:  #c62d3b;
  --accent-glow:   rgba(230,57,70,0.25);
  --blue:          #58a6ff;
  --green:         #3fb950;
  --orange:        #f4a261;
  --purple:        #a371f7;
  --header-h:      64px;
  --sidebar-w:     280px;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --transition:    all 0.22s cubic-bezier(0.4,0,0.2,1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  --bg-primary:    #f6f8fa;
  --bg-secondary:  #ffffff;
  --bg-card:       #ffffff;
  --bg-hover:      #f3f4f6;
  --border:        #d0d7de;
  --border-light:  #eaeef2;
  --text-primary:  #1f2328;
  --text-secondary:#656d76;
  --text-muted:    #9198a1;
  --bg-overlay:    rgba(255,255,255,0.9);
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul,ol { list-style: none; }
button,input,select,textarea { font-family: inherit; }

/* ─── Keyframes ─────────────────────────────────────────────── */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── Breaking News Bar ─────────────────────────────────────── */
.breaking-bar {
  background: linear-gradient(90deg, #1a0a0a 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid rgba(230,57,70,0.3);
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}
.breaking-bar__label {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  position: relative;
}
.breaking-bar__label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 36px solid var(--accent);
  border-right: 10px solid transparent;
}
.breaking-bar__label i { animation: pulse-dot 1.5s infinite; }
.breaking-bar__ticker {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 30px), transparent);
}
.breaking-bar__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.breaking-bar__track:hover { animation-play-state: paused; }
.breaking-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
  white-space: nowrap;
}
.breaking-bar__item::before {
  content: '•';
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.breaking-bar__item:hover { color: var(--text-primary); }
.breaking-bar__cat {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Site Header (4 Katman) ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.site-header.hidden { transform: translateY(-100%); }

/* ══ KATMAN 1: Üst İnce Çubuk ══════════════════════════════════ */
.site-header__topbar {
  background: #070c14;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 36px;
  font-size: 11.5px;
  color: #8b949e;
}
[data-theme="light"] .site-header__topbar {
  background: #1a1f2e;
  color: rgba(255,255,255,0.6);
}
.site-header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.sh-topbar-left,
.sh-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sh-topbar-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.5);
}
.sh-topbar-loc i { color: var(--accent); font-size: 10px; }
.sh-topbar-date { color: rgba(255,255,255,0.45); }
.sh-topbar-sep { color: rgba(255,255,255,0.15); font-size: 10px; }
.sh-topbar-sep--v { width: 1px; height: 14px; background: rgba(255,255,255,0.12); margin: 0 2px; }
.sh-topbar-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e63946;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.5px;
}
.sh-live-dot {
  width: 6px;
  height: 6px;
  background: #e63946;
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}
.sh-social {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.sh-social:hover { color: #fff; background: rgba(255,255,255,0.08); }
.sh-theme-toggle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 11px;
  transition: var(--transition);
}
.sh-theme-toggle:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ══ KATMAN 2: Logo + Arama Bandı ══════════════════════════════ */
.site-header__brand {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
[data-theme="light"] .site-header__brand { background: #fff; }
.site-header__brand-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.sh-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.sh-logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}
.sh-logo:hover .sh-logo-img { opacity: 0.85; }
/* Tema göre logo değiştir */
.sh-logo-img--light { display: block; }
.sh-logo-img--dark  { display: none; }
[data-theme="dark"]  .sh-logo-img--light { display: none; }
[data-theme="dark"]  .sh-logo-img--dark  { display: block; }
[data-theme="light"] .sh-logo-img--light { display: block; }
[data-theme="light"] .sh-logo-img--dark  { display: none; }

/* Eski logo stilleri uyumluluk */
.site-logo { height:52px;width:auto;max-width:200px;object-fit:contain;transition:opacity 0.2s; }
.site-logo--light { display:block; }
.site-logo--dark  { display:none; }
[data-theme="dark"]  .site-logo--light { display:none; }
[data-theme="dark"]  .site-logo--dark  { display:block; }
[data-theme="light"] .site-logo--light { display:block; }
[data-theme="light"] .site-logo--dark  { display:none; }

/* Arama kutusu */
.sh-search-wrap {
  flex: 1;
  max-width: 560px;
}
.sh-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sh-search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}
.sh-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 11px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
}
.sh-search-input::placeholder { color: var(--text-muted); }
.sh-search-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 46px;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: var(--font);
}
.sh-search-btn:hover { background: var(--accent-hover); }
.sh-search-btn i { font-size: 13px; }

/* Sağ aksiyon grubu */
.sh-brand-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
/* Bildirim butonu - premium */
.sh-notify-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  background: rgba(230,57,70,0.08);
  border: 1.5px solid rgba(230,57,70,0.25);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  font-family: var(--font);
  white-space: nowrap;
}
.sh-notify-btn:hover {
  background: rgba(230,57,70,0.14);
  border-color: rgba(230,57,70,0.5);
  transform: translateY(-1px);
}
.sh-notify-btn.subscribed {
  background: rgba(63,185,80,0.08);
  border-color: rgba(63,185,80,0.3);
}
.sh-notify-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.sh-notify-btn.subscribed .sh-notify-icon { background: #3fb950; }
.sh-notify-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.sh-notify-text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.sh-notify-text small {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1;
}
/* Hamburger */
.sh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.sh-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.sh-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.sh-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ KATMAN 3: Kategori Nav Barı ════════════════════════════════ */
.site-header__nav {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--accent);
  position: relative;
}
[data-theme="light"] .site-header__nav { background: #f0f2f5; }
.site-header__nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 46px;
  overflow: hidden;
}
.sh-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  transition: color 0.2s, background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.sh-nav-link i { font-size: 12px; opacity: 0.7; transition: opacity 0.2s; }
.sh-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.sh-nav-link:hover i { opacity: 1; }
.sh-nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--cc, var(--accent));
  border-radius: 1px 1px 0 0;
}
.sh-nav-link.active {
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}
.sh-nav-link.active:hover::after { display: none; }
.sh-nav-link.active i { opacity: 1; }
.sh-nav-link--home.active { background: var(--accent); }

.sh-nav-breaking {
  margin-left: auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
}
.sh-nav-breaking-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  animation: badge-pulse 2s ease infinite;
}
.sh-nav-breaking-badge i { font-size: 10px; }
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
  50%      { box-shadow: 0 0 0 6px rgba(230,57,70,0.15); }
}

/* ══ KATMAN 4: Kayan Haber Bandı ════════════════════════════════ */
.site-header__ticker {
  display: flex;
  align-items: center;
  height: 38px;
  background: #0d1117;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
[data-theme="light"] .site-header__ticker { background: #1a1f2e; }
.sh-ticker-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px 0 16px;
  height: 100%;
  background: var(--accent);
  font-size: 10.5px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 4px 0 12px rgba(0,0,0,0.4);
}
.sh-ticker-label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 9px solid var(--accent);
}
.sh-ticker-label i { font-size: 11px; }
.sh-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 90s linear infinite;
  white-space: nowrap;
  will-change: transform;
  padding-left: 24px;
}
.sh-ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sh-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.sh-ticker-item:hover { color: #fff; }
.sh-ticker-item::after {
  content: '•';
  color: rgba(255,255,255,0.2);
  margin-left: 28px;
}
.sh-ticker-item:last-child::after { content: ''; }
.sh-ticker-cat {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

/* ══ Geriye dönük uyumluluk ══════════════════════════════════════ */
.header { display: none; }
.breaking-bar { display: none; }
.header__topbar { display: none; }
.btn-icon {
  width:38px;height:38px;border:1px solid var(--border);
  background:var(--bg-card);border-radius:8px;color:var(--text-secondary);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:14px;transition:var(--transition);
}
.btn-icon:hover { color:var(--text-primary);background:var(--bg-hover);border-color:var(--accent); }
.search-bar { display:none; }
.header__searchbar { display:none; }
.mobile-menu-btn { display: none; }

/* ══ Mobile Nav ══════════════════════════════════════════════════ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 1090;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-nav {
  position: fixed;
  top: 0; left: -100%;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav.open { left: 0; }
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--text-primary);
}
.mobile-nav__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}
.mobile-nav__close:hover { color: var(--accent); border-color: var(--accent); }
.mobile-nav__links { padding: 10px 0; flex: 1; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.mobile-nav__link-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.mobile-nav__link:hover { background: var(--bg-hover); color: var(--text-primary); padding-left: 26px; }
.mobile-nav__footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.mobile-nav__footer p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.mobile-nav__social { display: flex; gap: 8px; }
.mobile-nav__social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
  text-decoration: none;
}
.mobile-nav__social a:hover { color: var(--accent); border-color: var(--accent); }

/* ─── Container & Layout ────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-content { padding: 28px 0 48px; }
.layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 28px;
  align-items: start;
}
.content-area { min-width: 0; }
.sidebar { position: sticky; top: calc(var(--header-h) + 12px); display: flex; flex-direction: column; gap: 20px; }

/* ─── Hero Section ──────────────────────────────────────────── */
.hero-section { margin-bottom: 36px; }
.hero-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 7;
  min-height: 360px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-card:hover { transform: scale(1.005); box-shadow: 0 16px 60px rgba(0,0,0,0.7); }
.hero-card__image { position: absolute; inset: 0; }
.hero-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-card:hover .hero-card__image img { transform: scale(1.04); }
.hero-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c2128, #21262d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--border);
}
.hero-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
}
.hero-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 36px;
  animation: fade-in-up 0.5s ease;
}
.hero-card__title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 10px 0 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-card__excerpt {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  max-width: 600px;
  line-height: 1.7;
}
.hero-card__meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.hero-card__meta i { margin-right: 5px; }

/* ─── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.badge-small {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ─── Section Header ────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
}
.section-header__accent {
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-glow);
}
.section-header__filters { display: flex; gap: 8px; align-items: center; }
.filter-info { font-size: 12px; color: var(--text-muted); }

/* ─── News Grid ─────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.news-card.visible, .news-card:not(.animate-on-scroll) {
  opacity: 1;
  transform: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s, opacity 0.4s ease;
}
.news-card:hover {
  border-color: rgba(230,57,70,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}
.news-card__image-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.news-card__image {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--bg-hover);
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.08); }
.news-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--border);
  background: linear-gradient(135deg, var(--bg-hover), var(--bg-secondary));
}
.news-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}
.news-card__content { padding: 16px; }
.news-card__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
}
.news-card__title a {
  color: var(--text-primary);
  transition: color 0.2s;
}
.news-card__title a:hover { color: var(--accent); }
.news-card__excerpt {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}
.news-card__meta i { margin-right: 4px; }
.news-card__views { font-size: 11px; }

/* ─── Pagination ────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.pagination__btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.pagination__pages { display: flex; gap: 4px; }
.pagination__page {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}
.pagination__page:hover { border-color: var(--accent); color: var(--accent); }
.pagination__page.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* ─── Sidebar Widgets ───────────────────────────────────────── */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.widget__title {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
}
.widget__title i { color: var(--accent); }
.widget__cat-list { padding: 8px; }
.cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: var(--transition);
}
.cat-link:hover { background: var(--bg-hover); }
.cat-link__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.cat-link__name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text-primary); }
.cat-link__count {
  font-size: 11px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
}
.widget__empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }
.popular-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: var(--transition);
}
.popular-item:hover { background: var(--bg-hover); }
.popular-item__num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}
.popular-item__content p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-item__content small { font-size: 11px; color: var(--text-muted); }
.popular-item__content small i { margin: 0 3px; }
.latest-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.latest-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}
.latest-item:last-child { border-bottom: none; }
.latest-item:hover { background: var(--bg-hover); }
.latest-item__cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}
.latest-item p {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-item time { font-size: 11px; color: var(--text-muted); }
.widget__search {
  display: flex;
  gap: 0;
  padding: 12px;
}
.widget__search-input {
  flex: 1;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 9px 12px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}
.widget__search-input:focus { border-color: var(--accent); background: var(--bg-secondary); }
.widget__search-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 9px 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.widget__search-btn:hover { background: var(--accent-hover); }

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 10px; }
.breadcrumb span { color: var(--text-primary); font-weight: 500; }

/* ─── Article ───────────────────────────────────────────────── */
.article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.article__header { padding: 32px 36px 24px; }
.article__cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 16px;
}
.article__title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.article__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.article__meta-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); }
.article__meta-left i { margin-right: 5px; color: var(--text-muted); }
.article__source a { color: var(--blue); text-decoration: underline; }
.article__share { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.article__share span { margin-right: 4px; }
.share-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.share-btn:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.share-btn--twitter   { background: #1da1f2; }
.share-btn--facebook  { background: #1877f2; }
.share-btn--whatsapp  { background: #25d366; }
.share-btn--copy      { background: var(--bg-hover); color: var(--text-secondary); border: 1px solid var(--border); }
.article__image { max-height: 480px; overflow: hidden; }
.article__image img { width: 100%; height: 480px; object-fit: cover; }
.article__body { padding: 32px 36px; font-size: 16.5px; line-height: 1.85; color: var(--text-primary); }
.article__body p { margin-bottom: 20px; }
.article__body h2 { font-size: 22px; font-weight: 800; margin: 32px 0 14px; color: var(--text-primary); padding-left: 14px; border-left: 4px solid var(--accent); }
.article__body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--text-primary); }
.article__source-link {
  padding: 14px 36px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.article__source-link a { color: var(--blue); }
.article__source-link a:hover { text-decoration: underline; }
.article__footer { padding: 20px 36px; border-top: 1px solid var(--border); }
.article__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article__tags i { color: var(--text-muted); }
.tag {
  padding: 5px 14px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ─── Related News ──────────────────────────────────────────── */
.related-news { margin-top: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.related-card:hover { border-color: rgba(230,57,70,0.3); transform: translateY(-2px); box-shadow: var(--shadow); }
.related-card__image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-hover); }
.related-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-card__image img { transform: scale(1.05); }
.related-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--border); }
.related-card p { padding: 10px 12px 4px; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.related-card time { display: block; padding: 4px 12px 12px; font-size: 11px; color: var(--text-muted); }

/* ─── Category Header ───────────────────────────────────────── */
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  border-left-width: 4px;
}
.category-header__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.category-header__title { font-size: 24px; font-weight: 900; color: var(--text-primary); }
.category-header div p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ─── Search Page ───────────────────────────────────────────── */
.search-header { margin-bottom: 28px; }
.search-big-form { margin-bottom: 16px; }
.search-big-form__inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.search-big-form__inner:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-big-form__inner i { padding: 0 14px; color: var(--text-muted); font-size: 16px; }
.search-big-form__inner input { flex: 1; background: none; border: none; outline: none; padding: 14px 0; font-size: 16px; color: var(--text-primary); }
.search-big-form__inner button { padding: 14px 24px; background: var(--accent); border: none; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.search-big-form__inner button:hover { background: var(--accent-hover); }
.search-info { font-size: 14px; color: var(--text-secondary); }
.search-info strong { color: var(--text-primary); }

/* ─── Empty State ───────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 56px; margin-bottom: 16px; opacity: 0.4; display: block; }
.empty-state h3 { font-size: 20px; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }
.not-found { padding: 80px 20px; }
.not-found__code { font-size: 100px; font-weight: 900; color: var(--accent); opacity: 0.2; line-height: 1; margin-bottom: 16px; font-family: monospace; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }

/* ─── Read Time ─────────────────────────────────────────────── */
.read-time { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); }
.read-time i { margin-right: 4px; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer { margin-top: 60px; }

/* ─ CTA Bandı ─────────────────────────────────────────────── */
.footer__cta {
  background: linear-gradient(135deg, #160609 0%, #2c0d10 45%, #160609 100%);
  border-top: 2px solid rgba(230,57,70,0.4);
  padding: 24px 0;
  position: relative;
  overflow: hidden;
}
.footer__cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(230,57,70,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer__cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  animation: bell-ring 3s ease 2s infinite;
  transform-origin: top center;
}
.footer__cta-text {
  flex: 1;
  min-width: 200px;
}
.footer__cta-text strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}
.footer__cta-text span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #e63946, #c62d3b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font);
  flex-shrink: 0;
}
.footer__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,57,70,0.45);
}

/* ─ Gövde ─────────────────────────────────────────────────── */
.footer__body {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.3fr 1.8fr;
  gap: 48px;
}

/* ─ Marka Kolonu ──────────────────────────────────────────── */
.footer__brand-logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer__brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* dark modda logo zaten beyaz, light modda renkli göster */
}
[data-theme="light"] .footer__brand-logo-img {
  content: url('/public/images/logo-light.png?v=3');
}
.footer__brand-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer__address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: normal;
  margin-bottom: 20px;
}
.footer__address i { color: var(--accent); font-size: 11px; }

.footer__social {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.footer__soc {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer__soc:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.footer__soc--x  { background: #000; border: 1px solid #333; }
.footer__soc--fb { background: #1877f2; }
.footer__soc--ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.footer__soc--yt { background: #ff0000; }
/* eski social-btn geriye uyum */
.social-btn { width:36px;height:36px;border-radius:8px;background:var(--bg-card);border:1px solid var(--border);color:var(--text-secondary);display:flex;align-items:center;justify-content:center;font-size:14px;transition:var(--transition);text-decoration:none; }
.social-btn:hover { background:var(--accent);border-color:var(--accent);color:#fff;transform:translateY(-2px); }

.footer__stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.footer__stat {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.footer__stat:last-child { border-right: none; }
.footer__stat-value {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 3px;
}
.footer__stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─ Linkler (eski uyumluluk) ──────────────────────────────── */
.footer__categories h4, .footer__info h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; text-decoration: none; }
.footer__links a:hover { color: var(--accent); }

/* ─ Kolon Başlıkları ──────────────────────────────────────── */
.footer__col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.footer__col-title-dot {
  width: 4px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─ Link Listesi ──────────────────────────────────────────── */
.footer__col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer__col-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-radius: 7px;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  text-decoration: none;
}
.footer__col-links li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
  padding-left: 16px;
}
.footer__cat-icon { font-size: 13px; width: 18px; text-align: center; flex-shrink: 0; }
.footer__link-arrow { margin-left: auto; font-size: 9px; color: var(--text-muted); opacity: 0; transition: opacity 0.2s; }
.footer__col-links li a:hover .footer__link-arrow { opacity: 1; }
.footer__col-links li a > i:not(.footer__link-arrow) { font-size: 11px; width: 16px; color: var(--text-muted); }

/* ─ Özellik Kutuları ──────────────────────────────────────── */
.footer__features { display: flex; flex-direction: column; gap: 16px; }
.footer__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.footer__feature:hover { border-color: rgba(230,57,70,0.3); transform: translateX(3px); }
.footer__feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(230,57,70,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--accent);
  flex-shrink: 0;
}
.footer__feature-icon--purple { background: rgba(163,113,247,0.1); color: #a371f7; }
.footer__feature-icon--green  { background: rgba(63,185,80,0.1); color: #3fb950; }
.footer__feature strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.footer__feature p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ─ Alt Çubuk ─────────────────────────────────────────────── */
.footer__bottom {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copyright {
  font-size: 13px;
  color: var(--text-muted);
}
.footer__copyright a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.footer__copyright a:hover { text-decoration: underline; }
.footer__bottom-nav {
  display: flex;
  gap: 20px;
}
.footer__bottom-nav a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__bottom-nav a:hover { color: var(--accent); }
.footer__tech {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer__tech i { color: var(--accent); }

/* ─── Back to Top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { transform: translateY(0); opacity: 1; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--accent-glow); }

/* ─── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast i { color: var(--green); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__info { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .header__nav { display: none; }
  .mobile-menu-btn { display: flex !important; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { min-height: 240px; aspect-ratio: 16/9; }
  .hero-card__content { padding: 20px; }
  .hero-card__title { font-size: 18px; }
  .hero-card__excerpt { display: none; }
  .article__header { padding: 20px; }
  .article__body { padding: 20px; }
  .article__footer { padding: 14px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .breaking-bar__label span { display: none; }
  .container { padding: 0 14px; }
}

/* ─── Push Bildirim Butonu ───────────────────────────────── */
.push-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(230,57,70,0.15), rgba(230,57,70,0.05));
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--text-secondary);
  border-radius: 20px;
  padding: 6px 13px 6px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.push-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), #c62d3b);
  opacity: 0;
  transition: opacity 0.25s;
}
.push-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(230,57,70,0.25);
}
.push-btn:hover .push-icon,
.push-btn:hover .push-label { position: relative; z-index: 1; }
.push-icon { font-size: 13px; }

/* Abone olundu durumu */
.push-btn.subscribed {
  background: linear-gradient(135deg, rgba(63,185,80,0.15), rgba(63,185,80,0.05));
  border-color: rgba(63,185,80,0.4);
  color: #3fb950;
}
.push-btn.subscribed:hover {
  border-color: #3fb950;
  color: #3fb950;
  box-shadow: 0 4px 14px rgba(63,185,80,0.25);
}
/* Çan animasyonu — abone değilken sallan */
@keyframes bell-ring {
  0%,100% { transform: rotate(0); }
  15%     { transform: rotate(15deg); }
  30%     { transform: rotate(-12deg); }
  45%     { transform: rotate(10deg); }
  60%     { transform: rotate(-8deg); }
  75%     { transform: rotate(5deg); }
}
.push-btn:not(.subscribed) .push-icon {
  animation: bell-ring 3s ease 2s infinite;
  transform-origin: top center;
}
/* Mobilde label gizle */
@media (max-width: 600px) {
  .push-btn { padding: 6px 8px; }
  .push-label { display: none; }
}

/* ─── Push Toast Bildirimi ───────────────────────────────── */
.push-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  max-width: calc(100vw - 40px);
  white-space: nowrap;
}
.push-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.push-toast--success { border-color: rgba(63,185,80,0.4); }
.push-toast--success i { color: #3fb950; font-size: 18px; }
.push-toast--info { border-color: rgba(88,166,255,0.4); }
.push-toast--info i { color: #58a6ff; font-size: 18px; }
.push-toast--error { border-color: rgba(230,57,70,0.4); }
.push-toast--error i { color: var(--accent); font-size: 18px; }

/* ─── Responsive — Yeni Header & Footer ─────────────────────── */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__stats { max-width: 360px; }
}
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header__topbar-left .topbar-item--date { display: none; }
}
@media (max-width: 768px) {
  .header__topbar { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__col--brand { grid-column: auto; }
  .footer__cta-inner { flex-direction: column; align-items: flex-start; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__features { gap: 10px; }
}
@media (max-width: 480px) {
  .footer__social { flex-wrap: wrap; }
  .footer__cta-btn { width: 100%; justify-content: center; }
  .footer__bottom-nav { flex-wrap: wrap; gap: 12px; }
}

