/* ==========================================================================
   Hacıvelioğlu Alüminyum — Tasarım Sistemi
   Siyah + altın kurumsal kimlik. Derleme gerektirmez, düz CSS.
   ========================================================================== */

/* --------------------------------- değişkenler --------------------------- */

:root {
  --ink-950: #08090a;
  --ink-900: #0d0f11;
  --ink-850: #131619;
  --ink-800: #1a1e22;
  --ink-700: #262c32;
  --ink-600: #3a424a;
  --ink-500: #5b656f;
  --ink-400: #8b949d;
  --ink-300: #b6bec6;
  --ink-200: #d8dde1;
  --ink-100: #eef1f3;
  --ink-50:  #f7f8f9;

  --gold-600: #9a7818;
  --gold-500: #b8901f;
  --gold-400: #c9a227;
  --gold-300: #dcbb4e;
  --gold-200: #ecd489;

  --red-400: #f08585;

  --gold-gradient: linear-gradient(135deg, #9a7818 0%, #dcbb4e 42%, #f2e2a8 58%, #b8901f 100%);

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 74px;
  --wrap: 1400px;
}

/* ----------------------------------- reset ------------------------------- */

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  overflow-wrap: break-word;
  background: var(--ink-950);
  color: var(--ink-200);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

::selection { background: var(--gold-400); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--ink-700); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }

/* --------------------------------- yardımcılar ---------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap-narrow { max-width: 820px; }

@media (min-width: 640px) { .wrap { padding-inline: 32px; } }

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 100;
  background: var(--gold-400);
  color: var(--ink-950);
  padding: 12px 20px;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ------------------------------- görünürlük ------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* JS kapalıysa içerik gizli kalmasın */
.no-js .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* -------------------------------- tipografi ------------------------------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-gradient);
  flex-shrink: 0;
}
.kicker.center { justify-content: center; }

.section-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-50);
}

.section-desc {
  margin-top: 20px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-400);
}

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-desc { margin-inline: auto; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.section-line { border-top: 1px solid var(--ink-800); }
.section-alt { background: rgba(13, 15, 17, .55); }

/* --------------------------------- butonlar ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
  text-align: center;
}

.btn svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--gold-gradient);
  color: var(--ink-950);
}
.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 40px -12px rgba(220, 187, 78, .55);
}

.btn-ghost {
  border-color: var(--ink-600);
  color: var(--ink-100);
}
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-200); }

.btn-light {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-light:hover { border-color: var(--gold-400); color: var(--gold-200); }

.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.btn-row.center { justify-content: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(184, 144, 31, .4);
  background: rgba(201, 162, 39, .07);
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.badge-muted {
  border-color: var(--ink-600);
  background: none;
  color: var(--ink-400);
}
.badge-danger {
  border-color: rgba(240, 133, 133, .4);
  background: none;
  color: var(--red-400);
}

/* =============================== ÜST MENÜ ================================= */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(8, 9, 10, .8), transparent);
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
}
.header.scrolled {
  background: rgba(8, 9, 10, .93);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(26, 30, 34, .9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink-50);
}
.logo-sub {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .42em;
  color: var(--gold-400);
}
@media (min-width: 640px) {
  .logo-name { font-size: 17px; }
  .logo-sub { font-size: 10px; }
}

.nav { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav { display: flex; } }

.nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-300);
  transition: color .25s;
}
.nav a:hover { color: var(--ink-50); }
.nav a.active { color: var(--gold-300); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -2px;
  height: 1px;
  background: var(--gold-gradient);
}

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

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-200);
  transition: color .25s;
}
.header-phone:hover { color: var(--gold-300); }
.header-phone svg { color: var(--gold-400); }
@media (min-width: 768px) { .header-phone { display: flex; } }

.header-cta {
  display: none;
  padding: 11px 20px;
  border: 1px solid rgba(184, 144, 31, .5);
  background: rgba(201, 162, 39, .07);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-200);
  transition: all .3s;
}
.header-cta:hover {
  border-color: var(--gold-400);
  background: rgba(201, 162, 39, .16);
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--ink-700);
  color: var(--ink-200);
  transition: all .25s;
}
.menu-toggle:hover { border-color: rgba(184, 144, 31, .6); color: var(--gold-300); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }
body.menu-open .menu-toggle .icon-open { display: none; }

/* mobil menü */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  background: var(--ink-900);
  border-block: 1px solid var(--ink-800);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all .35s var(--ease);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
body.menu-open .mobile-nav { transform: none; opacity: 1; visibility: visible; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav a.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ink-800);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-100);
}
.mobile-nav a.mobile-link.active { color: var(--gold-300); }
.mobile-nav .mobile-foot { display: flex; flex-direction: column; gap: 12px; padding: 24px; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(8, 9, 10, .8);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
}
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }
@media (min-width: 1024px) { .menu-backdrop { display: none; } }

/* ================================== HERO ================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 9s linear;
}
.hero-slide.active img { transform: scale(1.07); }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  background: linear-gradient(to top, var(--ink-950) 0%, rgba(8,9,10,.72) 45%, rgba(8,9,10,.55) 100%);
}
.hero::after {
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(8,9,10,.72) 100%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-top: 132px;
  padding-bottom: 64px;
}

/* Hiç slayt tanımlanmadığında gösterilen sade hero */
.hero-fallback {
  min-height: 68vh;
  min-height: 68svh;
  background: radial-gradient(ellipse at 30% 20%, #1a1e22 0%, #08090a 68%);
  border-bottom: 1px solid var(--ink-800);
}
.hero-fallback::before,
.hero-fallback::after { display: none; }
.hero-lead {
  margin-top: 24px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-400);
}
@media (min-width: 640px) { .hero-inner { padding-bottom: 80px; } }

.hero-content { max-width: 820px; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-300);
  animation: fadeUp .7s var(--ease) both;
}
.hero-kicker::before {
  content: ""; width: 40px; height: 1px;
  background: var(--gold-gradient);
  flex-shrink: 0;
}

.hero-title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6.4vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  white-space: pre-line;
  animation: fadeUp .8s .08s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  animation: fadeUp .8s .18s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-progress-row { display: flex; align-items: center; gap: 16px; flex: 1; }
.hero-count {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-count.now { color: var(--gold-300); }
.hero-count.total { color: var(--ink-500); }
.hero-track {
  position: relative;
  flex: 1;
  max-width: 320px;
  height: 1px;
  background: rgba(255, 255, 255, .15);
}
.hero-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold-gradient);
}
.hero-nav { display: flex; gap: 8px; }
.hero-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .8);
  transition: all .25s;
}
.hero-nav button:hover { border-color: var(--gold-400); color: var(--gold-300); }

/* ============================= SAYFA BAŞLIĞI ============================== */

.page-hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-h);
  border-bottom: 1px solid var(--ink-800);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(8,9,10,.93), rgba(8,9,10,.89) 55%, var(--ink-950));
}
.page-hero.plain::before {
  background: radial-gradient(ellipse at top, #1a1e22 0%, #08090a 62%);
}
.page-hero-inner { padding-block: clamp(56px, 8vw, 96px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 12px;
  color: var(--ink-500);
}
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs .sep { color: var(--ink-700); }
.crumbs .current { color: var(--gold-400); }

.page-title {
  margin-top: 20px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink-50);
}
.page-desc {
  margin-top: 24px;
  max-width: 660px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--ink-400);
}

/* ================================ IZGARALAR =============================== */

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Aralarında ince çizgi olan hücre ızgarası */
.tiles {
  display: grid;
  gap: 1px;
  background: var(--ink-800);
  border: 1px solid var(--ink-800);
  grid-template-columns: 1fr;
}
/* min-width:0 olmadan uzun kelimeler ızgarayı genişletir */
.tiles > * { background: var(--ink-950); min-width: 0; }
.tiles.cols-2 { grid-template-columns: 1fr; }
.tiles.cols-3 { grid-template-columns: 1fr; }
.tiles.cols-4 { grid-template-columns: repeat(2, 1fr); }

/* Çok dar ekranlarda dört sütun sığmaz */
@media (max-width: 439px) {
  .tiles.cols-4 { grid-template-columns: 1fr; }
}

@media (min-width: 640px) {
  .tiles.cols-2, .tiles.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .tiles.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.head-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
@media (min-width: 768px) {
  .head-row { flex-direction: row; align-items: flex-end; }
  .head-row > .btn { flex-shrink: 0; }
}

/* ============================== HİZMET ŞERİDİ ============================= */

.service-strip { border-bottom: 1px solid var(--ink-800); background: var(--ink-900); }
.service-strip .tiles { border-block: 0; }

.strip-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  transition: background .3s;
}
.strip-item:hover { background: var(--ink-850); }
.strip-item svg { color: var(--gold-400); transition: transform .5s var(--ease); }
.strip-item:hover svg { transform: scale(1.12); }
.strip-item span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-100);
  transition: color .3s;
}
.strip-item:hover span { color: var(--gold-200); }
@media (min-width: 640px) { .strip-item { padding: 32px; } }

/* ============================== HİZMET KARTI ============================== */

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  transition: background .5s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service-card:hover { background: var(--ink-900); }
.service-card:hover::before { transform: scaleX(1); }
@media (min-width: 1024px) { .service-card { padding: 40px; } }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid var(--ink-700);
  color: var(--gold-400);
  transition: all .5s var(--ease);
  flex-shrink: 0;
}
.service-card:hover .icon-box {
  border-color: rgba(184, 144, 31, .5);
  background: rgba(201, 162, 39, .07);
}
.icon-box.sm { width: 44px; height: 44px; }
.icon-box.gold {
  border-color: rgba(184, 144, 31, .3);
  background: rgba(201, 162, 39, .06);
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink-700);
  transition: color .4s;
}
.service-card:hover .step-num { color: var(--gold-500); }

.service-card h3 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  transition: color .3s;
}
.service-card:hover h3 { color: var(--gold-200); }
.service-card p {
  margin-top: 12px;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-400);
}
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-400);
  opacity: 0;
  transition: opacity .4s;
}
.service-card:hover .more { opacity: 1; }

/* ============================== PROJE KARTI =============================== */

.project-card {
  position: relative;
  display: block;
  border: 1px solid var(--ink-800);
  background: var(--ink-900);
  overflow: hidden;
  transition: border-color .5s;
  height: 100%;
}
.project-card:hover { border-color: rgba(184, 144, 31, .45); }

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-850);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.project-card:hover .project-media img { transform: scale(1.07); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink-950) 0%, rgba(8,9,10,.25) 45%, transparent 100%);
  opacity: .9;
  transition: opacity .4s;
}
.project-card:hover .project-media::after { opacity: 1; }

.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(8,9,10,.72);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.project-go {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--gold-gradient);
  color: var(--ink-950);
  opacity: 0;
  transform: translateY(8px);
  transition: all .45s var(--ease);
}
.project-card:hover .project-go { opacity: 1; transform: none; }

.project-body { position: relative; padding: 24px; }
.project-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  transition: color .3s;
}
.project-card:hover .project-body h3 { color: var(--gold-200); }
.project-body p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-400);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-800);
  font-size: 12px;
  color: var(--ink-500);
}
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta svg { color: var(--gold-500); }

/* ================================ FİLTRE ================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-700);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-400);
  transition: all .25s;
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--ink-600); color: var(--ink-100); }
.filter-btn .num { font-variant-numeric: tabular-nums; color: var(--ink-600); }
.filter-btn.active {
  border-color: rgba(184, 144, 31, .6);
  background: rgba(201, 162, 39, .1);
  color: var(--gold-200);
}
.filter-btn.active .num { color: var(--gold-400); }

.is-hidden { display: none !important; }

/* ================================ SAYAÇLAR ================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--ink-800);
}
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  padding: 32px 12px;
  text-align: center;
  border-right: 1px solid var(--ink-800);
  border-bottom: 1px solid var(--ink-800);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 1024px) {
  .stat { border-bottom: 0; padding-inline: 24px; }
  .stat:nth-child(2n) { border-right: 1px solid var(--ink-800); }
  .stat:last-child { border-right: 0; }
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-suffix { color: var(--gold-400); }
.stat-label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============================== ZENGİN METİN ============================== */

.rich { font-size: 15px; color: var(--ink-300); }
.rich > *:first-child { margin-top: 0; }
.rich p { margin-bottom: 1.15em; line-height: 1.85; }
.rich h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  margin: 2em 0 .7em;
}
.rich h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-100);
  margin: 1.7em 0 .5em;
}
.rich ul, .rich ol { margin: 0 0 1.3em; }
.rich li { position: relative; padding-left: 22px; margin-bottom: .6em; line-height: 1.7; }
.rich ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  background: var(--gold-400);
  transform: rotate(45deg);
}
.rich ol { counter-reset: n; }
.rich ol li { counter-increment: n; }
.rich ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  color: var(--gold-400);
}
.rich strong, .rich b { color: var(--ink-50); font-weight: 600; }
.rich a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote {
  margin: 1.6em 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold-500);
  color: var(--ink-200);
  font-size: 16px;
}
.rich hr { margin: 2em 0; border: 0; border-top: 1px solid var(--ink-800); }

/* ================================ FORMLAR ================================= */

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

.label {
  display: block;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.field {
  display: block;
  width: 100%;
  background: rgba(13, 15, 17, .92);
  border: 1px solid var(--ink-700);
  border-radius: 2px;
  padding: 13px 16px;
  color: var(--ink-100);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field::placeholder { color: var(--ink-500); }
.field:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .14);
  background: var(--ink-900);
}
.field:disabled { opacity: .55; cursor: not-allowed; }
textarea.field { resize: vertical; min-height: 110px; line-height: 1.65; }
select.field {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b949d' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, 1fr); } }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.form-note { font-size: 12px; color: var(--ink-500); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--ink-700);
  background: var(--ink-950);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s;
}
.check:hover { border-color: var(--ink-600); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: #c9a227; flex-shrink: 0; }
.check-title { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-100); }
.check-hint { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-500); }

/* uyarı kutuları */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert-success {
  border-color: rgba(184, 144, 31, .38);
  background: rgba(201, 162, 39, .07);
  color: var(--gold-200);
}
.alert-error {
  border-color: rgba(240, 133, 133, .32);
  background: rgba(240, 133, 133, .07);
  color: var(--red-400);
}
.alert-info {
  border-color: var(--ink-700);
  background: var(--ink-900);
  color: var(--ink-300);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(184, 144, 31, .35);
  background: rgba(201, 162, 39, .05);
  padding: 56px 32px;
}
.form-success svg { color: var(--gold-400); }
.form-success h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-50);
}
.form-success p {
  margin-top: 12px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-400);
}

/* ================================= KUTULAR ================================ */

.panel { border: 1px solid var(--ink-800); background: var(--ink-900); }
.panel-pad { padding: 28px; }
.panel-gold {
  border: 1px solid rgba(184, 144, 31, .25);
  background: rgba(201, 162, 39, .04);
  padding: 32px;
}
@media (min-width: 640px) { .panel-gold { padding: 40px; } }

.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }

/* ================================ İLETİŞİM ================================ */

.contact-card { padding: 32px; }
.contact-card h2 {
  margin-top: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.contact-card a, .contact-card p {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-100);
  transition: color .25s;
  overflow-wrap: anywhere;   /* uzun e-posta adresleri taşmasın */
}
.contact-card a:hover { color: var(--gold-300); }

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-800);
  overflow: hidden;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.35) contrast(1.05);
}

/* ================================= GALERİ ================================= */

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-800);
  overflow: hidden;
  cursor: zoom-in;
  width: 100%;
  transition: border-color .3s;
}
.gallery-item:hover { border-color: rgba(184, 144, 31, .5); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,9,10,.5);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 9, 10, .97);
  backdrop-filter: blur(6px);
  padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  width: auto;
  object-fit: contain;
}
.lightbox-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--ink-700);
  color: var(--ink-300);
  transition: all .25s;
  background: rgba(8,9,10,.6);
}
.lightbox-btn:hover { border-color: var(--gold-400); color: var(--gold-300); }
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (min-width: 640px) {
  .lightbox-prev { left: 32px; }
  .lightbox-next { right: 32px; }
}
.lightbox-count {
  position: absolute;
  bottom: 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-400);
}

/* ================================= KÜNYE ================================== */

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-block: 0;
}
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spec-grid { grid-template-columns: repeat(5, 1fr); } }

.spec {
  padding: 28px 8px;
  border-bottom: 1px solid var(--ink-800);
}
@media (min-width: 640px) {
  .spec { padding-inline: 24px; border-bottom: 0; border-right: 1px solid var(--ink-800); }
  .spec:last-child { border-right: 0; }
}
.spec dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.spec dt svg { color: var(--gold-500); }
.spec dd {
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-100);
}

/* ============================== GEZİNME (alt) ============================= */

.prevnext {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink-800);
  background: rgba(13, 15, 17, .6);
}
@media (min-width: 768px) { .prevnext { grid-template-columns: repeat(2, 1fr); } }

.prevnext a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-800);
}
@media (min-width: 768px) {
  .prevnext a { border-bottom: 0; }
  .prevnext a + a { border-left: 1px solid var(--ink-800); padding-left: 24px; justify-content: flex-end; text-align: right; }
}
.prevnext svg { color: var(--gold-500); flex-shrink: 0; transition: transform .3s; }
.prevnext a:hover svg.left { transform: translateX(-4px); }
.prevnext a:hover svg.right { transform: translateX(4px); }
.prevnext .lbl {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.prevnext .ttl {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-100);
  transition: color .3s;
}
.prevnext a:hover .ttl { color: var(--gold-200); }

/* ================================= HABER ================================== */

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--ink-800);
  background: var(--ink-900);
  transition: border-color .3s;
}
.post-card:hover { border-color: rgba(184, 144, 31, .45); }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.post-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.post-card h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-50);
  transition: color .3s;
}
.post-card:hover h3 { color: var(--gold-200); }
.post-card p {
  margin-top: 10px;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-400);
}
.post-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-500);
  transition: color .3s;
}
.post-card:hover .post-more { color: var(--gold-400); }

.post-lead {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--ink-800);
  background: var(--ink-900);
  overflow: hidden;
  transition: border-color .3s;
}
.post-lead:hover { border-color: rgba(184, 144, 31, .45); }
@media (min-width: 1024px) { .post-lead { grid-template-columns: repeat(2, 1fr); } }
.post-lead-media { position: relative; min-height: 280px; overflow: hidden; }
.post-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-lead:hover .post-lead-media img { transform: scale(1.05); }
.post-lead-body { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
@media (min-width: 1024px) {
  .post-lead-media { min-height: 420px; }
  .post-lead-body { padding: 56px; }
}

/* ================================= SÜREÇ ================================== */

.step {
  position: relative;
  height: 100%;
  padding: 32px;
}
@media (min-width: 1024px) { .step { padding: 36px; } }
.step .num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-850);
  transition: color .5s;
}
.step:hover .num { color: rgba(184, 144, 31, .22); }
.step svg { margin-top: 24px; color: var(--gold-400); }
.step h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-50);
}
.step p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--ink-400); }

/* =============================== REFERANSLAR ============================== */

.ref-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  margin-top: 40px;
}
.ref-row span, .ref-row a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-600);
  transition: color .3s;
}
.ref-row a:hover { color: var(--gold-400); }

/* ==================================== CTA ================================= */

.cta {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--ink-800);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, #1a1e22 0%, #08090a 70%);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .67), transparent);
}
.cta h2 {
  margin-inline: auto;
  max-width: 800px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-50);
}
.cta p {
  margin: 24px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-400);
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--ink-800);
  background: var(--ink-900);
  padding: 40px;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-box { flex-direction: row; justify-content: space-between; text-align: left; padding: 56px; }
  .cta-box .btn-row { margin-top: 0; flex-shrink: 0; }
}

/* ================================== FOOTER ================================ */

.footer {
  position: relative;
  border-top: 1px solid var(--ink-800);
  background: var(--ink-900);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #dcbb4e 0%, transparent 70%);
  opacity: .07;
  filter: blur(60px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 48px;
  padding-block: 64px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr .8fr 1.2fr; gap: 32px; padding-block: 80px; }
}

.footer h3 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.footer-list a, .footer-list li {
  font-size: 14px;
  color: var(--ink-400);
  transition: color .25s;
}
.footer-list a:hover { color: var(--gold-300); }

.footer-about {
  margin-top: 24px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-400);
}

.footer-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-400); }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-500); }
.footer-contact a { transition: color .25s; }
.footer-contact a:hover { color: var(--gold-300); }
.footer-contact .stack { display: flex; flex-direction: column; gap: 4px; }

.social { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding-inline: 0;
  border: 1px solid var(--ink-700);
  color: var(--ink-300);
  transition: all .25s;
}
.social a.wide {
  padding-inline: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.social a:hover { border-color: rgba(184, 144, 31, .6); color: var(--gold-300); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  /* sabit WhatsApp/ara butonlarının altta kalan içeriği örtmemesi için */
  padding-bottom: 84px;
  border-top: 1px solid var(--ink-800);
  font-size: 12px;
  color: var(--ink-500);
}
@media (min-width: 640px) {
  .footer-bottom { padding-bottom: 28px; }
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .note { color: var(--ink-600); }

/* ============================== SABİT BUTONLAR ============================ */

.floating {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobilde butonlar yan yana durur; dikey dizilim içeriği fazla örtüyordu */
@media (min-width: 640px) {
  .floating {
    right: 20px; bottom: 20px;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }
}

.float-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--ink-700);
  background: rgba(13, 15, 17, .9);
  backdrop-filter: blur(6px);
  color: var(--ink-300);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
}
.float-top.show { opacity: 1; visibility: visible; transform: none; }
.float-top:hover { border-color: rgba(184, 144, 31, .6); color: var(--gold-300); }

.float-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(184, 144, 31, .4);
  background: rgba(13, 15, 17, .9);
  backdrop-filter: blur(6px);
  color: var(--gold-300);
}
@media (min-width: 640px) { .float-call { display: none; } }

.float-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--gold-gradient);
  color: var(--ink-950);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(154, 120, 24, .5);
  transition: transform .25s;
}
.float-wa:hover { transform: scale(1.04); }
.float-wa span { display: none; }
@media (min-width: 640px) { .float-wa span { display: inline; } }

/* ================================ 404 ==================================== */

.notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 24px;
  padding-top: calc(var(--header-h) + 24px);
  text-align: center;
}
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 150px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.notfound h1 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  color: var(--ink-50);
}
.notfound p { margin-top: 16px; color: var(--ink-400); }

/* ============================ ORTAK YERLEŞİMLER =========================== */

.split {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
.split > * { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(2, 1fr); gap: 80px; }
  .split.wide-left { grid-template-columns: 1.35fr 1fr; }
  .split.wide-right { grid-template-columns: 1fr 1.35fr; }
  .split.top { align-items: start; }
}

.frame {
  position: relative;
  border: 1px solid var(--ink-800);
  overflow: hidden;
}
.frame.portrait { aspect-ratio: 4 / 5; }
.frame.landscape { aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,9,10,.65), transparent 60%);
  pointer-events: none;
}

.badge-float {
  position: absolute;
  right: -16px; bottom: -24px;
  border: 1px solid rgba(184, 144, 31, .3);
  background: rgba(13, 15, 17, .96);
  backdrop-filter: blur(8px);
  padding: 24px 28px;
  display: none;
}
@media (min-width: 640px) { .badge-float { display: block; } }
@media (min-width: 1024px) { .badge-float { right: -32px; } }
.badge-float .big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.badge-float .small {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.value-list { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; gap: 16px; }
.value-item h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-50);
}
.value-item p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--ink-400); }

.feature-list { display: grid; gap: 10px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-300);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 7px;
  width: 6px; height: 6px;
  background: var(--gold-400);
  transform: rotate(45deg);
}

.empty {
  border: 1px solid var(--ink-800);
  background: var(--ink-900);
  padding: 72px 24px;
  text-align: center;
  color: var(--ink-400);
}
.empty a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------- hizmet listesi (sıralı) ---------------------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink-950);
}
@media (min-width: 1024px) { .service-row { grid-template-columns: repeat(2, 1fr); } }

.service-row-media { position: relative; min-height: 280px; overflow: hidden; }
@media (min-width: 1024px) { .service-row-media { min-height: 440px; } }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,9,10,.7), transparent 60%);
}
.service-row-media .idx {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold-300);
}
.service-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}
@media (min-width: 640px) { .service-row-body { padding: 48px; } }
@media (min-width: 1024px) { .service-row-body { padding: 56px; } }
.service-row-body h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-50);
}
.service-row-body > p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-400);
}
.service-row.reversed .service-row-media { order: 2; }
@media (max-width: 1023px) { .service-row.reversed .service-row-media { order: 0; } }

.stack-list { display: flex; flex-direction: column; gap: 1px; background: var(--ink-800); border: 1px solid var(--ink-800); }

/* --------------------------------- yan liste ------------------------------ */

.side-list li { border-bottom: 1px solid var(--ink-800); }
.side-list li:last-child { border-bottom: 0; }
.side-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  transition: background .25s;
}
.side-list a:hover { background: var(--ink-850); }
.side-list .name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-300);
  transition: color .25s;
}
.side-list a:hover .name { color: var(--gold-200); }
.side-list .lead-icon { color: var(--gold-500); flex-shrink: 0; }
.side-list .go { color: var(--ink-700); flex-shrink: 0; transition: all .25s; }
.side-list a:hover .go { color: var(--gold-400); transform: translateX(2px); }

.panel-title {
  padding: 20px 24px;
  border-bottom: 1px solid var(--ink-800);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.big-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-50);
  transition: color .25s;
}
.big-phone:hover { color: var(--gold-300); }
.big-phone svg { color: var(--gold-400); }

.faq dt { font-size: 14px; font-weight: 600; color: var(--ink-100); }
.faq dd { margin-top: 6px; margin-bottom: 20px; font-size: 13.5px; line-height: 1.7; color: var(--ink-400); }
.faq dd:last-child { margin-bottom: 0; }

/* --------------------------------- yazı ---------------------------------- */

.article-head { position: relative; isolation: isolate; padding-top: var(--header-h); border-bottom: 1px solid var(--ink-800); overflow: hidden; }
.article-head .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8,9,10,.95), rgba(8,9,10,.91) 55%, var(--ink-950));
}
.article-date {
  display: block;
  margin-top: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.article-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-50);
}
.article-lead { margin-top: 24px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.7; color: var(--ink-400); }
.article-cover { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--ink-800); overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-400);
  transition: color .25s;
}
.back-link:hover { color: var(--gold-300); }
.back-link svg { transition: transform .25s; }
.back-link:hover svg { transform: translateX(-4px); }

/* ==========================================================================
   MOBİL İNCE AYARLAR
   Dokunmatik cihazlarda okunabilirlik, dokunma hedefleri ve iOS davranışları.
   ========================================================================== */

/* --- Dokunma davranışı ---------------------------------------------------- */

a, button, input, select, textarea, summary, label, [role="button"] {
  /* çift dokunma gecikmesini kaldırır */
  touch-action: manipulation;
  /* varsayılan mavi-gri kutu yerine markaya uygun ince vurgu */
  -webkit-tap-highlight-color: rgba(201, 162, 39, .18);
}

/* --- iOS: form alanına dokununca sayfa yakınlaşmasın ---------------------- */
/* Safari, 16px'in altındaki alanlara odaklanınca sayfayı zorla büyütür.      */

@media (max-width: 767px) {
  .field,
  input[type="text"], input[type="tel"], input[type="email"],
  input[type="password"], input[type="number"], input[type="search"],
  select, textarea {
    font-size: 16px;
  }
  select.field { background-position: right 14px center; }
}

/* --- Çentikli ekranlar (iPhone) için güvenli alan -------------------------- */

@supports (padding: max(0px)) {
  .header-inner,
  .mobile-nav .mobile-foot {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .floating {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .footer-bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .lightbox-close { top: max(20px, env(safe-area-inset-top)); }
}

/* --- Dokunma hedefleri en az 44px ----------------------------------------- */

@media (hover: none) and (pointer: coarse) {
  .btn { padding-block: 16px; min-height: 48px; }
  .btn-sm { padding-block: 13px; min-height: 44px; }

  .nav a,
  .footer-list a,
  .crumbs a,
  .side-list a { min-height: 44px; display: flex; align-items: center; }

  /* telefon / e-posta / adres bağlantıları rahat basılsın */
  .footer-contact a,
  .contact-card a,
  .big-phone,
  .header-phone {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-contact .stack { gap: 0; }
  .contact-card a + a { margin-top: 0; }

  .filter-btn { min-height: 44px; padding-block: 12px; }
  .hero-nav button { width: 48px; height: 48px; }
  .lightbox-btn { width: 52px; height: 52px; }
  .icon-btn { width: 42px; height: 42px; }
  .menu-toggle { width: 46px; height: 46px; }

  /* fareyle gelen efektler dokunmatikte kalıcı görünmesin */
  .project-card:hover .project-media img,
  .post-card:hover .post-media img,
  .gallery-item:hover img { transform: none; }
  .service-card .more { opacity: 1; }
  .project-go { opacity: 1; transform: none; }
}

/* --- Kategori filtreleri: dar ekranda tek satır, yatay kaydırmalı --------- */

@media (max-width: 639px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* kenarlara taşarak "devamı var" hissi verir */
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 4px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
}

/* --- Küçük ekran tipografisi ve boşlukları -------------------------------- */

@media (max-width: 479px) {
  .section { padding-block: 56px; }
  .section-sm { padding-block: 40px; }

  .service-card { padding: 24px; }
  .project-body { padding: 20px; }
  .post-body { padding: 22px; }
  .panel-pad, .panel-gold { padding: 24px; }
  .contact-card { padding: 24px; }
  .step { padding: 24px; }
  .cta-box { padding: 28px; }
  .service-row-body { padding: 28px 24px; }

  .btn { padding-inline: 22px; font-size: 11.5px; letter-spacing: .12em; }
  .btn-row { gap: 12px; }

  /* tek sütuna düşen butonlar tam genişlik daha rahat basılır */
  .hero-actions .btn,
  .cta .btn-row .btn { flex: 1 1 100%; }
}

/* --- Yatay (landscape) telefon: hero ekranı boğmasın ---------------------- */

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero-inner { padding-top: 100px; padding-bottom: 32px; }
  .hero-title { font-size: clamp(24px, 5vw, 38px); }
  .hero-controls { margin-top: 24px; padding-top: 16px; }
  .mobile-nav { max-height: calc(100svh - var(--header-h)); }
}

/* --- Mobil menü uzun listede kaydırılabilir kalsın ------------------------ */

.mobile-nav { overscroll-behavior: contain; }

/* --- Yatay kaydırma sızıntısına karşı son güvenlik ------------------------ */

html { overflow-x: hidden; }
