/* ==========================================================================
   Sevim Köseliören — MHP Ardahan İl Başkanı Resmi Web Sitesi Tasarım Sistemi
   Mobil, Tablet ve Masaüstü Tam Uyumlu Kurumsal Mimari
   ========================================================================== */

:root {
  --mhp-red: #ed1c24;
  --mhp-red-dark: #b80f17;
  --mhp-red-deep: #7f0910;
  --mhp-red-soft: rgba(237, 28, 36, 0.09);
  --navy-950: #090e1a;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --surface-alt: #f8fafc;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;
  --gold-accent: #f59e0b;

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 22px 50px rgba(15, 23, 42, 0.14);
  --shadow-red: 0 12px 28px rgba(237, 28, 36, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background-color: var(--white);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 8px;
}

.mt-3 {
  margin-top: 14px;
}

/* ==========================================================================
   Üst Kurumsal Şerit & Sticky Navigasyon
   ========================================================================== */

.top-ribbon {
  background: linear-gradient(90deg, var(--mhp-red-deep) 0%, var(--mhp-red) 55%, var(--mhp-red-dark) 100%);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 0;
}

.top-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-ribbon-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ribbon-hilal {
  width: 22px;
  height: 18px;
  flex-shrink: 0;
}

.top-ribbon-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ribbon-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}

.ribbon-contact-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.ribbon-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ribbon-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.ribbon-socials a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-banner-logo {
  height: 62px;
  width: auto;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.24);
  transition: transform 0.2s ease;
}

.brand-lockup:hover .brand-banner-logo {
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--mhp-red);
  background: var(--mhp-red-soft);
}

.nav-link.nav-cta {
  background: var(--mhp-red);
  color: var(--white) !important;
  padding: 9px 16px;
  margin-left: 6px;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.25);
}

.nav-link.nav-cta:hover {
  background: var(--mhp-red-dark);
  transform: translateY(-1px);
}

/* Mobil Menü Butonu & Çekmece */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: 0.25s ease;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(330px, 88vw);
  height: 100dvh;
  background: var(--white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.2);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--navy-900);
  color: var(--white);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-drawer-brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.mobile-drawer-brand span {
  font-size: 0.75rem;
  color: #fca5a5;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--mhp-red-soft);
  color: var(--mhp-red);
  border-left-color: var(--mhp-red);
}

.mobile-drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--slate-200);
}

/* ==========================================================================
   Butonlar
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--mhp-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--mhp-red-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn-outline-dark:hover {
  border-color: var(--navy-900);
  background: var(--slate-100);
}

.btn-outline-danger {
  background: transparent;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.45);
}

.btn-outline-danger:hover {
  background: #ef4444;
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-whatsapp-outline {
  background: rgba(37, 211, 102, 0.1);
  color: #128c45;
  border-color: rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-outline:hover {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-dark-sm {
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  font-size: 0.82rem;
}

.btn-dark-sm:hover {
  background: #000;
}

.btn-insta-sm {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  padding: 10px 16px;
  font-size: 0.82rem;
}

.btn-insta-sm:hover {
  opacity: 0.92;
}

/* ==========================================================================
   Hero / Manşet Bölümü
   ========================================================================== */

.hero-section {
  position: relative;
  background: radial-gradient(circle at 82% 22%, rgba(237, 28, 36, 0.34) 0%, transparent 48%),
              linear-gradient(135deg, #090d16 0%, #131c2e 55%, #2b0a10 100%);
  color: var(--white);
  padding: 20px 0 82px;
  overflow: hidden;
}

.hero-ambient-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ambient-layer {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(52px) saturate(1.45) brightness(0.58);
  transform: scale(1.16);
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.hero-ambient-layer.active {
  opacity: 0.88;
}

.hero-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(237, 28, 36, 0.2) 0%, transparent 55%),
              linear-gradient(180deg, rgba(9, 13, 22, 0.36) 0%, rgba(9, 13, 22, 0.56) 100%);
}

.hero-container-wide {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: stretch;
  gap: 24px;
}

.hero-left-poster-col {
  display: flex;
  justify-content: flex-end;
}

.hero-poster-frame {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-poster-img {
  width: 100%;
  height: 382px;
  object-fit: contain;
  border-radius: 10px;
  background: #ed1c24;
}

.hero-poster-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(9, 14, 26, 0.82);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-poster-caption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--white);
}

.hero-poster-caption span {
  font-size: 0.69rem;
  color: #cbd5e1;
}

.hero-official-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(237, 28, 36, 0.2);
  border: 1px solid rgba(237, 28, 36, 0.55);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 22px;
}

.pill-logo {
  width: 28px;
  height: 28px;
}

.hero-official-pill span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffd6d8;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.6vw, 3.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-slogan {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: #ff6b72;
  line-height: 1.3;
}

.hero-lead {
  font-size: 1.07rem;
  color: #cbd5e1;
  max-width: 630px;
  margin-bottom: 22px;
}

.hero-quote-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--mhp-red);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 30px;
  max-width: 630px;
}

.hero-quote-box p {
  font-size: 0.95rem;
  font-style: italic;
  color: #f1f5f9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: flex;
  width: 100%;
}

.hero-slider-frame {
  position: relative;
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-slides-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 452px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide-ambient {
  position: absolute;
  inset: -18px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.08);
  opacity: 0.9;
}

.hero-slide-item.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-slide-item.slide-contain img {
  object-fit: contain;
  object-position: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 14, 26, 0.55);
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  background: var(--mhp-red);
  transform: translateY(-50%) scale(1.06);
}

.slider-prev {
  left: 22px;
}

.slider-next {
  right: 22px;
}

.slider-dots-overlay {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: rgba(9, 14, 26, 0.5);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 24px;
  background: var(--mhp-red);
}

/* ==========================================================================
   Öne Çıkan İstatistik / Kimlik Şeridi
   ========================================================================== */

.stats-strip {
  position: relative;
  z-index: 10;
  margin-top: -52px;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--mhp-red);
  transition: transform 0.22s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--mhp-red);
  background: var(--mhp-red-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* ==========================================================================
   Genel Bölüm Başlıkları
   ========================================================================== */

.section {
  padding: 78px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--mhp-red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow-light {
  color: #ffd6d8;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--slate-600);
}

/* ==========================================================================
   MHP Ardahan İl Başkanlığı Bölümü
   ========================================================================== */

.presidency-section {
  padding-top: 52px;
}

.presidency-banner {
  background: linear-gradient(128deg, var(--mhp-red-deep) 0%, var(--mhp-red) 62%, #c9121a 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 42px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-red);
  margin-bottom: 32px;
}

.presidency-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 14px;
}

.presidency-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.93);
  max-width: 780px;
  margin-bottom: 22px;
}

.district-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-pill {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.presidency-emblem {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.activity-card {
  background: var(--surface-alt);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.22s ease;
}

.activity-card:hover {
  background: var(--white);
  border-color: rgba(237, 28, 36, 0.35);
  box-shadow: var(--shadow-md);
}

.activity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.activity-cat {
  color: var(--mhp-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.activity-date {
  color: var(--slate-500);
}

.activity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.activity-card p {
  font-size: 0.93rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Hakkında & Kurumsal Biyografi
   ========================================================================== */

.bio-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.bio-layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 40px;
  align-items: start;
}

.bio-sidebar-card {
  position: sticky;
  top: 102px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.bio-portrait-wrap {
  background: linear-gradient(135deg, #0f172a 0%, #2a0c12 100%);
  padding: 18px;
  display: flex;
  justify-content: center;
}

.bio-portrait-img {
  width: 100%;
  max-width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.bio-quick-facts {
  padding: 24px;
}

.bio-quick-facts h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--navy-900);
}

.facts-list li {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.facts-list li:last-child {
  border-bottom: none;
}

.fact-key {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}

.fact-val {
  font-size: 0.9rem;
  color: var(--navy-900);
  font-weight: 700;
}

.bio-chapters {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-chapter {
  display: flex;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.chapter-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--mhp-red);
  background: var(--mhp-red-soft);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chapter-body h3 {
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.chapter-body p {
  color: var(--slate-700);
  font-size: 0.98rem;
}

/* ==========================================================================
   Filtre Sekmeleri & Kariyer Zaman Çizelgesi
   ========================================================================== */

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

#socialFilters {
  justify-content: flex-start;
}

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--mhp-red);
  color: var(--mhp-red);
}

.filter-tab.active {
  background: var(--mhp-red);
  border-color: var(--mhp-red);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(237, 28, 36, 0.24);
}

.timeline-track {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--mhp-red) 0%, var(--slate-300) 100%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.timeline-item:hover {
  border-color: rgba(237, 28, 36, 0.4);
  box-shadow: var(--shadow-md);
}

.timeline-dot {
  position: absolute;
  left: -31px;
  top: 26px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--mhp-red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--mhp-red);
}

.timeline-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy-900);
  padding: 3px 11px;
  border-radius: 6px;
}

.timeline-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mhp-red);
  background: var(--mhp-red-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.93rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Basında Biz (Haberler Bölümü)
   ========================================================================== */

.press-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.24s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(237, 28, 36, 0.35);
}

.news-thumb {
  position: relative;
  height: 195px;
  background: linear-gradient(135deg, var(--navy-900) 0%, #2a0c12 60%, var(--mhp-red-dark) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.news-thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  padding: 18px;
  text-align: center;
}

.news-thumb-placeholder img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.news-thumb-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.news-source-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 14, 26, 0.85);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.news-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.news-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 18px;
  flex: 1;
}

.news-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
}

.news-read-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--mhp-red);
  cursor: pointer;
  padding: 0;
}

.news-read-btn:hover {
  text-decoration: underline;
}

.news-ext-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-600);
}

.news-ext-link:hover {
  color: var(--navy-900);
}

/* ==========================================================================
   Sosyal Medya (X & Instagram Paylaşımları)
   ========================================================================== */

.social-follow-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.social-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.22s ease;
}

.social-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.social-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.social-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.social-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mhp-red);
  padding: 4px;
  flex-shrink: 0;
}

.social-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  color: var(--navy-900);
}

.social-author span {
  font-size: 0.79rem;
  color: var(--slate-500);
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.platform-pill.x {
  background: #0f172a;
  color: var(--white);
}

.platform-pill.instagram {
  background: rgba(220, 39, 67, 0.1);
  color: #c11e56;
}

.social-text {
  font-size: 0.96rem;
  color: var(--navy-800);
  white-space: pre-line;
}

.social-media-img {
  width: 100%;
  max-height: 290px;
  object-fit: contain;
  background: var(--navy-950);
  border-radius: 10px;
  border: 1px solid var(--slate-200);
}

.social-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.8rem;
  color: var(--slate-500);
}

.social-link-out {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--mhp-red);
}

.social-link-out:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Galeri Bölümü
   ========================================================================== */

.gallery-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--slate-200);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.gallery-img-wrap {
  height: 250px;
  background: #141a29;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.gallery-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.gallery-caption-bar {
  padding: 14px 18px;
}

.gallery-caption-bar strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--navy-900);
}

.gallery-caption-bar span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   İletişim Bölümü & Footer
   ========================================================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info-panel {
  background: linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 65%, #2b0b10 100%);
  color: var(--white);
  padding: 44px 38px;
}

.contact-mhp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-mhp-header span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff7a80;
}

.contact-mhp-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.contact-lead {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 28px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mhp-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box.icon-whatsapp {
  background: var(--whatsapp);
}

.contact-detail-item span {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 2px;
}

.contact-detail-item strong {
  font-size: 0.94rem;
  color: var(--white);
}

.contact-form-panel {
  padding: 44px 38px;
}

.contact-form-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-panel > p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

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

.form-row.align-end {
  align-items: end;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 11px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--navy-900);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--mhp-red);
  background: var(--white);
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback.success {
  color: #15803d;
}

.form-feedback.error {
  color: #dc2626;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 58px 0 26px;
  border-top: 4px solid var(--mhp-red);
}

.footer-top {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: start;
  align-items: start;
  gap: 56px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col {
  display: flex;
  align-items: flex-start;
}

.footer-banner-img {
  height: 242px;
  width: auto;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.site-footer h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links-col ul li {
  margin-bottom: 8px;
}

.footer-links-col ul li:last-child {
  margin-bottom: 0;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links-col a:hover {
  color: var(--white);
}

.footer-contact-col p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-socials a:hover {
  background: var(--mhp-red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #64748b;
  padding-right: 76px; /* Sağ alttaki sabit WhatsApp butonuyla çakışmaması için */
}

/* En Alttaki Küçük Admin Giriş Simgesi */
.admin-lock-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #64748b;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-lock-trigger:hover {
  color: var(--white);
  background: rgba(237, 28, 36, 0.4);
  border-color: var(--mhp-red);
}

/* ==========================================================================
   Sabit (Floating) Evrensel WhatsApp İkonu
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 980;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: var(--white);
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
  transition: transform 0.22s ease, background 0.22s ease;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px) scale(1.06);
}

.wa-label {
  display: none;
}

.wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--whatsapp);
  animation: waPulseAnim 2.4s infinite;
  pointer-events: none;
}

@keyframes waPulseAnim {
  0% {
    transform: scale(0.98);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

/* ==========================================================================
   Lightbox / Haber Okuyucu ve Admin Yönetim Paneli Modalları
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.75);
  backdrop-filter: blur(5px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-overlay.open {
  display: flex;
}

#viewerModal {
  z-index: 1250;
}

.viewer-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewer-dialog > .modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
}

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 46px;
}

.gallery-lightbox-stage img {
  max-width: 100%;
  max-height: 75dvh;
  border-radius: 10px;
  display: block;
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.gallery-lightbox-arrow:hover {
  background: var(--mhp-red, #d71920);
  border-color: transparent;
  transform: translateY(-50%) scale(1.06);
}

.gallery-lightbox-arrow.prev {
  left: 0;
}

.gallery-lightbox-arrow.next {
  right: 0;
}

.gallery-lightbox-counter {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .gallery-lightbox-stage {
    padding: 4px 34px;
  }
  .gallery-lightbox-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }
}

/* Admin Dialog — Tam Sayfa Yönetim Merkezi */
body.admin-open {
  overflow: hidden;
}

.modal-overlay.admin-fullscreen-overlay {
  padding: 0;
  background: var(--slate-100);
  backdrop-filter: none;
  align-items: stretch;
  justify-content: stretch;
}

.admin-dialog,
.admin-dialog.admin-fullscreen-dialog {
  position: relative;
  background: #f1f5f9;
  border-radius: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--navy-900);
  color: var(--white);
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

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

.admin-topbar-title h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.admin-topbar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sync-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.2);
  color: #86efac;
}

.storage-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

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

.admin-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.admin-close-btn:hover {
  background: var(--mhp-red);
  border-color: var(--mhp-red);
}

.admin-login-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow-y: auto;
  background: radial-gradient(circle at top right, rgba(237, 28, 36, 0.12), transparent 45%), #0f172a;
}

.login-box {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.login-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--mhp-red-soft);
  color: var(--mhp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.login-box h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.login-box p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 22px;
}

.login-box form {
  text-align: left;
}

/* Tam Sayfa Dashboard: Sol Kenar Çubuğu + Ana Alan */
.admin-dashboard-view {
  flex: 1;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  overflow: hidden;
  min-height: 0;
}

.admin-sidebar {
  background: var(--white);
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  overflow-y: auto;
}

.admin-sidebar-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 0 12px 10px;
}

.admin-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: transparent;
  border-bottom: none;
}

.admin-tab-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate-700);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.admin-tab-btn:hover {
  background: var(--slate-100);
  color: var(--navy-900);
}

.admin-tab-btn.active {
  background: var(--mhp-red);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(237, 28, 36, 0.22);
}

.admin-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.88;
}

.admin-tab-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-tab-count {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--slate-200);
  color: var(--slate-700);
}

.admin-tab-btn.active .admin-tab-count {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
}

.sidebar-storage-card {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 14px;
}

.sidebar-storage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.sidebar-storage-track {
  width: 100%;
  height: 7px;
  background: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.sidebar-storage-fill {
  height: 100%;
  background: #16a34a;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.sidebar-storage-fill.warn {
  background: #f59e0b;
}

.sidebar-storage-fill.danger {
  background: #dc2626;
}

.sidebar-storage-card small {
  font-size: 0.72rem;
  color: var(--slate-500);
}

.admin-tab-panels {
  flex: 1;
  overflow-y: auto;
  padding: 28px 34px 48px;
  background: #f1f5f9;
}

.admin-panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
}

.admin-panel.active {
  display: block;
}

.admin-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-panel h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.panel-help {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 18px;
  max-width: 780px;
}

.admin-panel-header .panel-help {
  margin-bottom: 0;
}

.card-subform {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.card-subform h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--mhp-red);
  margin-bottom: 14px;
}

.btn-file,
.btn-file-inline {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-file {
  width: 100%;
}

.checkbox-row {
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.subform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--slate-200);
  margin: 24px 0;
}

/* Slayt Stüdyosu & Canlı Önizleme */
.slide-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 1fr);
  gap: 24px;
  align-items: start;
}

.slide-studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.slide-studio-head h5 {
  margin-bottom: 0;
}

.slide-mode-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.slide-mode-pill.editing {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.slide-dropzone {
  border: 2px dashed var(--slate-300);
  border-radius: 12px;
  padding: 16px 18px;
  background: #f8fafc;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.slide-dropzone.dragover {
  border-color: var(--mhp-red);
  background: rgba(237, 28, 36, 0.05);
}

.slide-dropzone-content {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--slate-600);
}

.slide-dropzone-content svg {
  color: var(--mhp-red);
  flex-shrink: 0;
}

.slide-dropzone-content > div {
  flex: 1;
  min-width: 0;
}

.slide-dropzone-content strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy-900);
}

.slide-dropzone-content span {
  display: block;
  font-size: 0.76rem;
  color: var(--slate-500);
}

.slide-preview-panel {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 16px;
}

.slide-preview-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 10px;
}

.slide-preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
}

.slide-preview-ambient {
  position: absolute;
  inset: -16px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.65);
  opacity: 0.75;
}

.slide-preview-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-preview-stage.contain img {
  object-fit: contain;
}

.slide-preview-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
}

.slide-preview-meta {
  margin-top: 12px;
}

.slide-preview-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.slide-preview-meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Mevcut Varlık Fotoğraflarından Seçici */
.slide-asset-picker {
  border: 1px solid var(--slate-200);
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.slide-asset-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.slide-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.slide-asset-option {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.slide-asset-option:hover {
  transform: translateY(-2px);
  border-color: var(--mhp-red);
}

.slide-asset-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slayt Fotoğrafları Kart Grid */
.admin-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-list-header h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.admin-slides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}

.admin-slide-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-slide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.admin-slide-card[draggable="true"] {
  cursor: grab;
  user-select: none;
}

.admin-slide-card.is-dragging {
  opacity: 0.45;
  transform: scale(0.97);
  cursor: grabbing;
}

.admin-slide-card.is-drag-over {
  outline: 2.5px dashed var(--mhp-red, #d71920);
  outline-offset: 2px;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.16);
}

.admin-slide-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
  cursor: grab;
}

.admin-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.admin-slide-thumb.is-contain img {
  object-fit: contain;
}

.admin-slide-order {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.admin-slide-order.is-cover {
  background: var(--mhp-red);
}

.admin-slide-fit-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.admin-slide-body {
  padding: 14px 16px;
  flex: 1;
}

.admin-slide-body strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
  margin-bottom: 4px;
  line-height: 1.35;
}

.admin-slide-body span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.admin-slide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
}

.admin-slide-move-btns,
.admin-slide-edit-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon-sq {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
}

.btn-icon-sq:hover:not(:disabled) {
  border-color: var(--navy-900);
  background: var(--slate-100);
}

.btn-icon-sq:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* İki Kolonlu Paneller ve Görsel Önizlemeli Listeler */
.admin-two-col-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.admin-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
}

.admin-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.admin-item-thumb {
  width: 68px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
}

.admin-item-info {
  min-width: 0;
}

.admin-item-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.admin-item-info span {
  font-size: 0.79rem;
  color: var(--slate-500);
}

.admin-item-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.firebase-status-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--slate-200);
  font-size: 0.88rem;
}

.admin-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  z-index: 1300;
  transition: opacity 0.25s ease;
}

.admin-toast.show {
  opacity: 1;
}

/* ==========================================================================
   TABLET VE CEP TELEFONU UYUMLULUĞU (RESPONSIVE BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1080px) {
  .brand-banner-logo {
    height: 48px;
    max-width: calc(100vw - 104px);
    object-fit: contain;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-container-wide {
    padding: 0 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-left-poster-col {
    justify-content: center;
  }

  .hero-slider-frame,
  .hero-slides-viewport {
    border-radius: 12px;
  }

  .hero-poster-frame {
    max-width: 340px;
  }

  .hero-slider-frame {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bio-layout {
    grid-template-columns: 1fr;
  }

  .bio-sidebar-card {
    position: static;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .admin-dashboard-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding: 10px 14px;
    overflow-y: visible;
  }

  .admin-sidebar-section-label,
  .admin-sidebar-footer {
    display: none;
  }

  .admin-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .slide-studio-grid,
  .admin-two-col-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .top-ribbon-left span {
    font-size: 0.68rem;
  }

  .ribbon-contact-link span {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .hero-section {
    padding: 32px 0 80px;
  }

  .hero-container-wide {
    padding: 0 16px;
  }

  .hero-left-poster-col {
    display: none;
  }

  .hero-slides-viewport {
    height: 270px;
    min-height: 270px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .presidency-banner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: left;
  }

  .presidency-banner-right {
    display: none;
  }

  .activities-grid,
  .news-grid,
  .social-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-banner-img {
    height: 185px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
    padding-right: 0;
    padding-bottom: 54px;
  }

  .bio-chapter {
    flex-direction: column;
    padding: 22px;
    gap: 14px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 28px 22px;
  }

  .floating-whatsapp {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-right: 64px;
  }

  .admin-dialog,
  .admin-dialog.admin-fullscreen-dialog {
    height: 100dvh;
  }

  .admin-topbar {
    padding: 12px 16px;
  }

  .admin-topbar-title h3 {
    font-size: 0.9rem;
  }

  #adminPreviewSiteBtn {
    display: none;
  }

  .admin-tab-panels {
    padding: 18px 16px 36px;
  }

  .slide-dropzone-content {
    flex-direction: column;
    text-align: center;
  }

  .admin-item-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
