/* ===================================================================
   WEB TASARIMININ TEMELLERİ - KİŞİSEL WEB SİTESİ
   Tasarım Konsepti: Modern İş CV'si - Aydınlık & Yüksek Kontrastlı Işık Teması
   Beyaz Arka Plan & Siyah/Koyu Metinler (Maksimum Okunabilirlik)
   =================================================================== */

:root {
  /* Zemin Renkleri (Beyaz ve Aydınlık) */
  --bg-page: #ffffff;             /* Ana Sayfa Zemini: Saf Beyaz */
  --bg-section-alt: #f8fafc;      /* Alternatif Bölüm Zemini: Ferah Açık Gri */
  --bg-card: #ffffff;             /* Kart Yüzeyleri: Beyaz */
  --bg-card-alt: #f1f5f9;         /* Vurgulu Kart Yüzeyi */
  
  /* WIX İkonik Vurgu Renkleri */
  --wix-lavender: #c4b5fd;        /* Pastel Lavanta Hero Kartı */
  --wix-lime: #d4e339;            /* Canlı Lime / Fıstık Yeşili Buton Rengi */
  --wix-lime-hover: #bdd023;      /* Lime Hover */
  --primary-accent: #2563eb;      /* Aksan Mavi */
  
  /* YÜKSEK KONTRASTLI SİYAH & KOYU METİN RENKLERİ */
  --text-black: #0f172a;          /* Başlıklar: Tam ve Derin Siyah (Maksimum Netlik) */
  --text-main: #1e293b;           /* Gövde Metni: Koyu Antrasit (Gözü Yormayan, Keskin Okunur) */
  --text-muted: #475569;          /* İkincil Metinler: Belirgin Koyu Kurşun Gri */
  
  /* Kenarlıklar ve Gölgeler */
  --border-main: #e2e8f0;         /* İnce Şık Kenarlık */
  --border-strong: #cbd5e1;       /* Belirgin Kenarlık */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);
  
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'Fira Code', 'Consolas', 'Courier New', monospace;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sıfırlama ve Kutu Modelleme */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

p {
  color: var(--text-main);
}

/* ===================================================================
   ÜST BİLGİ & NAVİGASYON (Beyaz Zemin, Siyah Net Yazılar)
   =================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-main);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  font-size: 1.15rem;
  font-weight: 900;
  color: #6366f1;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(99, 102, 241, 0.12);
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  line-height: 1.2;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-black);
}

.logo-role-tag, .logo-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-black);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-accent);
  background-color: var(--bg-section-alt);
}

.nav-link.active {
  color: var(--text-black);
  background-color: var(--wix-lavender);
  font-weight: 800;
}

/* Dil Geçiş Butonu */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 2px solid var(--border-main);
  gap: 6px;
}

.lang-btn {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--text-black);
  color: #ffffff;
  border-color: var(--text-black);
}

.lang-btn:hover:not(.active) {
  color: var(--text-black);
  border-color: var(--text-black);
}

/* Yönetici Toolkit (🧰) Simgesi */
.admin-toolkit-btn {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-black);
}

.admin-toolkit-btn:hover {
  background-color: var(--bg-section-alt);
  transform: scale(1.1);
  border-color: var(--text-black);
}

.admin-toolkit-btn.logged-in {
  background-color: var(--wix-lime);
  border-color: #b5c32e;
  box-shadow: 0 0 10px rgba(212, 227, 57, 0.6);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-black);
  font-size: 1.2rem;
}

/* ===================================================================
   ANASAYFA HERO BÖLÜMÜ (Aydınlık & Zengin Kontrastlı WIX Yapısı)
   =================================================================== */
.hero-banner {
  padding: 4.5rem 0 5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-main);
}

.wix-hero-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 60px;
  align-items: center;
}

/* Sol Kart: WIX İkonik Lavanta Büyük Kart */
.wix-lavender-card {
  background-color: var(--wix-lavender);
  border-radius: 28px;
  padding: 38px 34px 34px 34px;
  color: var(--text-black);
  box-shadow: 0 16px 36px rgba(196, 181, 253, 0.45);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.wix-giant-hello {
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-black);
}

.wix-photo-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
}

.wix-photo-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Sosyal Rozet */
.wix-social-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--wix-lime);
  padding: 12px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-top-right-radius: 12px;
  color: var(--text-black);
  font-weight: 900;
  font-size: 1rem;
}

.wix-card-footer {
  margin-top: 22px;
}

.wix-card-name {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-black);
}

.wix-card-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
}

/* Sağ Sütun: Açıklama & Butonlar (Tam Siyah & Maksimum Okunurluk) */
.wix-intro-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wix-headline {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text-black);
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.wix-description {
  font-size: 1.15rem;
  color: var(--text-main);         /* Net, keskin, rahat okunan koyu antrasit */
  line-height: 1.9;
  font-weight: 450;
}

.wix-btn-group {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* İkonik WIX Pill Butonları */
.btn-wix-lime {
  background-color: var(--wix-lime);
  color: var(--text-black);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 227, 57, 0.4);
}

.btn-wix-lime:hover {
  background-color: var(--wix-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 227, 57, 0.5);
}

.btn-wix-white {
  background-color: var(--text-black);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-wix-white:hover {
  background-color: #334155;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

.btn-wix-outline {
  background-color: transparent;
  color: var(--text-black);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--text-black);
}

.btn-wix-outline:hover {
  background-color: var(--text-black);
  color: #ffffff;
}

/* ===================================================================
   GENEL SAYFA BAŞLIĞI (Subpage Header - Sadece 1 H1)
   =================================================================== */
.page-header-section {
  background-color: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-main);
  padding: 3.5rem 0;
  text-align: center;
}

.page-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-black);
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

/* Bölüm Genel Düzeni */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title, .section-header h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-black);
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

/* ===================================================================
   HAKKIMDA SAYFASI (Özgeçmiş, Tablo, Listeler, Zorunlu Etiketler)
   =================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto 1.4rem auto;
  border: 4px solid var(--wix-lavender);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 0.3rem;
}

.profile-role {
  font-size: 0.92rem;
  color: var(--primary-accent);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.profile-meta-list {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--border-main);
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.profile-meta-list li strong {
  color: var(--text-black);
  font-weight: 800;
}

.about-content-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.content-block {
  margin-bottom: 3rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.block-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--border-main);
  padding-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Zorunlu Semantik Etiketler: blockquote, cite, abbr, code, pre */
.quote-box {
  background-color: var(--bg-section-alt);
  border-left: 4px solid var(--wix-lavender);
  padding: 1.4rem 1.8rem;
  border-radius: 0 12px 12px 0;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--text-black);
  border-top: 1px solid var(--border-main);
  border-right: 1px solid var(--border-main);
  border-bottom: 1px solid var(--border-main);
  font-size: 1.05rem;
  font-weight: 500;
}

.quote-box cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--primary-accent);
  font-style: normal;
  font-weight: 800;
}

abbr[title] {
  text-decoration: underline dotted var(--primary-accent);
  cursor: help;
  color: var(--primary-accent);
  font-weight: 800;
}

.code-snippet {
  background-color: #f1f5f9;
  color: var(--primary-accent);
  font-family: var(--font-code);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.92rem;
  border: 1px solid var(--border-strong);
  font-weight: 700;
}

.pre-code-block {
  background-color: #0f172a;
  color: #f8fafc;
  font-family: var(--font-code);
  padding: 1.4rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.2rem 0;
  font-size: 0.92rem;
  line-height: 1.65;
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.styled-list {
  padding-left: 1.6rem;
  margin: 1rem 0;
}

.styled-list li {
  margin-bottom: 0.8rem;
  color: var(--text-main);
  font-size: 1rem;
}

.two-col-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 1.2rem;
}

/* Zorunlu Tablo (Ders Programı) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.4rem 0;
  border: 1px solid var(--border-main);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.custom-table thead {
  background-color: var(--text-black);
  color: #ffffff;
}

.custom-table th, 
.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-main);
  color: var(--text-main);
}

.custom-table th {
  color: #ffffff;
  font-weight: 800;
}

.custom-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.custom-table tbody tr:hover {
  background-color: #eff6ff;
}

.table-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  background-color: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

/* Yetenek İlerleme Çubukları */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 1.2rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-black);
}

.skill-percentage {
  color: var(--primary-accent);
  font-weight: 900;
}

.skill-bar-bg {
  width: 100%;
  height: 12px;
  background-color: #e2e8f0;
  border-radius: 50px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #0284c7);
  border-radius: 50px;
  transition: width 1s ease-in-out;
}

/* ===================================================================
   PROJELER, BLOG VE GALERİ KARTLARI (Aydınlık & Temiz Çizgiler)
   =================================================================== */
.projects-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.project-card,
.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.project-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: #94a3b8;
  box-shadow: var(--shadow-lg);
}

.project-thumb-wrapper,
.blog-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #0f172a;
  overflow: hidden;
}

.project-thumb,
.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

.project-body,
.blog-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title,
.blog-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 0.6rem;
}

.project-desc,
.blog-excerpt {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.4rem;
}

.tech-tag {
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-main);
}

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

.blog-category {
  color: var(--primary-accent);
  font-weight: 800;
  text-transform: uppercase;
}

.blog-link {
  color: var(--text-black);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-link:hover {
  color: var(--primary-accent);
  transform: translateX(4px);
}

/* Galeri */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.gallery-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
}

.gallery-img-wrapper {
  height: 220px;
  background-color: #0f172a;
  overflow: hidden;
}

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

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-caption {
  padding: 1.2rem 1.4rem;
}

.gallery-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 0.3rem;
}

.gallery-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===================================================================
   İLETİŞİM SAYFASI (Aydınlık Form & Harita)
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
}

.contact-info-card,
.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  color: var(--primary-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid #dbeafe;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 0.3rem;
}

.info-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-black);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.checkbox-group input {
  accent-color: var(--primary-accent);
  width: 18px;
  height: 18px;
}

.map-container {
  margin-top: 3.5rem;
  border: 1px solid var(--border-main);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 340px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================================================
   ALT BİLGİ (Footer)
   =================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 2.8rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.footer-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 420px;
  color: #cbd5e1;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.8rem;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
  color: #64748b;
}

/* ===================================================================
   BLOG DETAY MODALI & İNTERAKTİF OKUMA EKRANI
   =================================================================== */
.blog-link-btn {
  background: none;
  border: none;
  color: var(--primary-accent, #2563eb);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-link-btn:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

#blog-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000000;
}

.blog-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

.blog-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  width: 90%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.2rem;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  z-index: 2;
  border: 1px solid #e2e8f0;
}

.blog-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.blog-modal-badge {
  background-color: #dbeafe;
  color: #1e40af;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
}

.blog-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}

.blog-modal-close:hover {
  color: #0f172a;
}

.blog-modal-title {
  font-size: 1.7rem;
  color: #0f172a;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.blog-modal-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.blog-modal-img-box {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.blog-modal-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.blog-modal-body {
  color: #1e293b;
  line-height: 1.85;
  font-size: 1.05rem;
}

.blog-modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  text-align: right;
}

/* Sürükle - Bırak Resim Değiştirme Efekti */
.img-edit-wrapper.drag-hover {
  outline: 3px dashed #10b981 !important;
  outline-offset: 4px;
  background-color: rgba(16, 185, 129, 0.15) !important;
  border-radius: 8px;
}

/* ===================================================================
   WORD STİLİ METİN BİÇİMLENDİRME ARAÇ ÇUBUĞU (RICH TEXT TOOLBAR)
   =================================================================== */
#word-formatting-toolbar {
  display: none;
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  border: 1px solid #cbd5e1;
  z-index: 100000;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: system-ui, sans-serif;
  user-select: none;
}

body.is-editing #word-formatting-toolbar {
  display: flex;
}

.word-tb-group {
  display: flex;
  align-items: center;
  gap: 4px;
  border-right: 1px solid #e2e8f0;
  padding-right: 8px;
}

.word-tb-group:last-child {
  border-right: none;
  padding-right: 0;
}

.word-tb-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.word-tb-btn:hover {
  background-color: #e2e8f0;
  border-color: #94a3b8;
}

.word-tb-btn:active {
  background-color: #cbd5e1;
}

.word-tb-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

.word-tb-color-picker {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  vertical-align: middle;
}

/* ===================================================================
   PROJE DETAY MODALI (DETAYLAR BUTONUYLA AÇILAN EKRAN)
   =================================================================== */
#project-detail-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000000;
}

.project-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
}

.project-modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  width: 92%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.2rem;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  z-index: 2;
  border: 1px solid #e2e8f0;
}

.project-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.project-modal-badge {
  background-color: #d4e339;
  color: #0f172a;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 800;
}

.project-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}

.project-modal-close:hover { color: #0f172a; }

.project-modal-title {
  font-size: 1.85rem;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.project-modal-img-box {
  margin-bottom: 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.project-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
  background-color: #f1f5f9;
}

.project-modal-body {
  color: #1e293b;
  line-height: 1.85;
  font-size: 1.05rem;
}

.project-modal-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.2rem 0;
}

.project-modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================================
   BLOG ARŞİVLEME FİLTRESİ & ROZETLERİ
   =================================================================== */
.blog-archive-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.archive-filter-btn {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.archive-filter-btn.active, .archive-filter-btn:hover {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.blog-archived-tag {
  background-color: #fef3c7;
  color: #b45309;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-left: 6px;
}

.card-archive-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 80px;
  background-color: #475569;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.is-editing .card-archive-btn {
  display: inline-flex;
}

/* ===================================================================
   PANEL BOYUTLANDIRMA & SIRA DEĞİŞTİRME KONTROLLERİ
   =================================================================== */
.universal-panels-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-top: 2rem;
  align-items: stretch;
}

.custom-panel-item {
  position: relative;
  background-color: var(--bg-card, #ffffff);
  border: 1px solid var(--border-main, #e2e8f0);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-grow: 1;
}

.custom-panel-item[data-width="100%"] { width: 100%; flex-basis: 100%; }
.custom-panel-item[data-width="75%"] { width: 73%; flex-basis: 73%; }
.custom-panel-item[data-width="50%"] { width: 48%; flex-basis: 48%; }
.custom-panel-item[data-width="33%"] { width: 31%; flex-basis: 31%; }

@media screen and (max-width: 768px) {
  .custom-panel-item { width: 100% !important; flex-basis: 100% !important; }
}

.panel-controls-header {
  display: none;
  background-color: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

body.is-editing .panel-controls-header {
  display: flex;
}

.panel-order-btns, .panel-size-btns {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.panel-ctrl-btn {
  background: #334155;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.panel-ctrl-btn:hover { background: #475569; }
.panel-ctrl-btn.active { background: #d4e339; color: #0f172a; }

.panel-drag-handle {
  cursor: grab;
  font-size: 14px;
  letter-spacing: -2px;
  margin-right: 6px;
  user-select: none;
}

.panel-drag-handle:active { cursor: grabbing; }

.custom-panel-item.drag-over {
  outline: 3px dashed #2563eb !important;
  outline-offset: 4px;
  opacity: 0.85;
}

/* ===================================================================
   VİDEO / SES / DOSYA EKLERİ BLOKLARI (MEDIA & ATTACHMENTS)
   =================================================================== */
.media-video-box {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin: 1rem 0;
}

.media-video-box video {
  width: 100%;
  max-height: 420px;
  display: block;
}

.media-audio-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-audio-box audio {
  width: 100%;
}

.attachment-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 1rem 0;
  gap: 16px;
  flex-wrap: wrap;
}

.attachment-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.attachment-icon {
  font-size: 2rem;
}

.attachment-meta h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.attachment-meta span {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.attachment-btn {
  background-color: #0f172a;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.attachment-btn:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

/* ===================================================================
   DERS PROGRAMI SATIR SİLME VE KOD DÜZENLEME
   =================================================================== */
.row-delete-btn {
  display: none;
  background-color: #ef4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  margin-left: 6px;
}

body.is-editing .row-delete-btn {
  display: inline-block;
}

/* Kod Blokları Düzenlenebilirlik */
body.is-editing pre[data-editable="true"], 
body.is-editing code[data-editable="true"],
body.is-editing .pre-code-block[data-editable="true"] {
  outline: 2px dashed #6366f1 !important;
  outline-offset: 3px;
  cursor: text !important;
  white-space: pre-wrap !important;
}




/* Modern hareketli tasarım katmanı — mevcut editör stillerine dokunmaz */
:root { --primary-accent:#635bda; --wix-lavender:#d9ccff; --wix-lime:#dcf46b; --wix-lime-hover:#c9e952; }
body { background:linear-gradient(180deg,#fff 0%,#fbfaff 100%); }
.site-header { background:rgba(255,255,255,.91); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border-bottom:1px solid rgba(111,94,170,.12); }
.nav-link { transition:color .25s ease,transform .25s ease; }
.nav-link:hover { transform:translateY(-2px); }
.hero-banner { position:relative; isolation:isolate; overflow:hidden; background:radial-gradient(circle at 90% 20%,#eee8ff 0%,transparent 38%),radial-gradient(circle at 5% 80%,#e9f9ee 0%,transparent 34%),#fff; }
.hero-banner::before,.page-header-section::before { content:''; position:absolute; width:270px;height:270px; border:1px solid rgba(106,84,197,.14); border-radius:50%; right:-95px;top:-125px; pointer-events:none; }
.hero-banner::after { content:'';position:absolute;width:110px;height:110px;border-radius:30px;transform:rotate(22deg);background:rgba(211,196,255,.25);right:7%;bottom:-60px;pointer-events:none; }
.wix-lavender-card { animation:float-card 7s ease-in-out infinite; box-shadow:0 25px 65px rgba(104,78,173,.20); }
.wix-photo-img { transition:transform .8s cubic-bezier(.2,.7,.2,1); }
.wix-photo-card:hover .wix-photo-img { transform:scale(1.065); }
.wix-giant-hello { letter-spacing:-.065em; }
.wix-headline { letter-spacing:-.045em; }
.btn-wix-lime,.btn-wix-white,.btn-wix-outline,.btn-primary { transition:transform .3s ease,box-shadow .3s ease,background .3s ease; }
.btn-wix-lime:hover,.btn-wix-white:hover,.btn-wix-outline:hover,.btn-primary:hover { transform:translateY(-4px); box-shadow:0 12px 25px rgba(80,70,130,.15); }
.project-card,.blog-card,.gallery-card { transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,border-color .3s ease; }
.project-card:hover,.blog-card:hover,.gallery-card:hover { transform:translateY(-10px);box-shadow:0 22px 50px rgba(57,45,108,.14); }
.project-thumb,.blog-thumb,.gallery-img { transition:transform .65s cubic-bezier(.2,.8,.2,1); }
.project-card:hover .project-thumb,.blog-card:hover .blog-thumb,.gallery-card:hover .gallery-img { transform:scale(1.06); }
.page-header-section { position:relative; overflow:hidden; background:linear-gradient(125deg,#f5f0ff,#f8fbff 58%,#effcef); }
.page-title { letter-spacing:-.04em; }
.reveal-on-scroll { opacity:0;transform:translateY(32px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal-on-scroll.is-visible { opacity:1;transform:translateY(0); }
@keyframes float-card { 0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)} }
@media(max-width:768px) { .wix-lavender-card{animation:none}.hero-banner::before{width:170px;height:170px}.reveal-on-scroll{transform:translateY(18px)} }
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal-on-scroll{opacity:1;transform:none} }

/* İkinci tasarım dokunuşları — tüm sayfalarda ortak */
html { scroll-behavior:smooth; }
::selection { background:#d7c6ff; color:#101729; }
.section-padding { position:relative; }
.section-header h2 { letter-spacing:-.035em; }
.section-header::after { content:"";display:block;width:54px;height:5px;border-radius:10px;background:linear-gradient(90deg,#bba6ff,#d7ed39);margin:18px auto 0; }
.wix-intro-content { animation:hero-enter .9s cubic-bezier(.2,.8,.2,1) both; }
.wix-lavender-card { animation:hero-enter .85s cubic-bezier(.2,.8,.2,1) both, float-card 7s ease-in-out .85s infinite; }
@keyframes hero-enter { from {opacity:0;transform:translateY(24px)} to {opacity:1;transform:translateY(0)} }
.project-card,.blog-card,.gallery-card { overflow:hidden; }
.project-thumb-wrapper,.gallery-img-wrapper { overflow:hidden; }
.project-card:focus-within,.blog-card:focus-within,.gallery-card:focus-within { outline:2px solid #7d67e8;outline-offset:3px; }
.btn-wix-lime:focus-visible,.btn-wix-white:focus-visible,.btn-wix-outline:focus-visible,.nav-link:focus-visible {outline:3px solid #7765d8;outline-offset:4px;}
.site-footer { position:relative; }
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto}.wix-intro-content,.wix-lavender-card{animation:none} }
/* Modern sayfa animasyonlari */

@keyframes yumusakGiris {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: yumusakGiris 0.8s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }
}
.project-card,
.blog-card,
.gallery-item {
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.project-card:hover,
.blog-card:hover,
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .blog-card,
  .gallery-item {
    transition: none;
  }
}
.nav-link::after {
 content: "";
  position: absolute;
  bottom: 3px;
  left: 16px;
  width: calc(100% - 32px);
  height: 3px;
  background: #8b5cf6;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav-link::after {
    transition: none;
  }
}
/* Buton animasyonlari */
.btn,
button {
  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

@media (hover: hover) {
  .btn:hover,
  button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  button {
    transition: none;
  }
}