/* projects_detay98.css — Profesyonel, şık, mobil öncelikli */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #10b981;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 32px 64px rgba(0,0,0,0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Breadcrumb Navigasyon */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--text);
}

.breadcrumb-sep {
  color: var(--border);
  font-weight: 400;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .breadcrumb-nav {
    font-size: 0.85rem;
    gap: 6px;
  }
}

/* Proje Hero - Profesyonel Tasarım */
.project-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}


.project-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.project-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: white;
  letter-spacing: -0.02em;
}

.project-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.project-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-size: 1rem;
}

.action-primary {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.action-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.action-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.action-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.project-stats {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}

.stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.project-hero-media {
  position: relative;
  perspective: 1000px;
}

.project-hero-media img {
  width: 450px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s ease;
  border: 8px solid rgba(255, 255, 255, 0.1);
}

.project-hero-media:hover img {
  transform: rotateY(0deg) rotateX(0deg);
}

/* Proje İçerik - Profesyonel Tasarım */
.project-content {
  padding: 80px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.content-main {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
}

.content-section p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Ekran Görüntüleri - Profesyonel Tasarım */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.shot {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.shot:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.shot img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shot:hover img {
  transform: scale(1.05);
}

.shot figcaption {
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  background: var(--bg);
}

/* Sidebar - Profesyonel Tasarım */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.sidebar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}

.sidebar-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
}

.info-list {
  display: grid;
  gap: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.info-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.status {
  background: var(--success);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Durum renk varyantları */
.status-success { background:#10b981; color:#fff; }
.status-info { background:#3b82f6; color:#fff; }
.status-warning { background:#f59e0b; color:#fff; }
.status-primary { background:#8b5cf6; color:#fff; }
.status-muted { background:#6b7280; color:#fff; }
.status-pink { background:#ec4899; color:#fff; }
.status-orange { background:#f97316; color:#fff; }
.status-danger { background:#ef4444; color:#fff; }


/* Responsive - Profesyonel Mobil Uyum */
@media (max-width: 960px) {
  .project-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Mobilde Proje Bilgileri en üste al */
  .content-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  /* Mobilde container padding azalt */
  .container {
    padding: 0 12px;
  }

  /* Breadcrumb mobil优化 */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-logo {
    width: 100%;
  }

  .breadcrumb-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.75rem;
    line-height: 1.4;
    padding: 8px 0;
  }

  .breadcrumb-link {
    white-space: nowrap;
  }

  .breadcrumb-sep {
    margin: 0 2px;
  }

  /* Ekran çok dar ise son öğeyi kısalt */
  @media (max-width: 380px) {
    .breadcrumb-current {
      max-width: 120px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}

@media (max-width: 640px) {
  .project-hero {
    padding: 140px 0 60px;  /* ← 120px'den 140px'ye */
  }

  .project-content {
    padding: 60px 0;
  }

  .project-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .project-subtitle {
    font-size: 1.1rem;
  }

  /* Center hero content text and blocks */
  .project-hero-content {
    align-items: center;
    text-align: center;
  }

  .project-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    text-align: center;
  }

  /* Center technology badges */
  .project-tags {
    justify-content: center;
  }

  .project-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .action-btn {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shot img {
    height: 240px;
  }

  .sidebar-card {
    padding: 20px;
  }

  .sidebar-card h3 {
    font-size: 1.1rem;
  }
}
