/* =========================================================
   ÖZGÖYMEN İNŞAAT — Modern Minimal Stil
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --bg-dark: #0e0e10;
  --ink: #141418;
  --ink-soft: #4b4b54;
  --ink-mute: #8a8a93;
  --line: #e7e7ea;
  --accent: #d4501e;         /* turuncu — resimlerdeki cephe rengine selam */
  --accent-ink: #ffffff;
  --ok: #1f9d55;
  --warn: #d97706;
  --info: #2563eb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
  --max: 1200px;
  --nav-h: 72px;
  --f-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-text {
  font-size: 16px;
}
.brand-text small {
  display: block;
  font-size: 10px;
  color: var(--ink-mute);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--bg-soft);
  color: var(--ink);
}
.nav-cta {
  padding: 10px 16px !important;
  background: var(--ink);
  color: #fff !important;
  border-radius: 8px;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
}
.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafb 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 12px 0 20px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  background: rgba(212,80,30,.08);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: .18s;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1fb457; }
.btn-danger {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.btn-danger:hover { background: #fef2f2; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.hero-visual:hover img { transform: scale(1.04); }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-badge small {
  display: block;
  font-size: 10px;
  color: var(--ink-mute);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-sm { padding: 56px 0; }
.section-dark {
  background: var(--bg-dark);
  color: #f5f5f7;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #a0a0aa; }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 14px 0 14px;
  font-weight: 800;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
}
.section-head .eyebrow { margin-bottom: 6px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.stat-num {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-lbl {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- Project Cards ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d7d7dc;
}
.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card h3 {
  font-size: 20px;
  letter-spacing: -.015em;
  margin: 0 0 6px;
  font-weight: 700;
}
.card-meta {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex: 1;
}

/* ---------- Status Pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill-done   { background:#e9f7ef; color:#14774d; border-color:#c6ebd5; }
.pill-active { background:#fff4e6; color:#b85e10; border-color:#fbd9b0; }
.pill-new    { background:#e7efff; color:#1e40af; border-color:#cbd9fb; }

/* ---------- Progress ---------- */
.progress {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.progress-label strong { color: var(--ink); font-weight: 600; }
.progress-bar {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f59441);
  border-radius: 999px;
  transition: width .6s ease;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.progress-steps span {
  flex: 1;
  text-align: center;
  padding: 0 2px;
}
.progress-steps span.done   { color: var(--accent); font-weight: 700; }
.progress-steps span.active { color: var(--ink); font-weight: 700; }

/* ---------- Filter Bar ---------- */
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: -16px 0 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: .15s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-grid h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 12px 0 20px;
  font-weight: 800;
}
.about-grid p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.value {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.value-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.value h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.value p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

.timeline {
  border-left: 2px solid var(--line);
  padding-left: 32px;
  margin: 40px 0;
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line);
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.timeline-item h4 {
  margin: 4px 0 6px;
  font-size: 18px;
}
.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: var(--bg-soft);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-row {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid var(--line);
}
.contact-row small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.contact-row strong {
  font-size: 15px;
  font-weight: 600;
}

form.contact-form .field {
  margin-bottom: 16px;
}
form.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: .15s;
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.err { background: #b91c1c; }
.toast.ok  { background: #1f9d55; }

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.44);
  z-index: 100;
  transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.footer {
  background: #0e0e10;
  color: #c9c9d1;
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h5 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #232329;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #70707a;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  place-items: center;
  z-index: 300;
  padding: 40px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 0;
  font-size: 22px;
  display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 0;
  font-size: 22px;
  display: grid; place-items: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Admin ---------- */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--bg-dark);
  color: #e6e6ec;
  padding: 28px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .brand { color: #fff; margin-bottom: 32px; }
.admin-sidebar .brand-text small { color: #8a8a93; }
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: none;
  border: 0;
  color: #c9c9d1;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-align: left;
  transition: .15s;
  cursor: pointer;
}
.admin-nav button:hover { background: #1c1c22; color: #fff; }
.admin-nav button.active { background: #26262e; color: #fff; }
.admin-nav .sep {
  border: 0;
  border-top: 1px solid #232329;
  margin: 16px 0;
}
.admin-main {
  padding: 40px;
  background: var(--bg-soft);
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-head h1 {
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 0;
}
.admin-head p {
  color: var(--ink-mute);
  font-size: 14px;
  margin: 4px 0 0;
}
.panel {
  display: none;
}
.panel.active {
  display: block;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.admin-table th {
  font-weight: 600;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .1em;
}
.admin-table tr:hover td { background: var(--bg-soft); }
.admin-table .thumb {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  display: inline-block;
}
.admin-actions {
  display: flex;
  gap: 6px;
}
.admin-actions button {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
}
.admin-actions button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.admin-actions .edit:hover { border-color: var(--info); color: var(--info); }
.admin-actions .del:hover  { border-color: #b91c1c; color: #b91c1c; }

/* Login screen */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f6f6f7 0%, #e8e8ec 100%);
}
.login-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.login-box .brand { margin-bottom: 28px; justify-content: center; }
.login-box h2 {
  text-align: center;
  font-size: 22px;
  margin: 0 0 6px;
}
.login-box p {
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
  margin: 0 0 24px;
}

/* Modal */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 400;
  overflow-y: auto;
  padding: 40px 20px;
}
.modal-back.open { display: block; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.modal h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
.modal p.sub {
  color: var(--ink-mute);
  font-size: 14px;
  margin: 0 0 24px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.img-preview {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview button {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.75);
  color: #fff;
  border: 0;
  font-size: 14px;
  line-height: 1;
  display: grid; place-items: center;
}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-mute);
}
.empty-ico {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: .4;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 4/3; max-height: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid img { aspect-ratio: 4/3; max-height: 400px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-main { padding: 24px 16px; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .projects-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero h1 { font-size: 38px; }
  .container { padding: 0 18px; }
}
