/* 
 * Kişisel Web Sitem - Genel Stil Dosyası
 * Tailwind Tarzı Minimalist & Monokrom Tasarım (Siyah & Beyaz)
 */

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

:root {
  /* Tailwind Zinc Renk Paleti (Light Mode) */
  --bg-app: #FAFAFA; /* zinc-50 */
  --bg-card: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.8);
  
  /* Sınırlar ve Bölücüler */
  --border-color: #E4E4E7; /* zinc-200 */
  --border-color-strong: #D4D4D8; /* zinc-300 */
  
  /* Metin Renkleri */
  --text-primary: #09090B; /* zinc-950 */
  --text-secondary: #3F3F46; /* zinc-700 */
  --text-muted: #71717A; /* zinc-500 */
  
  /* Vurgu ve Etkileşimler */
  --accent-color: #09090B; /* zinc-950 */
  --accent-color-hover: #27272A; /* zinc-800 */
  --accent-glow: rgba(9, 9, 11, 0.05);
  --bg-glow: rgba(9, 9, 11, 0.015);
  
  --btn-primary-text: #FFFFFF;
  
  /* Tailwind Shadow Efektleri */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);
  
  /* Köşe Yuvarlaklıkları */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Claymorphism Dark Mode Overrides (Minimalist Tailwind Dark Mode) */
[data-theme="dark"] {
  /* Tailwind Zinc Renk Paleti (Dark Mode) */
  --bg-app: #09090B; /* zinc-950 */
  --bg-card: #18181B; /* zinc-900 */
  --bg-header: rgba(9, 9, 11, 0.8);
  
  --border-color: #27272A; /* zinc-800 */
  --border-color-strong: #3F3F46; /* zinc-700 */
  
  --text-primary: #FAFAFA; /* zinc-50 */
  --text-secondary: #D4D4D8; /* zinc-300 */
  --text-muted: #A1A1AA; /* zinc-400 */
  
  --accent-color: #FAFAFA; /* zinc-50 */
  --accent-color-hover: #F4F4F5; /* zinc-100 */
  --accent-glow: rgba(250, 250, 250, 0.08);
  --bg-glow: rgba(250, 250, 250, 0.02);
  
  --btn-primary-text: #09090B; /* zinc-950 */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  display: flex;
  flex-direction: column; /* Dikey Düzen */
  transition: background-color 0.25s ease;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

/* ----------------------------------------------------
   STICKY TOP HEADER (ÜST YATAY GEZİNME BARİ)
   ---------------------------------------------------- */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-smooth);
}

.header-container-two-layer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  width: 100%;
}

.header-bottom-row {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100%;
  border-top: 1px solid var(--border-color);
}

.header-search-container {
  width: 340px;
  max-width: 40%;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search-form i.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.header-search-form input {
  width: 100%;
  padding: 8px 16px 8px 38px;
  border-radius: var(--radius-md);
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.header-search-form input:focus {
  outline: none;
  border-color: var(--border-color-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.header-social-links a:hover {
  color: var(--text-primary);
  transform: translateY(-1.5px);
}

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

/* Masaüstünde Sidebar Elemanlarını Gizle */
.sidebar-search-container,
.sidebar-social-links {
  display: none;
}


/* Sol Logo ve Profil */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 1px;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

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

/* Yatay Menü Linkleri */
.header-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav li a {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.header-nav li a:hover {
  color: var(--text-primary);
  background: var(--bg-app);
}

.header-nav li.active a {
  color: var(--text-primary);
  background: var(--bg-app);
  border-color: var(--border-color);
}

/* Sağ Kontroller */
.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tema Değiştirici Butonu */
.theme-toggle-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.theme-toggle-icon-btn:hover {
  background: var(--bg-app);
  color: var(--text-primary);
  border-color: var(--border-color-strong);
}

.theme-toggle-icon-btn:active {
  transform: scale(0.96);
}

/* Mobil Hamburger Menü Butonu */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background: var(--bg-app);
  color: var(--text-primary);
  border-color: var(--border-color-strong);
}

.mobile-menu-btn:active {
  transform: scale(0.96);
}

/* ----------------------------------------------------
   MAIN CONTENT AREA (ORTALANMIŞ YAPI)
   ---------------------------------------------------- */
.main-wrapper {
  margin-left: 0; /* Sidebar iptal */
  flex-grow: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 160px 40px 40px; /* Header boşluğu için 160px üst padding */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.main-content {
  flex-grow: 1;
}

/* ----------------------------------------------------
   MINIMALIST COMPONENTS (CARDS, BUTTONS)
   ---------------------------------------------------- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-color-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: var(--btn-primary-text) !important;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--accent-color-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary) !important;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--bg-app);
  border-color: var(--border-color-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

/* Page Headers */
.page-title-section {
  margin-bottom: 40px;
}

.page-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
}

/* ----------------------------------------------------
   FRONT PAGE (ANA SAYFA)
   ---------------------------------------------------- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-height: 70vh;
}

.hero-text-area {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-image-area {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.hero-image-area:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hero-image-container {
  width: 100%;
  height: 100%;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   HAKKIMDA SAYFASI (ABOUT ME)
   ---------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 45px;
  margin-bottom: 60px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.about-text p {
  margin-bottom: 20px;
}

/* Timeline (Work History) */
.timeline-section {
  margin-bottom: 60px;
}

.timeline-container {
  position: relative;
  margin-top: 30px;
  padding-left: 30px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 45px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -36px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 2px solid var(--bg-app);
  box-shadow: var(--shadow-sm);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.timeline-date {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
  background: var(--bg-card);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.timeline-body {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Works Snippet in About Page */
.about-works-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.works-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* ----------------------------------------------------
   ÇALIŞMALARIM SAYFASI (PORTFOLIO)
   ---------------------------------------------------- */
.portfolio-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background: var(--bg-app);
  border-color: var(--border-color-strong);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--accent-color);
  color: var(--btn-primary-text) !important;
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.filter-btn:active {
  transform: translateY(0) scale(0.97);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-bottom: 60px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-img-wrapper {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.03);
}

.portfolio-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.portfolio-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--text-primary);
}

.portfolio-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.7;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-badge {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.portfolio-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-color);
}

.portfolio-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.portfolio-links a:hover {
  color: var(--accent-color-hover);
  transform: translateX(3px);
}

/* Call to Action Section (Hadi Beraber Çalışalım) */
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  margin-bottom: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* ----------------------------------------------------
   YETENEKLERİM VE SERVİSLER SAYFASI
   ---------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.skill-card {
  text-align: left;
}

.skill-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.skill-card:hover .skill-card-icon {
  border-color: var(--border-color-strong);
  transform: translateY(-2px);
  color: var(--accent-color);
}

.skill-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.skill-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.skill-link {
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
}

.skill-link:hover {
  gap: 10px;
  color: var(--accent-color-hover);
}

/* Yetenek Detay Sayfası */
.service-detail-container {
  max-width: 800px;
  margin-bottom: 60px;
}

.service-meta-info {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.service-main-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.service-main-text p {
  margin-bottom: 20px;
}

.service-main-text h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 35px 0 15px;
  font-weight: 800;
}

/* ----------------------------------------------------
   BLOG SAYFASI
   ---------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-img-wrapper {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.blog-card h3 a:hover {
  color: var(--accent-color-hover);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.65;
}

.blog-readmore {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-readmore:hover {
  gap: 10px;
  color: var(--accent-color-hover);
}

/* ====================================================
   BLOG DETAY SAYFASI
   ==================================================== */

.glass-card.no-hover:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color);
}

/* ---- Wrapper ---- */
.blog-detail-wrapper {
  max-width: 100%;
}

/* ---- Başlık Bölümü ---- */
.blog-detail-header {
  margin-bottom: 40px;
}

.blog-back-link {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  margin-bottom: 32px;
}

.blog-back-link:hover {
  color: var(--text-primary);
  gap: 10px;
}

.blog-detail-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-detail-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-color);
}

.blog-detail-author {
  font-weight: 700;
  color: var(--text-primary);
}

.blog-detail-dot {
  opacity: 0.4;
}

.blog-detail-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 32px 0;
}

/* ---- Görsel ---- */
.blog-detail-image {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-detail-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

/* ---- İçerik Tipografisi ---- */
.blog-detail-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 48px;
  padding: 36px 40px;
}

.blog-detail-content p {
  margin-bottom: 22px;
}

.blog-detail-content p:last-child {
  margin-bottom: 0;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  color: var(--text-primary);
  margin: 36px 0 14px;
  font-weight: 800;
}

.blog-detail-content h2 { font-size: 1.5rem; }
.blog-detail-content h3 { font-size: 1.25rem; }

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.blog-detail-content li {
  margin-bottom: 8px;
}

.blog-detail-content blockquote {
  border-left: 3px solid var(--accent-color);
  padding: 14px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-primary);
  background: var(--bg-app);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.blog-detail-content a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-detail-content a:hover {
  color: var(--text-muted);
}

.blog-detail-content pre {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 22px 0;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}

.blog-detail-content code {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
}

.blog-detail-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

/* ---- Yorumlar ---- */
.blog-comments-section {
  margin-bottom: 20px;
}

.comments-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-title i {
  color: var(--text-muted);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.comment-card {
  padding: 20px 24px;
}

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

.comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.comment-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.comment-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.comment-body {
  padding-left: 46px;
}

.comment-body p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.comments-empty {
  text-align: center;
  padding: 40px 30px;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.comments-empty i {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}

.comments-empty p {
  font-size: 0.92rem;
  margin: 0;
}

/* Yorum Formu */
.comment-form-container {
  padding: 28px 30px;
}

.comment-form-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.comment-form-container .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.comment-form-container .form-group {
  margin-bottom: 16px;
}

.comment-form-container .form-row .form-group {
  margin-bottom: 0;
}

.comment-form-container .btn-primary {
  margin-top: 8px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-alert-success {
  background: var(--bg-app);
  border: 1px solid var(--border-color-strong);
  color: var(--text-primary);
}

.form-alert-danger {
  background: var(--bg-app);
  border: 1px solid var(--border-color-strong);
  color: var(--text-primary);
}

/* Blog Detay Responsive */
@media (max-width: 768px) {
  .blog-detail-title {
    font-size: 1.6rem;
  }

  .blog-detail-dot {
    display: none;
  }

  .blog-detail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .blog-detail-content {
    font-size: 0.98rem;
  }

  .comment-form-container .form-row {
    grid-template-columns: 1fr;
  }

  .comment-body {
    padding-left: 0;
    margin-top: 6px;
  }

  .comment-card {
    padding: 16px 18px;
  }
}

/* ----------------------------------------------------
   İLETİŞİM SAYFASI (CONTACT ME)
   ---------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.contact-info-details h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-social-section {
  margin-top: 20px;
}

.contact-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-social-btn {
  padding: 0 20px;
  height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-social-btn i {
  font-size: 1.1rem;
}

.contact-social-btn:hover {
  color: var(--bg-card) !important;
  background: var(--text-primary) !important;
  border-color: var(--text-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-social-btn:active {
  transform: scale(0.97);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-color-hover);
  box-shadow: var(--shadow-sm), 0 0 0 2px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.alert-danger {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

/* ----------------------------------------------------
   SITE FOOTER (NEW MODERN MULTI-COLUMN LAYOUT)
   ---------------------------------------------------- */
.site-footer-new {
  margin-top: 100px;
  padding-top: 60px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border-color);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
}

.footer-social-new {
  display: flex;
  gap: 10px;
}

.footer-social-new a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.footer-social-new a:hover {
  color: var(--bg-card) !important;
  background: var(--text-primary) !important;
  border-color: var(--text-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-social-new a:active {
  transform: scale(0.96);
}

/* Links Column */
.footer-col-links h4,
.footer-col-contact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-col-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-col-links ul li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-col-links ul li a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

/* Contact Column */
.footer-contact-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.footer-email-link:hover {
  color: var(--text-muted);
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-to-top-link {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.scroll-to-top-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  .footer-col-contact {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col-contact {
    grid-column: unset;
  }
  .footer-col-links ul {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ----------------------------------------------------
   ADMIN PANEL GEREKSİNİMLERİ (Ekstra Dokunuşlar)
   ---------------------------------------------------- */
.scr-thumb-box {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* ----------------------------------------------------
   MOBİL SIDEBAR VE OVERLAY TEMEL STİLLERİ
   ---------------------------------------------------- */
.sidebar-header {
  display: none;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 9, 11, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1009;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .sidebar-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.sidebar-open {
  overflow: hidden;
}

body.sidebar-open .top-header {
  z-index: 1010;
}

body.sidebar-open .header-brand,
body.sidebar-open .header-controls {
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 0.35s ease;
}


/* ----------------------------------------------------
   RESPONSIVE (MOBİL UYUMLULUK & SIDEBAR MENU)
   ---------------------------------------------------- */
@media (max-width: 992px) {
  .top-header {
    height: 80px;
  }

  .header-container-two-layer {
    padding: 0 24px;
  }

  .header-top-row {
    height: 100%;
    width: 100%;
  }

  .header-bottom-row {
    display: block;
    position: static;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: visible;
  }

  .header-search-container {
    display: none;
  }

  .header-social-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex; /* Hamburger aktif */
  }

  /* Mobil Kenar Çubuğu (Sidebar/Drawer) Yapısı */
  .header-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    z-index: 1010;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .header-nav.active {
    transform: translateX(0);
  }

  /* Kenar Çubuğu Başlığı */
  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .sidebar-close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
  }

  .sidebar-close-btn:hover {
    color: var(--text-primary);
    background: var(--border-color);
    transform: rotate(90deg);
  }

  .header-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header-nav li a {
    display: block;
    text-align: left;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
  }

  .header-nav li.active a {
    background: var(--border-color);
    border-color: var(--border-color-strong);
    color: var(--text-primary);
    font-weight: 600;
  }

  .header-nav li a:hover {
    background: var(--accent-glow);
    color: var(--text-primary);
    transform: translateX(4px);
  }

  /* Mobil Sidebar Arama ve Sosyal Medya */
  .sidebar-search-container {
    display: block;
    margin-bottom: 24px;
    width: 100%;
  }
  
  .sidebar-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  .sidebar-search-form i.search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
  }
  
  .sidebar-search-form input {
    width: 100%;
    padding: 10px 16px 10px 38px;
    border-radius: var(--radius-md);
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
  }
  
  .sidebar-search-form input:focus {
    outline: none;
    border-color: var(--border-color-strong);
    background: var(--bg-card);
  }
  
  .sidebar-social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
  }
  
  .sidebar-social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
  }
  
  .sidebar-social-links a:hover {
    background: var(--border-color);
    color: var(--text-primary);
    transform: translateY(-2px);
  }

  .main-wrapper {
    padding: 120px 24px 40px;
  }

  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }
  .hero-text-area {
    max-width: 100%;
  }
  .hero-title {
    font-size: 3rem;
  }
  .about-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .portfolio-grid, 
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .works-grid-3 {
    grid-template-columns: 1fr;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 576px) {
  .main-wrapper {
    padding: 110px 16px 40px;
  }
  .page-title {
    font-size: 2.2rem;
  }
  .timeline-header {
    flex-direction: column;
    gap: 8px;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ----------------------------------------------------
   TEKNİK BECERİLER (PROGRESS BARS)
   ---------------------------------------------------- */
.skills-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.progress-bar-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.progress-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.progress-name i {
  font-size: 1.15rem;
  filter: grayscale(100%);
  color: var(--text-primary) !important;
}

.progress-percent {
  color: var(--text-secondary);
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  border: none;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent-color) !important;
  box-shadow: none !important;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .skills-progress-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   ANA SAYFA: HERO SPLIT SECTİON
   ---------------------------------------------------- */
.hero-split-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 65vh;
}

.hero-split-left {
  text-align: left;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ecc71;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

/* ----------------------------------------------------
   ANA SAYFA: INTERAKTİF TERMINAL MOCKUP
   ---------------------------------------------------- */
.terminal-container {
  width: 100%;
  background-color: #0c0d12;
  border: 1px solid #1f2029;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  text-align: left;
}

.terminal-header {
  background-color: #15161f;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #1f2029;
  position: relative;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.dot-red { background-color: #ff5f56; }
.terminal-dot.dot-yellow { background-color: #ffbd2e; }
.terminal-dot.dot-green { background-color: #27c93f; }

.terminal-title {
  color: #8e919e;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.terminal-body {
  padding: 20px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #e2e4e9;
  min-height: 180px;
  box-sizing: border-box;
}

.terminal-line {
  margin-bottom: 6px;
}

.terminal-prompt {
  color: #38bdf8;
  font-weight: 700;
  user-select: none;
}

.terminal-command {
  color: #ffffff;
  font-weight: 600;
}

.terminal-output {
  margin-bottom: 14px;
  color: #a1a1aa;
  white-space: pre-wrap;
}

.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background-color: #ffffff;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  from, to { background-color: transparent }
  50% { background-color: #ffffff; }
}

/* ----------------------------------------------------
   ANA SAYFA: METRİK PANELI (STATS)
   ---------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 24px 15px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ----------------------------------------------------
   ANA SAYFA: TEKNOLOJİ GRİDİ (TECH STACK)
   ---------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.tech-item:hover {
  border-color: var(--border-color-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tech-item i {
  font-size: 1.5rem;
}

.tech-item span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ----------------------------------------------------
   ANA SAYFA: GITHUB KATKI GRAFİĞİ (GITHUB GRID)
   ---------------------------------------------------- */
.github-contribution-card {
  padding: 24px;
}

.github-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.github-grid-container {
  overflow-x: auto;
  padding-bottom: 4px;
  width: 100%;
}

.github-grid {
  display: flex;
  gap: 3px;
  min-width: 560px;
  justify-content: space-between;
}

.github-column {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.github-cell {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transition: transform 0.1s ease;
}

.github-cell:hover {
  transform: scale(1.3);
  z-index: 10;
}

/* Light Mode Yoğunluk Sınıfları */
.github-cell.cell-level-0 { background-color: #e4e4e7; } /* zinc-200 */
.github-cell.cell-level-1 { background-color: #a1a1aa; } /* zinc-400 */
.github-cell.cell-level-2 { background-color: #52525b; } /* zinc-600 */
.github-cell.cell-level-3 { background-color: #09090b; } /* zinc-950 */

/* Dark Mode Yoğunluk Sınıfları */
[data-theme="dark"] .github-cell.cell-level-0 { background-color: #27272a; } /* zinc-800 */
[data-theme="dark"] .github-cell.cell-level-1 { background-color: #52525b; } /* zinc-600 */
[data-theme="dark"] .github-cell.cell-level-2 { background-color: #a1a1aa; } /* zinc-400 */
[data-theme="dark"] .github-cell.cell-level-3 { background-color: #fafafa; } /* zinc-50 */

.github-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.github-legend {
  display: flex;
  align-items: center;
  gap: 4px;
}

.github-legend .github-cell {
  cursor: default;
}

.github-legend .github-cell:hover {
  transform: none;
}

/* ----------------------------------------------------
   ANA SAYFA: YAZILIM ÜRÜNLERİM & ÇÖZÜMLERİM GRİDİ
   ---------------------------------------------------- */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.software-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (max-width: 1024px) {
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .software-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pricing-switcher-wrapper {
  display: flex;
  padding: 4px;
  background-color: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
}

.pricing-switch-btn {
  flex: 1;
  padding: 8px 6px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.pricing-switch-btn:hover {
  color: var(--text-primary);
}

.pricing-switch-btn.active {
  background-color: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.price-display-area {
  transition: opacity 0.15s ease-in-out;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
  .hero-split-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-split-left {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .featured-software-split {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-switcher-wrapper {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .pricing-switch-btn {
    flex: unset;
    width: 48%;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-switcher-wrapper {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .pricing-switch-btn {
    flex: unset;
    width: 48%;
  }
}

/* ----------------------------------------------------
   ABOUT PAGE - HERO CODE EDITOR MOCKUP
   ---------------------------------------------------- */
.about-hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-hero-section > div {
  min-width: 0;
}

@media (max-width: 992px) {
  .about-hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


.about-hero-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.about-hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.about-hero-fact i {
  color: var(--text-muted);
}

/* Code Editor Window */
.code-editor-window {
  background: #18181b; /* dark zinc-900 for code editor dark contrast */
  border: 1px solid #27272a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  color: #e4e4e7;
  text-align: left;
  max-width: 100%;
}

.code-editor-header {
  background: #09090b;
  border-bottom: 1px solid #27272a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-editor-dots {
  display: flex;
  gap: 6px;
}

.code-editor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.code-editor-tab {
  font-size: 0.75rem;
  color: #a1a1aa;
  background: #18181b;
  border-right: 1px solid #27272a;
  padding: 8px 16px;
  margin: -12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-editor-body {
  padding: 20px;
  line-height: 1.6;
  overflow-x: auto;
}

/* Code Highlighting (B&W High Contrast Style) */
.code-line {
  display: flex;
  gap: 12px;
}

.line-number {
  color: #52525b;
  width: 20px;
  text-align: right;
  user-select: none;
}

.line-content {
  white-space: pre;
}

.code-kw { color: #f4f4f5; font-weight: 700; } /* Keyword */
.code-str { color: #a1a1aa; } /* String */
.code-var { color: #d4d4d8; } /* Variable */
.code-comment { color: #71717a; font-style: italic; } /* Comment */
.code-func { color: #fafafa; font-weight: 600; } /* Function */

/* ----------------------------------------------------
   ABOUT PAGE - STATS ROW
   ---------------------------------------------------- */
.about-stats-section {
  margin-bottom: 60px;
}

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

@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

.about-stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.about-stats-card:hover {
  border-color: var(--border-color-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-stats-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1;
  font-family: monospace;
}

.about-stats-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------
   ABOUT PAGE - CTA SECTION
   ---------------------------------------------------- */
.about-cta-section {
  margin: 60px 0 20px;
}

.about-cta-card {
  background: var(--accent-color);
  color: var(--btn-primary-text);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-cta-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-cta-card p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  opacity: 0.85;
}

.about-cta-btn {
  background: var(--bg-card);
  color: var(--text-primary) !important;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.about-cta-btn:hover {
  background: var(--bg-app);
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   GEAR & PHILOSOPHY STYLES
   ---------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
  text-align: left;
}

.philosophy-card:hover {
  border-color: var(--border-color-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.philosophy-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.philosophy-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.philosophy-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

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

.workspace-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.workspace-card:hover {
  border-color: var(--border-color-strong);
  box-shadow: var(--shadow-md);
}

.workspace-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.gear-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gear-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.gear-item i {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 0.9rem;
}

.gear-name {
  font-weight: 700;
  color: var(--text-primary);
}

.gear-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
}

/* ----------------------------------------------------
   TEKNİK BECERİLER & YETENEKLER
   ---------------------------------------------------- */
.skills-category-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .skills-category-container {
    grid-template-columns: 1fr;
  }
}

.skills-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.skills-category-card:hover {
  border-color: var(--border-color-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.skills-category-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.skills-category-card .cat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.category-skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-skill-item {
  position: relative;
  cursor: pointer;
}

.cat-skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cat-skill-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cat-skill-name i {
  font-size: 1.1rem;
  filter: grayscale(100%);
  color: var(--text-primary);
}

.cat-skill-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.cat-skill-fill {
  height: 100%;
  background: var(--accent-color);
  border-radius: 3px;
  transition: width 1s ease;
}

.cat-skill-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  background: var(--accent-color);
  color: var(--btn-primary-text);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.cat-skill-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--accent-color);
}

.cat-skill-item:hover .cat-skill-tooltip {
  opacity: 1;
  transform: translate(-50%, -4px);
}

/* ----------------------------------------------------
   ZAMAN TÜNELİ (TIMELINE)
   ---------------------------------------------------- */
.timeline-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.timeline-filters {
  display: flex;
  gap: 8px;
}

.timeline-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-filter-btn:hover {
  background: var(--bg-app);
  border-color: var(--border-color-strong);
}

.timeline-filter-btn.active {
  background: var(--accent-color);
  color: var(--btn-primary-text) !important;
  border-color: var(--accent-color);
}

.timeline-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-app);
  color: var(--text-muted);
  display: inline-block;
  margin-left: 8px;
}

.timeline-badge.work {
  border-color: var(--border-color-strong);
  color: var(--text-primary);
}

.timeline-badge.education {
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.timeline-item {
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.timeline-item.hidden {
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
  max-height: 0;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  pointer-events: none;
  border: none !important;
}

/* ----------------------------------------------------
   ETKİLEYİCİ ARKA PLAN MOUSE SPOTLIGHT (GLOW) EFEKTİ
   ---------------------------------------------------- */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(9, 9, 11, 0.05) 0%, rgba(9, 9, 11, 0) 70%);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  z-index: -1;
  mix-blend-mode: normal;
  will-change: transform;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

[data-theme="dark"] .mouse-glow {
  background: radial-gradient(circle, rgba(250, 250, 250, 0.04) 0%, rgba(250, 250, 250, 0) 70%);
}

/* ----------------------------------------------------
   10 ENHANCEMENTS: TABS, TOAST, PROGRESS, SKELETON, TERMINAL, REACTIONS & TOOLS
   ---------------------------------------------------- */

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--text-primary);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

/* Skeleton Loading Screens */
.skeleton-container {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-app);
}
.skeleton-container::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.6s infinite;
}
[data-theme="light"] .skeleton-container::after {
  background-image: linear-gradient(
    90deg,
    rgba(9, 9, 11, 0) 0%,
    rgba(9, 9, 11, 0.03) 20%,
    rgba(9, 9, 11, 0.06) 60%,
    rgba(9, 9, 11, 0) 100%
  );
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}
.skeleton-container img {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.skeleton-container.loaded::after {
  display: none;
}
.skeleton-container.loaded img {
  opacity: 1;
}

/* Magnetic Transition */
.btn-primary, .btn-secondary, .magnetic-btn {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s, color 0.25s, border-color 0.25s;
}

/* Interactive Terminal Inputs */
.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.terminal-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: var(--text-primary) !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 0.92rem !important;
  flex-grow: 1;
  padding: 0 !important;
  box-shadow: none !important;
}

/* SPA Fade Transitions */
.main-content {
  transition: opacity 0.2s ease, transform 0.2s ease;
  will-change: opacity, transform;
}
.main-content.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* Reactions widget */
.blog-reactions-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.reactions-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.2px;
}
.reactions-list {
  display: flex;
  gap: 14px;
}
.reaction-btn {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.reaction-btn:hover {
  background: var(--border-color);
  border-color: var(--border-color-strong);
  transform: scale(1.05);
}
.reaction-btn:active {
  transform: scale(0.95);
}
.reaction-btn.user-reacted {
  background: var(--text-primary);
  color: var(--bg-app);
  border-color: var(--text-primary);
}
.reaction-btn.user-reacted .reaction-count {
  color: var(--bg-app);
}

/* Developer Tools Page Styles */
.tools-page-wrapper {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.tools-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.tools-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.tools-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.tools-tab-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.tools-tab-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}
.tools-tab-headers-scroll {
  overflow-x: auto;
  flex-grow: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  position: relative;
}
.tools-tab-headers-scroll::-webkit-scrollbar {
  display: none;
}
.tools-tab-headers-scroll:active,
.tools-tab-headers-scroll.dragging {
  cursor: grabbing;
}
.tools-tab-headers {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  border: none !important;
  padding: 0 !important;
}
.tools-tab-headers .tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  text-align: center;
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.tools-tab-headers .tab-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.tools-tab-headers .tab-btn.active {
  background: var(--bg-card);
  border-color: var(--border-color-strong);
  color: var(--text-primary);
  font-weight: 700;
}

/* Slider Fades & Arrows */
.tools-tab-slider-wrapper::before,
.tools-tab-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 12px;
  width: 50px;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.tools-tab-slider-wrapper::before {
  left: 48px;
  background: linear-gradient(to right, var(--bg-app), transparent);
}
.tools-tab-slider-wrapper::after {
  right: 48px;
  background: linear-gradient(to left, var(--bg-app), transparent);
}
.tools-tab-slider-wrapper.show-left-fade::before {
  opacity: 1;
}
.tools-tab-slider-wrapper.show-right-fade::after {
  opacity: 1;
}

.tab-slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.tab-slider-arrow:hover {
  background: var(--bg-app);
  color: var(--text-primary);
  border-color: var(--border-color-strong);
}
.tab-slider-arrow:active {
  transform: scale(0.95);
}
.tab-slider-arrow.disabled {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}
.tool-card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  border-radius: var(--radius-lg);
}
.tool-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.code-font {
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 0.88rem !important;
  line-height: 1.5;
}
.tool-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.tool-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-app);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--text-primary);
  cursor: pointer;
}
.strength-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.tool-status-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}
.tool-status-alert.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.tool-status-alert.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: #2ecc71;
}

/* Markdown preview site-specific */
.markdown-preview-box-site {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  height: 250px;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.markdown-preview-box-site h1,
.markdown-preview-box-site h2,
.markdown-preview-box-site h3 {
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: 800;
}
.markdown-preview-box-site h1 { font-size: 1.4rem; }
.markdown-preview-box-site h2 { font-size: 1.2rem; }
.markdown-preview-box-site h3 { font-size: 1.05rem; }
.markdown-preview-box-site ul,
.markdown-preview-box-site ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.markdown-preview-box-site li {
  margin-bottom: 4px;
}
.markdown-preview-box-site blockquote {
  border-left: 3px solid var(--border-color-strong);
  padding-left: 12px;
  margin: 10px 0;
  color: var(--text-muted);
  font-style: italic;
}
.markdown-preview-box-site pre {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 10px 0;
}
.markdown-preview-box-site code {
  font-family: monospace;
  background: rgba(255,255,255,0.06);
  padding: 2px 4px;
  border-radius: 3px;
}

/* Playground Styles */
.playground-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 480px;
}
.playground-editors {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-app);
}
.playground-tabs-header {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}
.pg-tab-btn {
  flex-grow: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.pg-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
}
.pg-tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  background: var(--bg-app);
}
.pg-tab-pane {
  display: none;
  flex-grow: 1;
}
.pg-tab-pane.active {
  display: flex;
}
.playground-textarea {
  border: none !important;
  border-radius: 0 !important;
  resize: none;
  height: 420px;
  outline: none !important;
  background: var(--bg-app);
}
.playground-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pg-preview-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pg-iframe-wrapper {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  height: 420px;
}
.pg-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .tools-tab-slider-wrapper {
    gap: 0;
  }
  .tab-slider-arrow {
    display: none;
  }
  .tools-tab-slider-wrapper::before,
  .tools-tab-slider-wrapper::after {
    display: none;
  }
  .tools-tab-headers-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tools-tab-headers-scroll::-webkit-scrollbar {
    display: none;
  }
  .tools-tab-headers .tab-btn {
    white-space: nowrap;
    width: auto;
  }
  .playground-layout {
    grid-template-columns: 1fr;
  }
  .playground-textarea, .pg-iframe-wrapper {
    height: 300px;
  }
}
