/* =====================
   FONTS
   ===================== */
@font-face {
  font-family: 'GalanoGrotesque';
  src: url('/fonts/GalanoGrotesque-Regular.woff2') format('woff2'),
       url('/fonts/GalanoGrotesque-Regular.woff') format('woff');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GalanoGrotesqueLight';
  src: url('/fonts/GalanoGrotesque-ExtraLight.woff2') format('woff2'),
       url('/fonts/GalanoGrotesque-ExtraLight.woff') format('woff');
  font-weight: normal; font-style: normal; font-display: swap;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --text: #1a1712;
  --text-muted: rgba(26,23,18,0.5);
  --text-faint: rgba(26,23,18,0.35);
  --nav-bg: #1e1b10;
  --nav-text: #f2ece2;
  --bg: #e8e2db;
  --dark: #181510;
  --dark-surface: #1e1b10;
  --light-text: rgba(228,222,208,0.80);
  --light-text-muted: rgba(228,222,208,0.58);
  --light-border: rgba(242,236,226,0.10);
  --gold: #9b9269;
  --max-w: 1650px;
  --border: rgba(26,23,18,0.10);

  /* ── Font değiştirmek için sadece bu iki satırı güncelle ── */
  --font-main:  'GalanoGrotesque', Arial, sans-serif;
  --font-light: 'GalanoGrotesqueLight', Arial, sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
}

/* =====================
   NAV (sarmalı olan sayfalar)
   ===================== */
.nav-wrapper {
  position: relative;
  display: flex; justify-content: center;
  padding: 20px 0;
  z-index: 100;
  pointer-events: none;
}
.nav-wrapper nav { pointer-events: auto; }
nav {
  background: var(--nav-bg);
  border-radius: 999px;
  padding: 5px;
  display: flex; align-items: center; gap: 2px;
}
.nav-logo {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  text-decoration: none; flex-shrink: 0; border-radius: 50%;
}
.nav-logo:hover { background: rgba(242,236,226,.08); }
.nav-links { display: flex; align-items: center; list-style: none; gap: 2px; }
.nav-links a {
  display: block; padding: 8px 18px;
  font-size: 12px; font-weight: 300; letter-spacing: 0;
  color: var(--nav-text); text-decoration: none;
  border-radius: 999px; transition: background .2s;
}
.nav-links a:hover { background: rgba(242,236,226,.08); }

/* =====================
   LAYOUT (profil & iletişim)
   ===================== */
.layout {
  display: flex;
  min-height: calc(100vh - 66px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 0;
}
.left {
  flex: 0 0 42%;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.left img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.93; }
.left-placeholder {
  width: 100%; height: 100%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; min-height: 400px;
}
.right {
  flex: 1; background: var(--bg);
  padding: 0 64px 64px;
  display: flex; flex-direction: column;
}

/* =====================
   PROFİL SAYFASI
   ===================== */
.profile-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
  display: flex; flex-direction: column;
  margin-top: 50px;
}
.profile-title {
  font-size: clamp(32px, 4vw, 58px);
  font-family: var(--font-light);
  font-weight: normal; line-height: 1.1;
  color: var(--text); letter-spacing: 0; margin-bottom: 12px;
}
.profile-subtitle {
  font-size: 14px; font-weight: normal; letter-spacing: 0;
  color: var(--text-muted); line-height: 1.5;
}
.content-cols { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; margin-top: 20px; }
.skill-category { margin-bottom: 28px; }
.skill-category-name {
  font-size: 12px; font-weight: normal; letter-spacing: 0;
  color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase;
}
.skill-item {
  font-size: 14px; font-weight: normal;
  color: var(--text); line-height: 1.9;
}
.bio-label {
  font-size: 12px; font-weight: normal; letter-spacing: 0;
  color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase;
}
.bio-text {
  font-size: 14px; font-weight: normal;
  color: var(--text); line-height: 1.8;
}
.bio-text p { margin-bottom: 18px; }
.bio-text p:last-child { margin-bottom: 0; }

/* =====================
   İLETİŞİM SAYFASI
   ===================== */
.slogan {
  font-size: clamp(32px, 4vw, 58px);
  font-family: var(--font-light);
  font-weight: normal; line-height: 1.15;
  color: var(--text); letter-spacing: 0;
  margin-top: 50px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.form-section { flex: 1; }
.form-group { padding: 20px 0 0; }
.form-label {
  display: block; font-size: 14px; font-weight: normal; letter-spacing: 0;
  color: var(--text); margin-bottom: 10px;
}
.form-input, .form-textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--border);
  padding: 0 0 20px;
  font-family: var(--font-main);
  font-size: 14px; font-weight: normal;
  color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-faint); }
.form-input:focus, .form-textarea:focus { border-bottom-color: var(--text-muted); }
.form-textarea { resize: none; height: 200px; line-height: 1.6; }
.form-error { font-size: 14px; color: #c0826a; margin-bottom: 20px; }
.form-success { font-size: 14px; font-weight: normal; color: var(--gold); padding: 20px 0; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 28px;
  font-family: var(--font-main);
  font-size: 14px; font-weight: normal; letter-spacing: 0;
  color: var(--text); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-submit:hover {
  background: rgba(26,23,18,0.06);
  border-color: var(--text-muted);
  color: var(--text);
}
.btn-submit svg { width: 14px; height: 14px; }

/* =====================
   FOOTER (profil & iletişim)
   ===================== */
.profile-footer {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
}
.contact-links { display: flex; flex-direction: column; gap: 6px; }
.contact-link {
  font-size: 14px; font-weight: normal;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.contact-link:hover { color: var(--text); }
.footer-copy { font-size: 12px; letter-spacing: 0; color: var(--text-muted); }

/* =====================
   PROJELER SAYFASI
   ===================== */
.page {
  max-width: var(--max-w); margin: 0 auto;
  padding: 84px 30px 110px;
}
.page-title, .next-label {
  font-size: 14px; font-weight: normal; letter-spacing: 0;
  color: var(--text); text-transform: uppercase;
}
.page-title { margin-bottom: 8px; }
.next-label { padding-top: 30px; margin-bottom: 30px; }
.project-list { display: flex; flex-direction: column; padding-top: 16px; }
.project-separator { height: 1px; background: var(--border); margin: 30px 0; }
.project-row, .next-link {
  display: flex; align-items: center;
  height: 180px; text-decoration: none; color: var(--text);
  transition: background 0.25s ease; overflow: hidden;
}
.project-row { position: relative; background: transparent; }
.project-row:hover { background: rgba(26,23,18,0.06); }
.next-link:hover { background: rgba(26,23,18,0.06); }
.project-cover, .next-thumb {
  width: 220px; height: 100%; flex-shrink: 0; overflow: hidden;
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; transition: opacity 0.25s ease; }
@media (pointer: fine) {
  .project-row:hover .project-cover img { opacity: 1; }
}
.next-thumb { object-fit: cover; display: block; opacity: 0.85; transition: opacity 0.25s ease; }
@media (pointer: fine) {
  .next-link:hover .next-thumb { opacity: 1; }
}
.divider, .next-divider {
  width: 1px; height: 60%; background: rgba(26,23,18,0.10);
  flex-shrink: 0; margin: 0 32px;
}
.project-info, .next-info { flex: 1; min-width: 0; }
.project-name, .next-name {
  font-size: clamp(26px, 2.8vw, 42px);
  font-family: var(--font-light);
  font-weight: normal; color: var(--text); margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.project-desc, .next-desc {
  font-size: 16px; font-weight: normal; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.project-arrow, .next-arrow {
  flex-shrink: 0; width: 40px; height: 40px;
  border: 1px solid rgba(26,23,18,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-right: 24px;
}
.project-arrow svg, .next-arrow svg { width: 14px; height: 14px; }
.project-arrow svg path, .next-arrow svg path { stroke: rgba(26,23,18,0.45); }
.empty {
  text-align: center; padding: 80px 20px;
  color: var(--text); font-size: 15px; letter-spacing: 0;
}

/* Mobile kart — masaüstünde gizli */
.project-card-mobile { display: none; }

/* Mobile profil görseli — masaüstünde gizli */
.profile-mobile-img-wrap { display: none; }

/* Mobile iletişim görseli — masaüstünde gizli */
.contact-mobile-img-wrap { display: none; }

/* Mobile sonraki proje kartı — masaüstünde gizli */
.next-project-mobile { display: none; }

/* Mobile hero meta — masaüstünde gizli */
.hero-meta-mobile { display: none; }

/* =====================
   PROJE DETAY SAYFASI
   ===================== */
.hero { position: relative; width: 100%; padding-top: 0; }
.hero-img-wrap {
  max-width: var(--max-w); margin: 0 auto;
  overflow: hidden; position: relative;
  aspect-ratio: 16 / 9;
}
#heroImg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,14,0.92) 0%, rgba(26,23,14,0.4) 30%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 60px; pointer-events: none;
}
.hero-title {
  font-size: clamp(36px, 4.5vw, 72px);
  font-family: var(--font-light);
  font-weight: normal; color: #fff;
  line-height: 1.05; letter-spacing: 0; padding-bottom: 24px;
}
.hero-meta { display: flex; border-top: 1px solid var(--light-border); }
.hero-meta-item {
  flex: 1; padding: 16px 12px; text-align: center;
  border-right: 1px solid var(--light-border);
}
.hero-meta-item:last-child { border-right: none; }
.hero-meta-label { font-size: 10px; letter-spacing: 0.12em; color: var(--light-text-muted); margin-bottom: 6px; text-transform: uppercase; }
.hero-meta-value { font-size: 12px; letter-spacing: 0.03em; font-weight: normal; color: var(--light-text); }
.description-section {
  max-width: var(--max-w); margin: 0 auto;
  min-height: 40vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 60px 70px 60px;
}
.description-inner { max-width: 1500px; width: 100%; }
.description-label {
  font-size: 14px; font-weight: normal; letter-spacing: 0;
  color: var(--text); margin-bottom: 16px; text-transform: uppercase;
}
.description-text { font-size: clamp(16px, 1.6vw, 22px); font-weight: normal; line-height: 1.5; color: var(--text); }
.gallery-section { max-width: var(--max-w); margin: 0 auto; }
.gallery-row { display: flex; gap: 10px; margin-top: 10px; }
.gallery-item {
  margin-top: 10px; overflow: hidden;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.gallery-item.visible { opacity: 1; transform: translateY(0); }
.gallery-item.gallery-full { width: 100%; }
.gallery-item.gallery-half { flex: 1; margin-top: 0; height: 520px; }
.gallery-item img { width: 100%; display: block; height: 100%; object-fit: cover; }
.next-project-outer { max-width: var(--max-w); margin: 0 auto; padding: 0 0 60px; }

/* =====================
   COPYRIGHT (ortak)
   ===================== */
.copyright {
  display: block; text-align: center;
  padding: 40px 20px 32px;
  font-size: 12px; letter-spacing: 0; color: var(--text);
}

/* =====================
   INDEX SAYFASI
   ===================== */
html.index-page, html.index-page body {
  width: 100%; height: 100%; overflow: hidden;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cline x1='60' y1='0' x2='60' y2='60' stroke='%23ddd6cd' stroke-width='1.5'/%3E%3Cline x1='0' y1='60' x2='60' y2='60' stroke='%23ddd6cd' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  cursor: none; user-select: none; -webkit-user-select: none;
}
#cursor {
  position: fixed; width: 22px; height: 22px;
  border: 1.5px solid rgba(26,23,18,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9999; left: 0; top: 0;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, border-color .25s ease, opacity .25s ease;
}
#cursor::after {
  content: ''; position: absolute; width: 4px; height: 4px;
  background: var(--text); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  transition: opacity .2s ease;
}
#cursor.on-card { opacity: 0; }
#cursor.hovering { width: 56px; height: 56px; background: rgba(26,23,18,.07); border-color: rgba(26,23,18,.25); }
#cursor.hovering::after, #cursor.dragging::after { opacity: 0; }
#cursor.dragging { width: 56px; height: 56px; background: rgba(26,23,18,.1); border-color: rgba(26,23,18,.3); }
#tooltip {
  position: fixed; z-index: 9998; pointer-events: none;
  display: flex; align-items: center; gap: 10px;
  background: var(--nav-bg); color: var(--nav-text);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: nowrap;
  opacity: 0; transform: translate(-50%,-50%) scale(.88);
  transition: opacity .22s ease, transform .22s ease;
}
#tooltip.visible { opacity: 1; transform: translate(-50%,-50%) scale(1); }
#tooltip svg { width: 14px; height: 14px; flex-shrink: 0; }
nav.fixed-nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1000; background: var(--nav-bg); border-radius: 999px;
  padding: 5px; display: flex; align-items: center; gap: 2px;
}
nav.fixed-nav .nav-logo,
nav.fixed-nav .nav-links a { cursor: none; }
.stage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.bg-word {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
  font-size: clamp(80px, 12vw, 180px);
  font-family: var(--font-light);
  font-weight: normal; color: rgba(155,146,105,0.35);
  white-space: nowrap; letter-spacing: 0; line-height: 1; user-select: none;
}
#world {
  position: absolute; top: 0; left: 0;
  width: 5200px; height: 3800px;
  will-change: transform; z-index: 2;
}
.card {
  position: absolute; overflow: hidden; cursor: none;
  opacity: 0; animation: cardIn .7s ease forwards;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
/* z-index JS'den data-zbase ile set edilir, hover override yok */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 0.85; transform: translateY(0); }
}
/* Masaüstü: opacity JS tarafından inline set edilir, sadece transition burada */
@media (pointer: fine) {
  .card { transition: opacity 0.25s ease; }
}
.card img {
  width: 120%; height: 120%; margin: -10%;
  object-fit: cover; display: block;
  pointer-events: none; -webkit-user-drag: none; will-change: transform;
}
.drag-hint {
  position: fixed; bottom: 44px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0; color: var(--text);
  pointer-events: none; z-index: 50;
  opacity: 0; animation: hintAnim 3.5s ease 1s forwards;
}
@keyframes hintAnim { 0%{opacity:0} 15%{opacity:1} 80%{opacity:1} 100%{opacity:0} }
.copyright.fixed-copyright {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0; color: var(--text);
  pointer-events: none; z-index: 50; white-space: nowrap; padding: 0;
}

/* =====================
   YARDIMCI CLASS'LAR
   ===================== */
.nav-logo-img { width: auto; height: 18px; display: block; max-width: none; }
.placeholder-logo { width: 80px; height: 80px; opacity: 0.15; display: block; }
.cover-placeholder { width: 100%; height: 100%; background: rgba(26,23,18,0.06); }
.form-group--last { margin-bottom: 36px; }
.next-project-spacer { height: 30px; }
.next-project-separator {
  max-width: var(--max-w); margin: 0 auto;
  height: 1px; background: var(--border);
}

/* =====================
   SCROLL TO TOP BUTONU
   ===================== */
.scroll-top {
  position: fixed; bottom: 20px; right: 30px; z-index: 50;
  width: 40px; height: 40px;
  border: 1px solid rgba(26,23,18,0.15); border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover {
  background: rgba(26,23,18,0.06);
  border-color: rgba(26,23,18,0.3);
}
.scroll-top svg { width: 14px; height: 14px; }
.scroll-top svg path { stroke: rgba(26,23,18,0.45); }

/* =====================
   LAYOUT ALT BOŞLUK
   ===================== */
.layout-bottom-spacer { height: 30px; }

/* =====================
   MOBILE (touch) — INDEX
   ===================== */
@media (pointer: coarse) {

  /* cursor & tooltip gizle */
  #cursor { display: none !important; }
  #tooltip { display: none !important; }
  html.index-page, html.index-page body {
    cursor: auto;
  }
  nav.fixed-nav .nav-logo,
  nav.fixed-nav .nav-links a { cursor: auto; }
  .card { cursor: pointer; }

  /* Mobilde fade animasyonu iptal — kartlar hemen görünür, tam opak */
  html.index-page .card {
    animation: none !important;
    opacity: 1 !important;
  }

  /* Index fixed-nav mobilde diğer sayfalarla aynı hizaya gel */
  nav.fixed-nav {
    top: 16px;
  }

  /* bg-word: ekrana sığacak şekilde, bölünmeyi tarayıcı yönetir */
  .bg-word {
    font-size: clamp(60px, 22vw, 200px);
    max-width: 95vw;
    text-align: center;
    white-space: normal;
    line-height: 1.05;
  }

  /* Kart boyutlarını birbirine yakınlaştır, aralıkları kıs */
  /* JS tarafından mobile-layout class'ı eklenince uygulanacak */
  .card-mobile-sm  { width: 160px !important; height: 210px !important; }
  .card-mobile-md  { width: 190px !important; height: 240px !important; }
  .card-mobile-lg  { width: 220px !important; height: 270px !important; }

  /* Popup overlay */
  #card-popup-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(24,21,16,0.55);
    z-index: 500;
    align-items: flex-end;
    justify-content: center;
  }
  #card-popup-overlay.open {
    display: flex;
  }
  #card-popup {
    background: var(--dark-surface);
    width: 100%;
    max-width: 520px;
    border-radius: 20px 20px 0 0;
    padding: 28px 28px 40px;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
  }
  #card-popup-overlay.open #card-popup {
    transform: translateY(0);
  }
  #card-popup-close {
    position: absolute; top: 18px; right: 20px;
    width: 32px; height: 32px;
    background: rgba(242,236,226,0.08);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--light-text);
  }
  #card-popup-close svg { width: 14px; height: 14px; }
  #card-popup-img {
    width: 100%; height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
  }
  #card-popup-name {
    font-size: 22px;
    font-family: var(--font-light);
    font-weight: normal;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1.2;
  }
  #card-popup-desc {
    font-size: 13px;
    color: var(--light-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #card-popup-visit {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent;
    border: 1px solid var(--light-border);
    border-radius: 999px;
    padding: 11px 24px;
    font-family: var(--font-main);
    font-size: 13px; font-weight: normal;
    color: var(--light-text);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  #card-popup-visit svg { width: 13px; height: 13px; }

  /* =====================
     MOBILE — PROJECTS SAYFASI
     ===================== */

  /* Nav: sayfa ile birlikte kayar, sticky değil */
  .nav-wrapper {
    position: relative;
    padding: 16px 0;
  }

  /* "Tüm Projeler" başlığı gizli */
  .page-title {
    display: none;
  }

  .page {
    padding: 0 16px 80px;
  }

  /* Yatay satır layoutu gizle, dikey kart layoutu göster */
  .project-row {
    display: none !important;
  }
  .project-separator {
    display: none !important;
  }

  /* Dikey kart listesi */
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
  }

  .project-card-mobile {
    display: block;
    color: var(--text);
    padding-bottom: 36px;
  }
  .project-card-mobile--sep {
    border-top: 1px solid var(--border);
    padding-top: 36px;
  }
  .project-card-mobile-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 4px;
  }
  .project-card-mobile-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: rgba(26,23,18,0.06);
    border-radius: 4px;
  }
  .project-card-mobile-info {
    padding: 14px 4px 0;
  }
  .project-card-mobile-name {
    font-size: clamp(20px, 5.5vw, 28px);
    font-family: var(--font-light);
    font-weight: normal;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.2;
  }
  .project-card-mobile-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .project-card-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 20px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: normal;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  .project-card-mobile-btn svg {
    width: 12px; height: 12px;
  }
  .project-card-mobile-btn svg path {
    stroke: var(--text);
  }

  /* =====================
     MOBILE — PROJECT DETAY
     ===================== */

  /* Hero: parallax iptal, tam genişlik */
  .hero { padding-top: 0; }
  #heroWrap { height: auto !important; }
  #heroImg {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Hero title sol altta, meta gizle */
  .hero-content {
    padding: 0 16px;
  }
  .hero-title {
    font-size: clamp(22px, 5.5vw, 36px);
    padding-bottom: 20px;
  }
  .hero-meta { display: none; }

  /* Meta bilgileri görselin altında — mobile only blok */
  .hero-meta-mobile {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .hero-meta-mobile-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }
  .hero-meta-mobile-item:last-child { border-bottom: none; }
  .hero-meta-mobile-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0;
  }
  .hero-meta-mobile-value {
    font-size: 12px;
    color: var(--text);
    font-weight: normal;
  }

  /* Açıklama */
  .description-section {
    padding: 28px 20px;
    min-height: unset;
  }
  .description-label { font-size: 11px; margin-bottom: 12px; }
  .description-text { font-size: 14px; line-height: 1.7; }

  /* Galeri: hepsi alt alta tam genişlik, aralık 10px */
  .gallery-section { padding: 0; margin-bottom: 0; }
  .gallery-row { flex-direction: column; gap: 10px; margin-top: 10px; }
  .gallery-item { margin-top: 10px; margin-bottom: 0; }
  .gallery-item.gallery-half {
    flex: none;
    width: 100%;
    height: auto !important;
  }
  .gallery-item.gallery-full { width: 100%; }
  .gallery-item img { height: auto; object-fit: cover; }

  /* Sonraki proje — masaüstü yatay satırı gizle, mobile kart göster */
  .next-link { display: none !important; }
  .next-project-mobile { display: block; }
  .next-label { display: none; }
  .next-project-separator { display: none; }
  .next-project-spacer { display: none; }
  .next-project-outer { padding: 0; }

  /* Sonraki proje mobile kart */
  .next-project-mobile {
    display: block;
    padding: 20px 20px 60px;
  }
  .next-project-mobile-sep {
    display: none;
  }
  .next-project-mobile-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0;
  }
  .next-project-mobile-card {
    display: block;
    color: var(--text);
    text-decoration: none;
  }
  .next-project-mobile-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 4px;
  }
  .next-project-mobile-info {
    padding: 14px 4px 0;
  }
  .next-project-mobile-name {
    font-size: clamp(20px, 5.5vw, 28px);
    font-family: var(--font-light);
    font-weight: normal;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .next-project-mobile-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .next-project-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 20px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: normal;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
  }
  .next-project-mobile-btn svg { width: 12px; height: 12px; }
  .next-project-mobile-btn svg path { stroke: var(--text); }

  /* =====================
     MOBILE — PROFİL SAYFASI
     ===================== */

  /* Nav sayfa ile kayar */
  .layout {
    flex-direction: column;
    padding-top: 0;
    min-height: unset;
  }

  /* Sol kolon (fotoğraf) gizle — mobile'da ayrı yerde göstereceğiz */
  .left {
    display: none;
  }

  /* Mobile profil görseli görünür */
  .profile-mobile-img-wrap {
    display: block;
  }

  .right {
    padding: 0 20px 60px;
    background: var(--bg);
  }

  /* İsim ve ünvan en üste */
  .profile-header {
    margin-top: 20px;
    padding-bottom: 24px;
    border-bottom: none;
  }
  .profile-title {
    font-size: clamp(28px, 7vw, 42px);
    color: var(--text);
    font-family: var(--font-light);
  }
  .profile-subtitle {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Profil görseli — başlığın altına eklenen mobile-only blok */
  .profile-mobile-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 28px;
  }
  .profile-mobile-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .profile-mobile-img-wrap .left-placeholder {
    width: 100%; height: 100%;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    min-height: unset;
  }

  /* Programlar + bio alt alta */
  .content-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 0;
  }

  /* Programlar yan yana 2 sütun grid */
  .skills-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }
  .skill-category { margin-bottom: 0; }
  .skill-category-name {
    color: var(--text-muted);
    font-size: 11px;
  }
  .skill-item {
    font-size: 13px;
    color: var(--text);
    line-height: 1.8;
  }

  /* Bio */
  .bio-label {
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 14px;
  }
  .bio-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.8;
  }
  .bio-text p { margin-bottom: 14px; }

  /* Footer: iletişim + copyright alt alta */
  .profile-footer {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .contact-link {
    font-size: 13px;
    color: var(--text-muted);
  }
  .footer-copy {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* Desktop'a ait nav-wrapper position override — tüm sayfalarda kayar */
  .nav-wrapper {
    position: relative;
    padding: 16px 0;
  }

  /* Scroll-top butonu mobile'da görünür */
  .scroll-top {
    display: flex;
  }

  /* =====================
     MOBILE — İLETİŞİM SAYFASI
     ===================== */

  /* Sol görsel gizle, layout dikey */
  .layout .right {
    background: var(--bg);
    padding: 0 20px 60px;
  }

  /* Slogan rengi ve boyut */
  .slogan {
    font-size: clamp(26px, 7vw, 40px);
    color: var(--text);
    margin-top: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }

  /* Form alanları */
  .form-input,
  .form-textarea {
    color: var(--text);
    border-bottom-color: var(--border);
  }
  .form-input::placeholder,
  .form-textarea::placeholder {
    color: var(--text-faint);
  }
  .form-label {
    color: var(--text);
  }
  .form-textarea {
    height: 140px;
  }
  .btn-submit {
    color: var(--text);
    border-color: var(--border);
  }

  /* Contact mobile image wrap */
  .contact-mobile-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 0;
  }
  .contact-mobile-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .contact-mobile-img-wrap .left-placeholder {
    width: 100%; height: 100%;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    min-height: unset;
  }
}


/* SEO: Google okur, kullanıcı görmez */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Proje sayfası SEO metin stilleri */
.description-seo {
  font-size: 13px;
  color: var(--text);
  opacity: 0.7;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.7;
  font-style: italic;
}

.description-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.kw-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(26,23,18,0.15);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text);
  opacity: 0.6;
  text-transform: uppercase;
}

.description-main {
  margin-top: 4px;
}

/* Proje sayfası SEO / Genel Bakış ayraç çizgisi */
.description-divider {
  border: none;
  border-top: 1px solid rgba(26,23,18,0.12);
  margin: 28px 0 24px 0;
}
