/* Capitall — Sade beyaz kurumsal tema | capitall.com.tr */

:root {
  --navy: #0c2340;
  --navy-light: #1a3a5c;
  --navy-muted: #4a6278;
  --gold: #c9a227;
  --gold-hover: #b8921f;
  --gold-light: #f5ecd4;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-muted: #eef2f7;
  --text: #1a2b3c;
  --text-muted: #5c6b7a;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(12, 35, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 35, 64, 0.1);
  --shadow-lg: 0 16px 48px rgba(12, 35, 64, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Plus Jakarta Sans', system-ui, sans-serif;
  --transition: 0.25s ease;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[dir="rtl"] { font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

p, li, td, th, label, .form-label { color: var(--text); }
.text-muted { color: var(--text-muted) !important; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }

a { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.main-content { flex: 1; }

/* ─── Header / Navbar ─── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: var(--shadow-sm);
}

.site-header .navbar {
  padding: 1rem 0;
  background: transparent !important;
  min-height: 112px;
  align-items: center;
}

.navbar-brand.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--navy) !important;
  letter-spacing: -0.02em;
  padding: 0;
  margin-right: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.navbar-brand.logo-brand img,
.navbar-brand.logo-brand .logo-img {
  height: 72px;
  width: auto;
  max-width: min(420px, 68vw);
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Dikey (portrait) logo dosyası — örn. yeni logo.svg */
.navbar-brand.logo-brand .logo-img-portrait {
  height: 118px;
  width: 118px;
  max-width: 118px;
  max-height: 118px;
  object-fit: cover;
  object-position: center 36%;
}

@media (max-width: 991px) {
  .navbar-brand.logo-brand img,
  .navbar-brand.logo-brand .logo-img {
    height: 60px;
    max-height: 64px;
    max-width: min(320px, 75vw);
  }
  .navbar-brand.logo-brand .logo-img-portrait {
    height: 88px;
    width: 88px;
    max-width: 88px;
    max-height: 88px;
  }
  .site-header .navbar {
    min-height: 96px;
    padding: 0.75rem 0;
  }
}

@media (max-width: 575px) {
  .navbar-brand.logo-brand img,
  .navbar-brand.logo-brand .logo-img {
    height: 52px;
    max-height: 56px;
    max-width: 88vw;
  }
  .navbar-brand.logo-brand .logo-img-portrait {
    height: 72px;
    width: 72px;
    max-width: 72px;
    max-height: 72px;
  }
  .site-header .navbar {
    min-height: 84px;
  }
}

/* Canlı piyasa ticker */
.market-ticker-bar {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  min-height: 42px;
}

.market-ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(201, 162, 39, 0.25);
  color: var(--gold-light);
  white-space: nowrap;
  z-index: 2;
}

.market-ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.market-ticker-viewport::before,
.market-ticker-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 1;
  pointer-events: none;
}

.market-ticker-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}

.market-ticker-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy), transparent);
}

.market-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
  padding: 0.35rem 0;
}

.market-ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  white-space: nowrap;
}

.ticker-item i {
  color: var(--gold);
  font-size: 0.75rem;
  opacity: 0.9;
}

.ticker-sym {
  font-weight: 700;
  color: #fff;
}

.ticker-price {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.ticker-chg {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.ticker-chg.up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
}

.ticker-chg.down {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
}

.ticker-chg.flat {
  color: rgba(255, 255, 255, 0.5);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .market-ticker-label span:not(.fa-chart-line) { display: none; }
  .market-ticker-label { padding: 0 0.65rem; font-size: 0.65rem; }
  .ticker-item { padding: 0.35rem 0.85rem; font-size: 0.72rem; }
}

/* Hero video */
.hero-media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--navy);
}

.hero-video,
.hero-media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media-fallback {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.15), transparent 50%);
  pointer-events: none;
}

.hero-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

/* Dönen fotoğraf şeridi */
.media-showcase-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.media-showcase-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: showcase-scroll 45s linear infinite;
}

.media-showcase-track:hover {
  animation-play-state: paused;
}

.media-showcase-item {
  flex: 0 0 280px;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.media-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes showcase-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reklamlar */
.ad-banner-wrap {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.ad-banner {
  max-height: 120px;
  object-fit: cover;
  width: 100%;
}

.ad-slot .ad-image {
  width: 100%;
  transition: var(--transition);
}

.ad-slot .ad-link:hover .ad-image {
  opacity: 0.92;
  transform: scale(1.01);
}

.ad-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.ad-slot-sidebar .ad-unit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
}

/* Stratejik İş Ortağı Paneli */
.partner-panel-page {
  background: var(--bg-soft);
  min-height: 60vh;
}

.partner-panel-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.partner-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.partner-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: var(--text) !important;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.partner-nav-link:hover,
.partner-nav-link.active {
  background: var(--gold-light);
  color: var(--navy) !important;
}

.partner-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  height: 100%;
}

.partner-stat-card.highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: none;
  color: #fff;
}

.partner-stat-card.highlight .stat-label,
.partner-stat-card.highlight .stat-num {
  color: #fff !important;
}

.partner-stat-card .stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-serif);
}

.partner-stat-card .stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.partner-project-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.partner-project-item:last-child {
  border-bottom: none;
}

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--navy) !important;
  background: var(--bg-soft);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text) !important;
  padding: 0.5rem 0.85rem;
}

.dropdown-item:hover, .dropdown-item.active {
  background: var(--gold-light);
  color: var(--navy) !important;
}

.header-search-btn {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-search-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-light);
}

.lang-flag { font-size: 1rem; line-height: 1; }

/* ─── Buttons ─── */
.btn-gold {
  background: linear-gradient(135deg, #d4af37, #c9a227);
  color: #1a1a1a !important;
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e0bc42, #b8921f);
  color: #0a0a0a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-hover);
  color: var(--navy) !important;
}

.btn-navy {
  background: var(--navy);
  color: #fff !important;
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
}

.btn-navy:hover {
  background: var(--navy-light);
  color: #fff !important;
}

.btn-ghost {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.btn-ghost:hover {
  background: var(--bg-muted);
  border-color: var(--navy-muted);
}

/* ─── Hero ─── */
.hero-section {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--white) 50%, var(--gold-light) 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero-section .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ─── Page header ─── */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0;
}

.page-header h1 {
  color: #fff !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-header p,
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.page-header .breadcrumb-item.active { color: rgba(255, 255, 255, 0.65) !important; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ─── Cards ─── */
.card, .service-card, .sector-card, .insight-card, .blog-card, .bg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover,
.sector-card:hover,
.insight-card:hover,
.blog-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card .card-img-top,
.sector-card .card-img-top {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.service-card h3,
.sector-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p,
.sector-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover { color: var(--gold) !important; }

/* Quick nav tiles (Görüşler, Sektörler...) */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.quick-nav-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 130px;
  transition: var(--transition);
  color: var(--navy) !important;
}

.quick-nav-tile i {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.quick-nav-tile:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--bg-soft);
}

.quick-nav-tile span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy) !important;
}

/* Stats */
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-box .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-serif);
}

.stat-box .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Forms */
.form-control, .form-select {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text) !important;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
  background: var(--white);
  color: var(--text) !important;
}

.form-control::placeholder { color: #94a3b8; }

/* Newsletter strip */
.newsletter-strip {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0;
  border-radius: var(--radius-lg);
}

.newsletter-strip h3 { color: #fff !important; }
.newsletter-strip p { color: rgba(255,255,255,0.85) !important; }

/* News cards */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  height: 100%;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.news-card .news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}

.site-footer h5, .site-footer h6 {
  color: #fff !important;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer p, .site-footer li, .site-footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
}

.site-footer a:hover { color: var(--gold) !important; }

.site-footer .footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
}

.site-footer .footer-brand span { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 0;
}

.whatsapp-float .wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2s infinite;
  transition: transform var(--transition);
}

.whatsapp-float .wa-btn:hover {
  transform: scale(1.08);
  color: #fff !important;
}

.whatsapp-float .wa-tooltip {
  background: var(--navy);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 0;
  z-index: 1040;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-banner a { color: var(--navy-light); text-decoration: underline; }

/* Search modal */
#siteSearchModal .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
}

.search-result-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.search-result-item:last-child { border-bottom: none; }

/* Blog */
.blog-content {
  color: var(--text);
  line-height: 1.8;
}

.blog-content h2, .blog-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }

/* Tables */
.table { color: var(--text); }
.table thead th {
  background: var(--bg-soft);
  color: var(--navy) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}

/* Pagination */
.page-link {
  color: var(--navy);
  border-color: var(--border);
}

.page-item.active .page-link {
  background: var(--navy);
  border-color: var(--navy);
}

/* Alerts */
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Author cards */
.author-card {
  text-align: center;
  padding: 1.5rem;
}

.author-card .author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold-light);
}

/* Admin (light sidebar on white) */
.admin-wrapper { display: flex; min-height: 100vh; background: var(--bg-soft); }
.admin-sidebar {
  width: 260px;
  background: var(--navy);
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
}
.admin-content { margin-left: 260px; flex: 1; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 99;
}
.admin-main { padding: 1.5rem; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.85) !important;
  margin: 2px 0.75rem;
  font-size: 0.9rem;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
}
.admin-nav-section {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  padding: 1rem 1rem 0.35rem;
}
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.admin-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}
.admin-wrapper .card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-wrapper .form-control {
  background: var(--white);
  color: var(--text) !important;
}
.admin-wrapper h2, .admin-wrapper h5 { color: var(--navy) !important; }

/* Utilities */
.bg-soft { background: var(--bg-soft) !important; }
.border-gold { border-color: var(--gold) !important; }
.py-section { padding: 4rem 0; }
.img-cover { width: 100%; object-fit: cover; border-radius: var(--radius-lg); }

@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); transition: 0.25s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0 !important; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .whatsapp-float .wa-tooltip { display: none; }
}

@media (max-width: 767px) {
  .hero-section { padding: 2.5rem 0 2rem; }
  .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Teşvik platformu */
.tesvik-hero-header .lead { max-width: 640px; }
.max-w-search { max-width: 900px; }

.institution-list { display: flex; flex-direction: column; gap: 0.35rem; max-height: 320px; overflow-y: auto; }
.institution-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.65rem; border-radius: 8px;
  font-size: 0.78rem; color: var(--text) !important;
  border: 1px solid transparent;
}
.institution-chip:hover, .institution-chip.active {
  background: var(--gold-light); border-color: var(--gold);
}
.institution-chip i { color: var(--gold); width: 18px; }
.institution-chip span { flex: 1; line-height: 1.2; }
.institution-chip em {
  font-style: normal; font-weight: 700; font-size: 0.7rem;
  background: var(--bg-soft); padding: 0.15rem 0.4rem; border-radius: 4px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}
.program-card:hover {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow-md);
}

.feature-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.feature-step-card .step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 1rem;
}

.compare-card { border-radius: var(--radius-lg); padding: 1.5rem; }
.compare-bad { background: #fef2f2; border: 1px solid #fecaca; }
.compare-good { background: #f0fdf4; border: 1px solid #bbf7d0; }
.compare-card ul { margin: 0; padding-left: 1.2rem; }
.compare-card li { margin-bottom: 0.5rem; color: var(--text-muted); }

.bg-soft { background: var(--bg-muted) !important; }

/* Ana sayfa slider */
.home-slider-section { margin-bottom: 0; }
.home-carousel .carousel-item { min-height: 420px; }
.slider-slide {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slider-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,35,64,0.88) 0%, rgba(12,35,64,0.45) 55%, rgba(12,35,64,0.2) 100%);
}
.slider-caption {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 4rem 0 3.5rem;
  color: #fff;
}
.slider-caption h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 0.75rem; }
.slider-caption p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 1.25rem; }
.home-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none;
}
.home-carousel .carousel-indicators .active { background: var(--gold); }

/* Duyuru popup */
body.popup-open { overflow: hidden; }
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.site-popup.is-visible {
  display: flex !important;
  pointer-events: auto;
}
.site-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.65);
  z-index: 0;
}
.site-popup-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.site-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.site-popup-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  max-height: 180px;
  object-fit: cover;
}
.site-popup-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.site-popup-body { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }

/* Yorum kartları */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.review-stars { color: var(--gold); letter-spacing: 2px; }
.review-text { color: var(--text); font-style: italic; line-height: 1.6; }
.review-author strong { color: var(--navy); display: block; }
.review-author span { font-size: 0.85rem; color: var(--text-muted); }
.cms-page-content h2, .cms-page-content h3 { color: var(--navy); margin-top: 1.5rem; }
.cms-page-content p { color: var(--text-muted); line-height: 1.7; }
.cms-page-content .lead { font-size: 1.15rem; color: var(--navy); font-weight: 500; }
.cms-page-content .cms-figure {
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cms-page-content .cms-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cms-page-content .cms-figure-caption {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  text-align: center;
}
.cms-page-content .cms-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
.cms-page-content .cms-img-row .cms-figure { margin: 0; }
@media (max-width: 767px) {
  .cms-page-content .cms-img-row { grid-template-columns: 1fr; }
}
.cms-page-content .stat-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.cms-page-content .stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.help-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  min-height: 100px;
  transition: var(--transition);
}
.help-quick-link i { font-size: 1.5rem; color: var(--gold); }
.help-quick-link:hover {
  border-color: var(--gold);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.help-faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--navy);
}
.help-faq-accordion .accordion-button:not(.collapsed) {
  background: var(--gold-light);
  color: var(--navy);
  box-shadow: none;
}
.help-sidebar-links a { color: var(--text-muted); }
.help-sidebar-links a:hover { color: var(--gold); }

/* HD kart görselleri */
.card-img-hd,
.sector-card .card-img-hd {
  height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.service-card .card-img-hd { height: 240px; }

.corporate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.corporate-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow-md);
}
.corporate-card-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.corporate-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.corporate-card:hover .corporate-card-img-wrap img {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .home-carousel .carousel-item,
  .slider-slide { min-height: 320px; }
  .slider-caption { padding: 2.5rem 0 2rem; }
}
