/* ==========================================================================
   İŞ DÜNYASI KİTAPLARI - ANA STİL DOSYASI (PREMIUM DESIGN SYSTEM)
   Renk Paleti: Koyu Lacivert, Altın Detaylar, Antrasit, Beyaz, Açık Gri
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  /* Renkler (Açık Tema) */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-surface: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --navy-dark: #0a192f;
  --navy-mid: #0f172a;
  --navy-light: #1e293b;
  
  --gold-primary: #d97706;
  --gold-light: #f59e0b;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --blue-primary: #0284c7;
  --blue-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-body: #070d17;
  --bg-card: #0f172a;
  --bg-card-subtle: #162035;
  --bg-surface: #0a1120;
  --border-color: #1e293b;
  --border-light: #162035;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.8);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   HEADER & NAVBAR ARCHITECTURE
   Kural: Masaüstünde menü LOGO ALTINDA TAM GENİŞLİKTE yer alır.
   Kural: Mobilde hamburger menü kullanılır; header'da ASLA buton bulunmaz!
   ========================================================================== */

.site-header {
  background-color: var(--navy-mid);
  color: #ffffff;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 1. Üst İnce Bilgi Barı */
.header-topbar {
  background-color: var(--navy-dark);
  font-size: 12.5px;
  color: #94a3b8;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1f5f9;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.topbar-phone i {
  color: var(--gold-light);
}
.topbar-phone:hover {
  color: var(--gold-light);
}

.topbar-slogan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

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

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

.topbar-social a {
  color: #94a3b8;
  font-size: 14px;
}
.topbar-social a:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* 2. Orta Marka & Arama Barı */
.header-main-row {
  padding: 16px 0;
}

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.1;
}

.brand-title .gold-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 3px;
}

/* Arama Alanı */
.header-search-wrap {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.search-box-inner {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 4px 6px 4px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: var(--transition);
}

.search-box-inner:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.search-box-inner input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 14px;
  color: #0f172a;
}

.search-box-inner input::placeholder {
  color: #94a3b8;
}

.search-submit-btn {
  background: var(--gold-gradient);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.search-submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

/* Hızlı Bilgi & İletişim Kutusu (Desktop) */
.header-contact-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header-contact-widget:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-primary);
}

.contact-widget-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-widget-meta {
  display: flex;
  flex-direction: column;
}

.contact-widget-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-widget-number {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* 3. MASAÜSTÜ MENÜ - LOGO ALTINDA TAM GENİŞLİK */
.header-nav-row {
  background-color: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.desktop-nav-list::-webkit-scrollbar {
  display: none;
}

.desktop-nav-item {
  position: relative;
  flex-shrink: 0;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 13px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.desktop-nav-link:hover,
.desktop-nav-item.active .desktop-nav-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--gold-light);
}

.desktop-nav-link.badge-ai {
  color: #38bdf8;
  font-weight: 600;
}
.desktop-nav-link.badge-ai:hover {
  color: #7dd3fc;
  border-bottom-color: #38bdf8;
}

.desktop-nav-link.badge-vote {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-light);
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-left: 6px;
  padding: 7px 12px;
}
.desktop-nav-link.badge-vote:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-bottom-color: transparent;
}

.nav-pill-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}
.nav-pill-tag.ai {
  background: #0284c7;
  color: #ffffff;
}
.nav-pill-tag.gold {
  background: var(--gold-primary);
  color: #ffffff;
}

/* ==========================================================================
   MOBİL HEADER & SLIDE-OVER HAMBURGER MENÜ
   Kural: Header alanında BUTON OLMAYACAK! Sadece Logo ve Hamburger ikonu.
   Tüm butonlar hamburger menünün içinde yer alır!
   ========================================================================== */

.mobile-header-bar {
  display: none; /* Masaüstünde gizli */
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: var(--navy-mid);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-hamburger-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobil Yan Çekmece (Drawer) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background-color: var(--navy-mid);
  color: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Mobil Arama Kutusu */
.drawer-search-box {
  margin-bottom: 20px;
}
.drawer-search-box .search-box-inner {
  box-shadow: none;
  background: #ffffff;
}

/* Mobil Hamburger İçi Butonlar */
.drawer-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: var(--transition);
}

.drawer-btn.gold {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.drawer-btn.ai {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.drawer-btn.outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

/* Mobil Menü Linkleri */
.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 500;
}

.drawer-nav-link i.link-icon {
  margin-right: 12px;
  color: var(--gold-light);
  font-size: 17px;
  width: 20px;
  text-align: center;
}

.drawer-nav-link:hover {
  color: #ffffff;
  padding-left: 14px;
}

/* Mobil Çekmece Alt Bilgi */
.drawer-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-contact-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.drawer-contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.drawer-contact-phone i {
  color: var(--gold-light);
}

/* ==========================================================================
   GENEL BİLEŞENLER & KARTLAR (CARDS, BUTTONS, BADGES)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-mid);
  color: #ffffff;
  border-color: var(--navy-mid);
}
.btn-primary:hover {
  background: var(--navy-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #ffffff;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}
.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--bg-card-subtle);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* Rozetler (Badges) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
}
.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}
[data-theme="dark"] .badge-gold {
  color: #fbbf24;
}
.badge-blue {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}
.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

/* Bölüm Başlıkları (Section Headers) */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-pretitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 650px;
  margin-top: 4px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
[data-theme="dark"] .section-link {
  color: var(--gold-light);
}
.section-link:hover {
  color: var(--gold-primary);
  gap: 9px;
}

/* ==========================================================================
   HERO SECTION (KARŞILAMA BÖLÜMÜ)
   ========================================================================== */

.hero-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  top: -100px;
  right: -50px;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: #f1f5f9;
  margin-bottom: 20px;
}
.hero-badge-pill i {
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-search-large {
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero-search-large .search-box-inner {
  padding: 6px 8px 6px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-search-large input {
  font-size: 16px;
  padding: 12px 10px;
}

.hero-search-large .search-submit-btn {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

.hero-tag-link {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.hero-tag-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   KİTAP KARTLARI (BOOK CARDS)
   ========================================================================== */

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.book-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217, 119, 6, 0.4);
}

.book-cover-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  background-color: var(--navy-dark);
  overflow: hidden;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.book-badge-pos {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.book-info-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-category-tag {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.book-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-card-author {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.book-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-size: 12.5px;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}
.text-gold {
  color: var(--gold-light);
}
.rating-num {
  font-weight: 700;
  color: var(--text-main);
  margin-left: 4px;
}

/* ==========================================================================
   LİDERLER KARTLARI (LEADERS BOOKSHELVES)
   ========================================================================== */

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.leader-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.leader-header-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.leader-avatar-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  flex-shrink: 0;
}

.leader-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.leader-title-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.leader-quote-box {
  background-color: var(--bg-card-subtle);
  border-left: 3px solid var(--gold-primary);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ==========================================================================
   HALK OYLAMASI BÖLÜMÜ (SPECIAL PUBLIC VOTING MODULE)
   Kural: Yarışma başvurusu ve jüri yoktur. Sadece halk oylaması yer alır!
   ========================================================================== */

.voting-banner {
  background: linear-gradient(135deg, #0a192f 0%, #1e293b 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.voting-banner::after {
  content: '🏆';
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 150px;
  opacity: 0.12;
  pointer-events: none;
}

.voting-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.candidate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  margin-top: 12px;
  gap: 16px;
  transition: var(--transition);
}

.candidate-row:hover {
  background: #f1f5f9;
  border-left: 3px solid var(--gold-primary);
}

[data-theme="dark"] .candidate-row:hover {
  background: #1e293b;
}

.candidate-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.candidate-book-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.candidate-author {
  font-size: 13px;
  color: var(--text-muted);
}

.vote-action-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.vote-counter-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   YAPAY ZEKÂ KİTAP DANIŞMANI (AI BOOK ADVISOR CHAT UI)
   ========================================================================== */

.ai-advisor-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ai-advisor-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0369a1 100%);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.ai-chat-messages {
  height: 450px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-body);
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 14.5px;
  line-height: 1.6;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--navy-mid);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.ai-quick-prompts {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  overflow-x: auto;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  scrollbar-width: none;
}
.ai-quick-prompts::-webkit-scrollbar {
  display: none;
}

.quick-prompt-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.quick-prompt-chip:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.ai-chat-input-row input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  outline: none;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  font-size: 14px;
}
.ai-chat-input-row input:focus {
  border-color: var(--gold-primary);
  background: #ffffff;
}

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

.site-footer {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  padding: 70px 0 24px;
  margin-top: 80px;
  border-top: 2px solid var(--gold-primary);
}

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

.footer-brand-meta p {
  font-size: 14px;
  color: #94a3b8;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  color: #94a3b8;
  font-size: 13.5px;
  transition: var(--transition);
}
.footer-nav-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  margin-bottom: 12px;
  color: #cbd5e1;
}
.footer-contact-item i {
  color: var(--gold-light);
  font-size: 16px;
  margin-top: 3px;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .header-main-row,
  .header-nav-row {
    display: none; /* Masaüstü başlık ve menü mobilde gizlenir */
  }
  
  .mobile-header-bar {
    display: flex; /* Mobilde sadece hamburger & logo gösterilir */
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

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