/* ==========================================================================
   KASTA360 - MODERN DESIGN SYSTEM & CORE STYLES
   Minimalist, Dengeli, Hızlı ve %100 Mobil Uyumlu Şehir Rehberi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Renk Paleti - Dark Mod (Varsayılan Modern Şık Görünüm) */
  --bg-main: #0c121e;
  --bg-surface: #141c2e;
  --bg-surface-hover: #1c273e;
  --bg-surface-card: #152035;
  --bg-glass: rgba(20, 28, 46, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.35);
  --border-active: #10b981;
  
  --primary: #10b981;
  --primary-glow: none;
  --primary-dark: #059669;
  --primary-light: #34d399;
  
  --accent-amber: #f59e0b;
  --accent-amber-glow: none;
  --accent-blue: #3b82f6;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-glow: none;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1240px;
}

/* Light Tema Değişkenleri */
[data-theme="light"] {
  --bg-main: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f8fafc;
  --bg-surface-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(16, 185, 129, 0.4);
  --border-active: #059669;
  
  --primary: #059669;
  --primary-glow: none;
  --primary-dark: #047857;
  --primary-light: #10b981;
  
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-glow: none;
}

/* ==========================================================================
   RESET & TEMEL ELEMENTLER
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 70px; /* Mobil alt bar boşluğu */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

button {
  cursor: pointer;
  user-select: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   HEADER / ÜST MENÜ (NAVBAR)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  transition: transform var(--transition-fast);
  height: 72px;
  overflow: hidden;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  height: 253px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: invert(0.9) hue-rotate(180deg) brightness(1.1);
  transition: filter var(--transition-normal);
}

[data-theme="light"] .brand-logo-img {
  filter: none;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 1.1rem;
}

.brand-name span {
  color: var(--primary);
  font-weight: 800;
}

.brand-city {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--border-subtle);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.emergency-btn-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.emergency-btn-trigger:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   HERO / REHBER SPLIT CARD (SABİT ÜST KART)
   ========================================================================== */

.hero-section {
  padding: 1.5rem 0 1rem;
  position: relative;
}

.hero-split-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  position: relative;
  min-height: 320px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-normal);
}

.hero-split-card:hover {
  border-color: var(--border-hover);
}

/* ==========================================================================
   INSTAGRAM STORIES / HIGHLIGHTS SECTION
   ========================================================================== */

.stories-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.25rem;
  padding: 1rem 0.25rem 1.5rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.stories-container::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.story-item:hover {
  transform: translateY(-3px);
}

.story-circle {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.story-item:hover .story-circle {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.story-circle::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: #ffffff;
  border-radius: 18px;
  z-index: 1;
  transition: background var(--transition-normal);
}

.story-circle img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  z-index: 2;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  transform: scale(1.45);
  transition: transform var(--transition-normal);
}

.story-item:hover .story-circle img {
  transform: scale(1.55);
}

.story-universite .story-circle img {
  transform: scale(1.02);
  padding: 4px;
}

.story-item.story-universite:hover .story-circle img {
  transform: scale(1.12);
}

.story-spor .story-circle img {
  transform: scale(1.0);
  padding: 6px;
}

.story-item.story-spor:hover .story-circle img {
  transform: scale(1.1);
}

.story-icon-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  z-index: 2;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.story-icon-wrapper svg {
  width: 44px;
  height: 44px;
  color: var(--primary);
  stroke-width: 1.8px;
  transition: transform var(--transition-normal);
}

.story-item:hover .story-icon-wrapper svg {
  transform: scale(1.15);
}

.story-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  transition: color var(--transition-fast);
}

.story-item:hover .story-label {
  color: var(--primary);
}

/* ==========================================================================
   ETKİNLİKLER SLİDER BAŞLIĞI
   ========================================================================== */

.events-section-header {
  margin-top: 1.5rem;
  margin-bottom: 0.15rem;
  padding-left: 0.25rem;
  text-align: left;
}

.events-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  white-space: nowrap;
}

/* ==========================================================================
   CANLI KASTAMONU HABERLERİ SLİDER & KART STİLLERİ
   ========================================================================== */

.news-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
  margin-bottom: 0.2rem;
  padding-left: 0.25rem;
  flex-wrap: wrap;
  gap: 8px;
}

.news-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
  animation: live-pulse-ring 1.6s infinite ease-in-out;
}

@keyframes live-pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.news-status-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.news-meta-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.news-source-tag {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.news-slide-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.news-slide-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.35rem;
  margin-bottom: 1.15rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.btn-news-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all var(--transition-fast);
}

.btn-news-read:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  color: #ffffff !important;
}

/* ==========================================================================
   ETKİNLİKLER SLİDER (ALTTAKİ DÖNEN ETKİNLİK KARTLARI)
   ========================================================================== */

.events-slider-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.events-slider-wrapper {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-md);
}

.events-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-sizing: border-box;
}

.event-slide {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 100%;
  box-sizing: border-box;
}

.event-split-card {
  box-shadow: none;
  border: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}

.event-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.event-footer-action {
  display: flex;
  align-items: center;
  width: 100%;
}

/* ==========================================================================
   SLİDER KONTROLLERİ (KARTIN ALTINDA, HİÇBİR YAZIYA BİNMEYEN DÜZEN)
   ========================================================================== */

.events-slider-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.events-slider-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-card);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.events-slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.events-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.events-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--text-muted);
  opacity: 0.5;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.events-dot:hover {
  opacity: 1;
}

.events-dot.active {
  width: 22px;
  opacity: 1;
  background: var(--primary);
}

.hero-card-left {
  padding: 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  word-wrap: break-word;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-highlight-event {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.event-action-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.btn-event-discover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  max-width: 100%;
}

.btn-event-discover:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 480px;
}

/* Entegre Arama Çubuğu */
.hero-search-wrapper {
  max-width: 460px;
  width: 100%;
  border-radius: var(--radius-full);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: all var(--transition-normal);
}

.search-box:focus-within {
  border-color: var(--border-active);
  background: var(--bg-surface-card);
}

.search-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.search-box:focus-within .search-icon {
  color: var(--primary);
}

.search-input {
  width: 100%;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: background-color var(--transition-fast);
}

.search-clear-btn:hover {
  background: var(--border-subtle);
  color: var(--text-main);
}

/* Sağ Taraf Görsel Alanı */
.hero-card-right {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-split-card:hover .hero-cover-img {
  transform: scale(1.03);
}

.hero-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-surface-card) 0%, rgba(20, 28, 46, 0.15) 45%, transparent 100%);
  pointer-events: none;
}

.hero-cover-green-filter {
  position: absolute;
  inset: 0;
  background: var(--primary);
  mix-blend-mode: color;
  opacity: 0.60;
  pointer-events: none;
}

/* ==========================================================================
   MOBİL & TABLET UYUMLULUĞU (HERO & SLIDER)
   ========================================================================== */
@media (max-width: 860px) {
  .hero-section {
    padding: 1rem 0 0.5rem;
  }

  .hero-split-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-card-right {
    height: 180px;
    order: -1;
    width: 100%;
    min-width: 0;
  }

  .hero-cover-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, transparent 40%, var(--bg-surface-card) 100%);
  }

  .hero-card-left {
    padding: 1.15rem 1rem 1.35rem;
    text-align: left;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-main-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.4rem;
    word-break: break-word;
  }

  .hero-subtext {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    max-width: 100%;
    word-break: break-word;
  }

  .hero-search-wrapper {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .search-box {
    padding: 4px 6px 4px 12px;
    width: 100%;
  }

  .search-input {
    font-size: 0.88rem;
    padding: 7px 0;
    width: 100%;
    min-width: 0;
  }

  /* Etkinlikler Kartı Mobil Düzeni */
  .event-footer-action {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.25rem;
  }

  .btn-event-discover {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 6px;
    box-sizing: border-box;
  }

  .event-badge-tag {
    font-size: 0.74rem;
    padding: 3px 9px;
    margin-bottom: 0.4rem;
  }

  .events-slider-controls-bar {
    margin-top: 10px;
    gap: 10px;
  }

  .events-slider-btn {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .hero-card-right {
    height: 155px;
  }

  .hero-main-title {
    font-size: 1.24rem;
  }

  .hero-card-left {
    padding: 1rem 0.85rem 1.2rem;
  }

  .btn-event-discover {
    font-size: 0.84rem;
    padding: 10px 10px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .category-tile {
    min-height: 74px;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
  }
  
  .category-tile-name {
    font-size: 0.74rem;
  }
  
  .category-tile-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   KATEGORİ GEZGİNİ (BAR & CHIPS)
   ========================================================================== */

.category-nav-section {
  padding: 0.75rem 0 1.25rem;
  position: relative;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  width: 100%;
  padding: 4px 0;
}

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

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  text-align: center;
  min-height: 82px;
  user-select: none;
}

.category-tile:hover {
  transform: translateY(-3px);
}

.category-tile:hover .category-tile-icon,
.category-tile:hover .category-tile-name {
  opacity: 1;
}

.category-tile.active {
  background: linear-gradient(135deg, #059669 0%, #022c22 100%);
  transform: translateY(-3px) scale(1.04);
}

.category-tile-icon {
  margin-bottom: 6px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
  opacity: 0.85;
}

.category-tile-icon svg {
  width: 20px;
  height: 20px;
}

.category-tile.active .category-tile-icon {
  opacity: 1;
}

.category-tile-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  transition: opacity var(--transition-fast);
  opacity: 0.85;
}

.category-tile.active .category-tile-name {
  opacity: 1;
}

/* ==========================================================================
   ANA İÇERİK BÖLGESİ (GRID & LIST)
   ========================================================================== */

.main-content {
  flex: 1;
  padding: 2rem 0 3.5rem;
}

.promo-banner {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 2.2rem;
  position: relative;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-subtle);
}

.promo-banner:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-25deg);
  animation: banner-shine 6s infinite;
  pointer-events: none;
}

@keyframes banner-shine {
  0% { left: -150%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .directory-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ==========================================================================
   FOOTER (ALT BİLGİ)
   ========================================================================== */

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  height: 60px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  margin-left: -7px;
}

.footer-logo-img {
  height: 240px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: invert(0.9) hue-rotate(180deg) brightness(1.1);
  transition: filter var(--transition-normal);
}

[data-theme="light"] .footer-logo-img {
  filter: none;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer-links-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary);
}

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

/* ==========================================================================
   MOBİL ALT NAVİGASYON (BOTTOM BAR)
   ========================================================================== */

.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 99;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  flex: 1;
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item:hover {
  color: var(--text-main);
}

/* ==========================================================================
   MOBİL HİKAYELER (STORIES) UYUMLULUĞU
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero-bg-wrapper {
    background: linear-gradient(180deg, #059669 0%, #10b981 100%);
    padding: 1.25rem 0 2rem;
    margin-top: 0;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0 0 30px 30px;
  }

  .hero-section {
    padding-top: 0 !important;
  }

  .site-header {
    background: #059669 !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }

  .brand-logo-img {
    filter: invert(1) hue-rotate(180deg) brightness(2) !important;
  }

  .sidebar-toggle-btn,
  .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }

  .stories-container {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 0.85rem 1rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .stories-container::-webkit-scrollbar {
    display: none;
  }

  .story-item {
    width: 74px;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .story-circle {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    padding: 3px;
  }

  .story-circle::after {
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 15px;
  }

  .story-circle img {
    border-radius: 15px;
  }

  .story-icon-wrapper {
    border-radius: 15px;
  }

  .story-universite .story-circle img {
    padding: 3px;
  }

  .story-spor .story-circle img {
    padding: 4px;
  }

  .story-icon-wrapper svg {
    width: 32px;
    height: 32px;
  }

  .story-label {
    font-size: 0.76rem;
    margin-top: 0.45rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 28px;
    color: #ffffff !important;
    word-break: normal;
  }
}
