/* ============================================================
   Özgür Duranlıoğlu - Modern & Kurumsal Tasarım Sistemi
   Logo Uyumlu Renk Paleti:
     Siyah   #1a1a1a  (Logo sol harf)
     Mavi    #29ABE2  (Logo sağ harf - tam logo rengi)
     Açık    #5ECBF0  (Logo parlak vurgu tonu)
   ============================================================ */

:root {
  /* Logo'daki gerçek mavi (#29ABE2) esas brand renk */
  --brand-primary: #29ABE2;
  --brand-primary-rgb: 41, 171, 226;
  --brand-primary-hover: #1a8fc2;
  --brand-primary-light: #e8f6fd;
  --brand-accent: #5ecbf0;
  --brand-accent-glow: rgba(94, 203, 240, 0.35);

  /* Logo siyahından türetilen koyu tonlar */
  --brand-dark: #1a1a1a;
  --brand-dark-surface: #1e293b;
  --brand-dark-border: #334155;

  --brand-bg: #f8fafc;
  --brand-card-bg: #ffffff;
  --brand-border: #e2e8f0;

  --brand-text-main: #1a1a1a;
  --brand-text-body: #334155;
  --brand-text-muted: #64748b;

  --brand-success: #10b981;
  --brand-warning: #f59e0b;
  --brand-danger: #ef4444;

  --shadow-sm: 0 1px 2px 0 rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(26, 26, 26, 0.08), 0 2px 4px -2px rgba(26, 26, 26, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(26, 26, 26, 0.09), 0 4px 6px -4px rgba(26, 26, 26, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(26, 26, 26, 0.11), 0 8px 10px -6px rgba(26, 26, 26, 0.05);
  --shadow-primary: 0 10px 20px -5px rgba(41, 171, 226, 0.40);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--brand-bg);
  color: var(--brand-text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------
   NAVBAR (Logo'ya tam uyumlu)
   ------------------------------------------------------------ */
.brand-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(41, 171, 226, 0.18);
  box-shadow: 0 2px 16px rgba(41, 171, 226, 0.08);
  transition: var(--transition);
  padding: 0.6rem 0;
  z-index: 1030;
}

.brand-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

/* Logo: beyaz arka planlı PNG olduğu için ince border + hafif gölge ile kutu içinde göster */
.brand-navbar .navbar-brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  padding: 3px 6px;
  background: #ffffff;
  border: 1.5px solid rgba(41, 171, 226, 0.30);
  box-shadow: 0 2px 8px rgba(41, 171, 226, 0.15);
  transition: var(--transition);
}

.brand-navbar .navbar-brand:hover img {
  transform: scale(1.05);
  border-color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(41, 171, 226, 0.30);
}

/* Marka adı — sol siyah, sağ mavi (logo renklerine göre) */
.brand-navbar .navbar-brand span {
  background: linear-gradient(90deg, #1a1a1a 40%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-navbar .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155 !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.brand-navbar .nav-link:hover {
  color: var(--brand-primary) !important;
  background-color: var(--brand-primary-light);
}

.brand-navbar .nav-link.active {
  color: var(--brand-primary) !important;
  background-color: var(--brand-primary-light);
  font-weight: 700;
}

/* Dil Değiştirici Hapı (Language Toggle Pill) */
.lang-toggle-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-border);
}

.lang-toggle-pill .lang-btn {
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--brand-text-muted);
  transition: var(--transition);
}

.lang-toggle-pill .lang-btn.active {
  background: var(--brand-primary);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(23, 145, 200, 0.4);
}

.lang-toggle-pill .lang-btn:hover:not(.active) {
  color: var(--brand-text-main);
}

/* ------------------------------------------------------------
   HERO BÖLÜMÜ (Modern Gradient & Enterprise Depth)
   ------------------------------------------------------------ */
.hero-wrapper {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(23, 145, 200, 0.08) 0%, rgba(56, 189, 248, 0.03) 45%, transparent 70%);
  padding: 4.5rem 0 3.5rem 0;
  border-bottom: 1px solid var(--brand-border);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid rgba(23, 145, 200, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--brand-dark);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--brand-text-muted);
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--brand-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Eski avatar stilleri (About sayfası vb için korunur) */
.hero-avatar-box {
  position: relative;
  display: inline-block;
}

.hero-avatar-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
  position: relative;
  z-index: 2;
}

.hero-avatar-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, rgba(41, 171, 226, 0.4), rgba(94, 203, 240, 0.4));
  border-radius: 36px;
  filter: blur(20px);
  z-index: 1;
}

/* --------------------------------------------------------
   HERO LOGO SHOWCASE (Index sayfası — Logo vitrin kutusu)
   -------------------------------------------------------- */
.hero-logo-showcase {
  position: relative;
  display: inline-block;
  padding: 2.25rem;
}

/* Kare yumuşak neon aura / arka plan ışıltısı */
.hero-logo-glow-aura {
  position: absolute;
  inset: 20px;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(41, 171, 226, 0.35) 0%, rgba(0, 114, 206, 0.15) 60%, transparent 100%);
  filter: blur(24px);
  opacity: 0.75;
  z-index: 1;
  animation: squareAuraPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes squareAuraPulse {
  0%   { transform: scale(0.95); opacity: 0.45; }
  100% { transform: scale(1.05); opacity: 0.85; }
}

/* Dış kare animasyonlu çerçeve 1 — logonun kare formuna tam uyumlu */
.hero-logo-ring {
  position: absolute;
  inset: 12px;
  border-radius: 36px;
  border: 2px dashed rgba(41, 171, 226, 0.45);
  z-index: 1;
  pointer-events: none;
  animation: squareRingPulse 4.5s ease-in-out infinite alternate;
}

/* Dış kare animasyonlu çerçeve 2 — daha geniş, derinlik katan dış kare */
.hero-logo-ring-2 {
  inset: 0px;
  border-radius: 44px;
  border: 1.5px solid rgba(41, 171, 226, 0.22);
  animation: squareRingPulse2 6.5s ease-in-out infinite alternate;
}

@keyframes squareRingPulse {
  0% {
    transform: scale(0.98);
    border-color: rgba(41, 171, 226, 0.3);
    box-shadow: 0 0 12px rgba(41, 171, 226, 0.08);
  }
  50% {
    transform: scale(1.02);
    border-color: rgba(41, 171, 226, 0.65);
    box-shadow: 0 0 24px rgba(41, 171, 226, 0.22);
  }
  100% {
    transform: scale(1);
    border-color: rgba(0, 114, 206, 0.4);
    box-shadow: 0 0 16px rgba(0, 114, 206, 0.12);
  }
}

@keyframes squareRingPulse2 {
  0% {
    transform: scale(1);
    border-color: rgba(41, 171, 226, 0.15);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.03);
    border-color: rgba(41, 171, 226, 0.38);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.99);
    border-color: rgba(41, 171, 226, 0.2);
    opacity: 0.7;
  }
}

/* İç kutu — soft glowlu kare */
.hero-logo-inner {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 28px;
  border: 2px solid rgba(41, 171, 226, 0.25);
  box-shadow:
    0 0 0 8px rgba(41, 171, 226, 0.07),
    0 20px 50px -10px rgba(41, 171, 226, 0.25),
    var(--shadow-xl);
  padding: 2rem;
  transition: var(--transition);
  animation: logoPulse 4s ease-in-out infinite;
}

.hero-logo-inner:hover {
  box-shadow:
    0 0 0 12px rgba(41, 171, 226, 0.10),
    0 28px 60px -10px rgba(41, 171, 226, 0.35),
    var(--shadow-xl);
  transform: translateY(-4px);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(41,171,226,0.07), 0 20px 50px -10px rgba(41,171,226,0.25), var(--shadow-xl); }
  50%       { box-shadow: 0 0 0 14px rgba(41,171,226,0.12), 0 24px 56px -10px rgba(41,171,226,0.35), var(--shadow-xl); }
}

.hero-logo-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  display: block;
}

.hero-floating-pill {
  position: absolute;
  bottom: 5px;
  right: -10px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(41, 171, 226, 0.25);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(41, 171, 226, 0.20);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-dark);
}

/* ------------------------------------------------------------
   BUTONLAR
   ------------------------------------------------------------ */
.btn-brand-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #10729e 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-brand-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -6px rgba(23, 145, 200, 0.45);
  color: #ffffff !important;
}

.btn-brand-secondary {
  background: #ffffff;
  color: var(--brand-dark) !important;
  border: 1px solid var(--brand-border);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-brand-secondary:hover {
  background: var(--brand-primary-light);
  color: var(--brand-primary) !important;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* CTA Banner Butonları */
.btn-cta-light {
  background: #ffffff;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.btn-cta-light:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  border-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.btn-cta-outline:hover {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .btn-cta-light,
  .btn-cta-outline {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   KARTLAR & VİTRİN BİLEŞENLERİ
   ------------------------------------------------------------ */
.modern-card {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(23, 145, 200, 0.35);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.modern-card:hover .card-icon-box {
  background: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.08);
}

/* Teknoloji Rozetleri (Badges) */
.tech-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--brand-text-body);
  border: 1px solid var(--brand-border);
  margin-right: 6px;
  margin-bottom: 6px;
}

.tech-badge-primary {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border-color: rgba(23, 145, 200, 0.25);
}

/* ------------------------------------------------------------
   ZAMAN ÇİZELGESİ (Timeline - Hakkımda Sayfası)
   ------------------------------------------------------------ */
.career-timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
  border-left: 2px solid var(--brand-border);
}

.timeline-step {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(23, 145, 200, 0.2);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------
   FOOTER (Logo Uyumlu, Prestijli & Modern Kurumsal)
   ------------------------------------------------------------ */
.brand-footer {
  background: linear-gradient(180deg, #0a1324 0%, #050b16 100%);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  margin-top: 5rem;
  position: relative;
  border-top: 1px solid rgba(41, 171, 226, 0.22);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Üst zarif parıltı aurası */
.brand-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  width: 450px;
  height: 140px;
  background: radial-gradient(ellipse at top, rgba(41, 171, 226, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Logo rozet kutusu (Logonun siyah/mavi harflerinin arka planla tam uyumlu ve net görünmesi için) */
.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(41, 171, 226, 0.35);
  box-shadow: 0 4px 14px rgba(41, 171, 226, 0.18), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.footer-logo-badge:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  box-shadow: 0 6px 20px rgba(41, 171, 226, 0.35);
}

.footer-logo-badge img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-name {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.footer-brand-title {
  color: #5ecbf0;
  font-size: 0.76rem;
  font-weight: 700;
  display: block;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

.brand-footer h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.brand-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.brand-footer a:hover {
  color: #5ecbf0;
}

/* LinkedIn & Mail Sosyal Medya Butonları */
.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

/* LinkedIn: Kurumsal LinkedIn mavisi & parlama */
.footer-social-btn.social-linkedin {
  background: rgba(10, 102, 194, 0.18);
  color: #5ecbf0;
  border: 1.5px solid rgba(10, 102, 194, 0.45);
  box-shadow: 0 2px 8px rgba(10, 102, 194, 0.15);
}

.footer-social-btn.social-linkedin:hover {
  background: #0a66c2;
  color: #ffffff !important;
  border-color: #0a66c2;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.5);
}

/* Mail: Logo cyan (#29ABE2) ile tam uyumlu buton */
.footer-social-btn.social-mail {
  background: rgba(41, 171, 226, 0.18);
  color: #29abe2;
  border: 1.5px solid rgba(41, 171, 226, 0.45);
  box-shadow: 0 2px 8px rgba(41, 171, 226, 0.15);
}

.footer-social-btn.social-mail:hover {
  background: var(--brand-primary);
  color: #ffffff !important;
  border-color: var(--brand-primary);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 18px rgba(41, 171, 226, 0.5);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #5ecbf0;
}

/* ------------------------------------------------------------
   ADMIN PANELİ ÖZEL STILLERİ (/Admin)
   ------------------------------------------------------------ */
.admin-body {
  background-color: #f1f5f9;
}

.admin-sidebar {
  min-height: 100vh;
  background: var(--brand-dark);
  color: #cbd5e1;
  padding: 1.5rem 1rem;
}

.admin-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--brand-dark-surface);
  text-decoration: none;
}

.admin-nav .nav-link {
  color: #94a3b8;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  margin-bottom: 4px;
}

.admin-nav .nav-link:hover, .admin-nav .nav-link.active {
  color: #ffffff;
  background: var(--brand-dark-surface);
}

.admin-nav .nav-link.active {
  border-left: 4px solid var(--brand-primary);
  background: rgba(23, 145, 200, 0.12);
  color: var(--brand-accent);
}

.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  padding: 1rem 1.5rem;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ------------------------------------------------------------
   BLOG & MAKALE STİLLERİ
   ------------------------------------------------------------ */
.blog-card {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(23, 145, 200, 0.35);
}

.blog-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}

.blog-content-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  color: var(--brand-dark);
}

.blog-content-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--brand-dark);
}

.blog-content-body p {
  margin-bottom: 1.4rem;
}

.blog-content-body img {
  max-width: 100%;
  height: auto !important;
  border-radius: var(--radius-md);
  margin: 1.8rem 0;
  box-shadow: var(--shadow-lg);
  display: block;
}

.blog-content-body blockquote {
  border-left: 4px solid var(--brand-primary);
  background: var(--brand-primary-light);
  padding: 1.25rem 1.5rem;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #1e293b;
}

.blog-content-body pre {
  background: #0f172a;
  color: #38bdf8;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

.blog-content-body code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.blog-content-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.blog-content-body ul, .blog-content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content-body li {
  margin-bottom: 0.5rem;
}