/* karataykentseldonusum.com — Tasarım Sistemi */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

:root {
  --bg-deep: #0d1f2d;
  --bg-card: #1a3a2a;
  --bg-card-hover: #224a35;
  --gold: #c4a44a;
  --gold-light: #d4b85a;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(196, 164, 74, 0.25);
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.25s ease;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 31, 45, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

/* Header açık tema (proje detay vb. sayfalar) */
.site-header--light {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #e0e6e2;
  box-shadow: 0 1px 10px rgba(0,0,0,0.07);
  height: var(--header-h);
}

.site-header--light .logo { color: #1c3d2e; }

.site-header--light .nav-main a {
  color: #4a5c52;
  font-weight: 500;
}

.site-header--light .nav-main a:hover,
.site-header--light .nav-main a.active { color: #1c3d2e; }

.site-header--light .header-phone { color: #4a5c52; }

.site-header--light .btn-gold {
  background: #c9a84c;
  color: #ffffff;
}

.site-header--light .btn-gold:hover {
  background: #dabb6a;
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.logo img { height: 40px; width: auto; }

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

.nav-main a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-main a:hover, .nav-main a.active { color: var(--gold); }

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

.header-phone {
  color: var(--text-secondary);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--bg-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-title {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Map Page ───────────────────────────────────────────── */
.map-page { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

.map-header {
  flex-shrink: 0;
  background: rgba(13, 31, 45, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#harita { flex: 1; width: 100%; z-index: 1; }

.mahalle-tooltip {
  background: var(--bg-card) !important;
  border: 1px solid var(--gold) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  font-family: var(--font-body) !important;
  box-shadow: var(--shadow) !important;
}

.mahalle-tooltip::before { border-top-color: var(--gold) !important; }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  padding: 24px 0 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ─── Project List ───────────────────────────────────────── */
.page-title {
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.proje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding-bottom: 64px;
}

.proje-kart {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.proje-kart:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.proje-kart-img {
  height: 200px;
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
}

.proje-kart-img img { width: 100%; height: 100%; object-fit: cover; }

.proje-kart-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
}

.proje-kart-body { padding: 20px; }

.proje-kart-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.proje-kart-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.progress-bar-wrap {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ─── Proje Detay Hero ───────────────────────────────────── */
.proje-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.proje-hero-info {
  background: var(--bg-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proje-hero-location {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.proje-hero-info h1 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

.proje-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(196, 164, 74, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.proje-hero-visual { position: relative; background: var(--bg-deep); }

/* Before/After Slider */
.before-after {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.before-after img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.before-after .after-img {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 10;
}

.ba-handle::after {
  content: '◀ ▶';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--bg-deep);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  letter-spacing: -2px;
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
}

.ba-label.old { left: 16px; }
.ba-label.new { right: 16px; }

/* ─── Process Steps ──────────────────────────────────────── */
.section-title {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.process-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 48px;
}

.process-steps {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 24px;
  overflow-x: auto;
}

.process-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 0;
  width: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.process-step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.process-step.done::before,
.process-step.done::after,
.process-step.active::before { background: var(--gold); }

.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.process-step.done .step-circle {
  background: var(--success);
  border-color: var(--success);
}

.process-step.active .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 164, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(196, 164, 74, 0); }
}

.step-name {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-status {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.process-step.done .step-status { color: var(--success); }
.process-step.active .step-status { color: var(--gold); }

.progress-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.progress-card .pct {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1;
}

.progress-card .pct-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.progress-card .progress-bar-wrap { height: 8px; margin-bottom: 12px; }

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

/* ─── Gallery ────────────────────────────────────────────── */
.gallery-section { margin-bottom: 48px; }

.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.gallery-tab:hover, .gallery-tab.active {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 400px;
}

.gallery-main {
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: opacity var(--transition);
}

.gallery-thumb:hover { opacity: 0.8; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

/* ─── Content Grid (About + Sidebar) ─────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-bottom: 48px;
}

.about-section { margin-bottom: 32px; }

.about-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* Daire Tipleri */
.daire-list { display: flex; flex-direction: column; gap: 12px; }

.daire-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.daire-thumb {
  width: 60px; height: 60px;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.daire-thumb img { width: 100%; height: 100%; object-fit: cover; }

.daire-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.daire-info span { font-size: 0.8rem; color: var(--text-secondary); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.manager-card { text-align: center; }

.manager-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-deep);
  margin: 0 auto 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.manager-photo img { width: 100%; height: 100%; object-fit: cover; }

.manager-name { font-size: 1rem; font-weight: 600; }
.manager-title { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 8px; }
.manager-phone { font-size: 0.9rem; color: var(--gold); margin-bottom: 12px; }

.quick-links { list-style: none; }

.quick-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.quick-links a:hover { color: var(--gold); }

.duyuru-list { list-style: none; }

.duyuru-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.duyuru-thumb {
  width: 48px; height: 48px;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.duyuru-thumb img { width: 100%; height: 100%; object-fit: cover; }

.duyuru-text h5 { font-size: 0.8rem; font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.duyuru-text time { font-size: 0.7rem; color: var(--text-muted); }

.qr-section { text-align: center; padding: 16px; }
.qr-placeholder {
  width: 100px; height: 100px;
  background: #fff;
  margin: 0 auto 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #333;
}

/* ─── Documents ──────────────────────────────────────────── */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: transform var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.doc-card:hover {
  transform: translateY(-3px);
  color: inherit;
  border-color: var(--gold);
}

.doc-icon { font-size: 2rem; margin-bottom: 12px; }
.doc-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.doc-size { font-size: 0.75rem; color: var(--text-muted); }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-cta h3 { font-size: 1.2rem; margin-bottom: 8px; }
.footer-cta p { color: var(--text-secondary); font-size: 0.9rem; }

.footer-contacts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact-item a { color: var(--text-secondary); }
.footer-contact-item a:hover { color: var(--gold); }

/* ─── Admin ──────────────────────────────────────────────── */
.admin-body { background: #0a1520; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.admin-login-card h1 {
  text-align: center;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.admin-login-card .subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

.form-control::placeholder { color: var(--text-muted); }

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

select.form-control { cursor: pointer; }

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

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid var(--danger); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.15); border: 1px solid var(--success); color: #86efac; }

.admin-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header h1 { font-size: 1.2rem; color: var(--gold); }

.admin-content { padding: 32px 24px; max-width: 1400px; margin: 0 auto; }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  background: var(--bg-card);
  padding: 12px 16px;
  text-align: left;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.admin-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-aktif { background: rgba(34, 197, 94, 0.2); color: var(--success); }
.badge-taslak { background: rgba(148, 163, 184, 0.2); color: var(--text-secondary); }
.badge-tamamlandi { background: rgba(196, 164, 74, 0.2); color: var(--gold); }

.admin-actions { display: flex; gap: 8px; }

.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid var(--danger);
}

.btn-danger:hover { background: var(--danger); color: #fff; }

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.form-section h2 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sub-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-secondary);
}

.empty-state h3 { margin-bottom: 8px; color: var(--text-primary); }

/* ─── Mobile Menu Toggle ─────────────────────────────────── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .proje-hero { grid-template-columns: 1fr; }
  .process-section { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .gallery-grid { height: 300px; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-main {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 31, 45, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }
  
  .nav-main.active {
    display: flex;
  }
  
  .nav-main a {
    font-size: 1.2rem;
    padding: 12px 24px;
  }
  
  .header-actions {
    display: none;
  }
  
  .header-phone {
    display: none;
  }
  
  .btn-gold {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .proje-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .proje-kart-img {
    height: 160px;
  }
  
  .proje-hero {
    min-height: auto;
  }
  
  .proje-hero-info {
    padding: 24px;
  }
  
  .proje-hero-info h1 {
    font-size: 1.3rem;
  }
  
  .proje-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
  }
  
  .before-after {
    min-height: 280px;
  }
  
  .process-steps {
    padding: 16px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .process-step {
    min-width: 100px;
  }
  
  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .step-name {
    font-size: 0.6rem;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  
  .gallery-main {
    grid-row: auto;
    height: 200px;
  }
  
  .gallery-thumb {
    height: 100px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .admin-header {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  
  .admin-header h1 {
    font-size: 1rem;
  }
  
  .admin-content {
    padding: 16px 12px;
  }
  
  .admin-table {
    font-size: 0.75rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 8px;
  }
  
  .admin-actions {
    flex-direction: column;
    gap: 4px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }
  
  .footer-cta h3 {
    font-size: 1rem;
  }
  
  .footer-contacts {
    flex-direction: column;
    gap: 12px;
  }
  
  .map-header {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  
  .map-header .logo {
    font-size: 0.9rem;
  }
  
  .map-header span {
    font-size: 0.8rem;
  }
  
  .map-header .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .proje-kart-body {
    padding: 16px;
  }
  
  .proje-kart-body h3 {
    font-size: 1rem;
  }
  
  .progress-label {
    flex-direction: column;
    gap: 4px;
  }
  
  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .stat-value {
    font-size: 0.85rem;
  }
}

/* ─── Page Projeler (Mahalle Projeleri - Açık Tema) ───────── */
.page-projeler {
  background: #f0f2f1 !important;
  color: #1e2d27 !important;
}

.page-projeler .breadcrumb {
  color: #4a5c52 !important;
}

.page-projeler .breadcrumb a {
  color: #4a5c52 !important;
}

.page-projeler .breadcrumb a:hover,
.page-projeler .breadcrumb span {
  color: #1c3d2e !important;
  font-weight: 500;
}

.page-projeler .page-title {
  color: #1c3d2e !important;
}

.page-projeler .proje-kart {
  background: #ffffff !important;
  border: 1px solid #dde3df !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

.page-projeler .proje-kart:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.page-projeler .proje-kart-body h3 {
  color: #1c3d2e !important;
}

.page-projeler .proje-kart-meta {
  color: #6b7c74 !important;
}

.page-projeler .proje-kart-body p {
  color: #4a5c52 !important;
}

.page-projeler .progress-label span {
  color: #1c3d2e !important;
  font-weight: 500;
}

.page-projeler .progress-bar-wrap {
  background: #e0e6e2 !important;
}

.page-projeler .progress-bar-fill {
  background: #c9a84c !important;
}

/* Footer açık tema */
.page-projeler .site-footer {
  background: #1c3d2e !important;
  border-top: 1px solid #dde3df !important;
}

.page-projeler .site-footer .footer-cta h3 {
  color: #ffffff !important;
}

.page-projeler .site-footer .footer-contact-item {
  color: rgba(255, 255, 255, 0.8) !important;
}

.page-projeler .site-footer .footer-contact-item a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.page-projeler .site-footer .footer-contact-item a:hover {
  color: #c9a84c !important;
}

/* ─── Mobile / Tablet Utility & Layout Rules ─── */
.mobile-only-action {
  display: none;
}

.page-main-content {
  padding-top: 40px;
  padding-bottom: 60px;
}

.iletisim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.flex-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .mobile-only-action {
    display: block;
  }
  .nav-main a.mobile-phone {
    color: var(--gold);
    font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
    padding-top: 16px;
  }
  .page-main-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .iletisim-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .flex-row {
    flex-direction: column;
    gap: 12px;
  }
  .process-step:not(:last-child)::after,
  .process-step:not(:first-child)::before {
    top: 18px !important;
  }
}
