/* ===== Bayraca İnşaat — Design System ===== */
:root {
  --bg: #0a0b10;
  --bg-soft: #10121a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --gold: #c9a24b;
  --gold-soft: #e7c97e;
  --cyan: #38bdf8;
  --text: #f4f5f7;
  --text-dim: #a7adba;
  --text-mute: #6b7280;
  --danger: #f87171;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-h: "Space Grotesk", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px; /* sabit navbar altında kalmasın */
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* mobil menü açıkken arka plan kaymasın */
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600;
  overflow-wrap: break-word; }
p, li, a, span, strong { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #0a0b10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.gradient-text {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  min-height: 48px;
}
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: #0a0b10 !important;   /* sarı zemin üstünde her zaman siyah yazı */
  font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(201, 162, 75, 0.6);
}
.btn-primary * { color: #0a0b10 !important; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(201, 162, 75, 0.7); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-2); }

/* ===== Navbar ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 100%; margin: 0 auto; left: 0; right: 0;
  background: rgba(10, 11, 16, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding .3s var(--ease), background .3s;
}
.nav .nav-inner { max-width: var(--max); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; }
.nav.scrolled {
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); padding: 12px 24px; max-width: 100%;
}
.nav.scrolled .nav-inner { max-width: var(--max); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-h);
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  display: grid; place-items: center; color: #0a0b10; font-weight: 800; font-size: 1.1rem;
}
img.brand-mark {
  background: none; border-radius: 0; width: auto; height: 44px;
  object-fit: contain; filter: drop-shadow(0 2px 8px rgba(201,162,75,0.35));
}
.brand small { display: block; font-size: 0.6rem; letter-spacing: 0.1em;
  color: var(--gold-soft); font-family: var(--font-b); font-weight: 500;
  text-transform: uppercase; opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-size: 0.92rem; color: var(--text-dim);
  font-weight: 500; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--gold-soft); background: var(--surface); }
/* Teklif Al butonu: sarı zemin + siyah yazı (nav renk kuralları ezmesin) */
.nav-cta a.btn-primary,
.nav-cta a.btn-primary:hover,
.nav-cta a.btn-primary.active {
  color: #0a0b10; font-weight: 700;
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
}
.nav-cta { margin-left: 10px; }
.burger { display: none; background: none; border: 1px solid var(--border);
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; color: var(--text);
  flex: none; -webkit-tap-highlight-color: transparent; }
.burger svg { width: 22px; height: 22px; }
.burger:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; }
#scene { position: absolute; inset: 0; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 72% 26%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(700px 500px at 18% 66%, rgba(201, 162, 75, 0.10), transparent 60%),
    /* üst hafif, alt koyu: sahne yukarıda görünür, metin aşağıda okunur */
    linear-gradient(180deg,
      rgba(10,11,16,0.42) 0%,
      rgba(10,11,16,0.10) 28%,
      rgba(10,11,16,0.55) 62%,
      rgba(10,11,16,0.92) 84%,
      var(--bg) 100%);
}
/* Hero: kart yok — metin doğrudan sahnenin üstünde, altta durur.
   Sahne (bina + vinç) üst tarafta açıkta kalır. */
.hero-content {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100dvh;
  padding: 120px clamp(20px, 5vw, 72px) clamp(88px, 12vh, 120px);
  max-width: 1200px; margin: 0 auto;
  pointer-events: none;   /* sahne fare etkileşimi engellenmesin */
}
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; max-width: 16ch;
  text-shadow: 0 4px 30px rgba(0,0,0,0.75); }
.hero p { color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.14rem);
  max-width: 46ch; margin: 18px 0 0; text-shadow: 0 2px 18px rgba(0,0,0,0.8); }
.hero .eyebrow { text-shadow: 0 2px 14px rgba(0,0,0,0.8); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: clamp(22px, 4vw, 44px); margin-top: 32px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border); max-width: 620px; }
.hero-stats div strong { font-family: var(--font-h); font-size: clamp(1.5rem, 3vw, 2rem);
  display: block; color: var(--gold-soft); text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.hero-stats div span { font-size: 0.82rem; color: var(--text-mute); letter-spacing: 0.04em; }
@keyframes pulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ===== Sections ===== */
section { position: relative; }
.block { padding: clamp(70px, 11vw, 130px) 0; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p { color: var(--text-dim); margin-top: 18px; font-size: 1.08rem; }

/* ===== Cards / Services ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 34px; transition: transform .4s var(--ease), border-color .4s, background .4s;
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%),
    rgba(201,162,75,0.10), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-8px); border-color: rgba(201,162,75,0.4);
  background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.card .ico {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(201,162,75,0.18), rgba(56,189,248,0.14));
  border: 1px solid var(--border); margin-bottom: 22px; color: var(--gold-soft);
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  color: var(--gold-soft); font-weight: 600; font-size: 0.9rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .more svg { transform: translateX(5px); }

/* feature list */
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.feature-row.rev { direction: rtl; }
.feature-row.rev > * { direction: ltr; }
.feature-visual {
  aspect-ratio: 4/3; border-radius: var(--r-lg); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-soft), #0a0b10);
  position: relative; overflow: hidden;
}
.feature-visual .glow { position: absolute; inset: 0;
  background: radial-gradient(500px circle at 30% 30%, rgba(56,189,248,0.18), transparent 60%),
              radial-gradient(400px circle at 75% 75%, rgba(201,162,75,0.16), transparent 60%); }
.feature-visual .ring { position: absolute; border: 1px solid var(--border);
  border-radius: 50%; inset: 50% auto auto 50%; }
/* Hakkımızda — kutu içinde dönen 3D logo */
.logo3d { position: absolute; inset: 0; z-index: 1; }
.logo3d canvas { width: 100% !important; height: 100% !important; display: block; }

.check-list { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-dim); }
.check-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.check-list strong { color: var(--text); display: block; font-weight: 600;
  font-family: var(--font-h); }

/* brand badge */
.nice-badge { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  margin-bottom: 26px; }
.nice-badge b { font-family: var(--font-h); letter-spacing: 0.06em; }
.nice-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan); }

/* steps */
.steps { counter-reset: s; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  padding: 26px; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: rgba(201,162,75,0.4); transform: translateX(6px); }
.step .n { counter-increment: s; font-family: var(--font-h); font-size: 1.5rem;
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(201,162,75,0.2), rgba(56,189,248,0.14));
  color: var(--gold-soft); border: 1px solid var(--border); }
.step .n::before { content: "0" counter(s); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* CTA band */
.cta-band { border-radius: var(--r-lg); padding: clamp(44px, 7vw, 80px);
  background: linear-gradient(135deg, rgba(201,162,75,0.14), rgba(56,189,248,0.10));
  border: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; margin: 0 auto 18px; }
.cta-band p { color: var(--text-dim); max-width: 50ch; margin: 0 auto 34px; }

/* stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 44px;
  background: var(--surface); }
.stats-strip div { text-align: center; }
.stats-strip strong { font-family: var(--font-h); font-size: clamp(1.8rem,3vw,2.6rem);
  display: block; color: var(--gold-soft); }
.stats-strip span { color: var(--text-mute); font-size: 0.88rem; }

/* page header (inner pages) */
.page-head { padding: 150px 0 70px; text-align: center; position: relative; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 50% 0%, rgba(201,162,75,0.12), transparent 65%); }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-head p { color: var(--text-dim); max-width: 60ch; margin: 22px auto 0; font-size: 1.1rem; }
.crumbs { color: var(--text-mute); font-size: 0.85rem; margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-soft); }

/* form */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 600; font-family: var(--font-h); }
.field input, .field textarea, .field select {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 14px 16px; color: var(--text); font: inherit; min-height: 50px;
  transition: border-color .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); }
.field .hint { font-size: 0.8rem; color: var(--text-mute); }
.req { color: var(--danger); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.contact-info { display: grid; gap: 22px; align-content: start; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico { width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border);
  color: var(--gold-soft); }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item span { color: var(--text-mute); font-size: 0.82rem; display: block; }
.info-item a, .info-item p { color: var(--text); font-weight: 500; }
.form-note { font-size: 0.85rem; color: var(--text-mute); }
.form-success { display: none; padding: 16px 20px; border-radius: var(--r-sm);
  background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.4);
  color: var(--cyan); font-weight: 600; }

/* faq */
.faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); overflow: hidden; }
.faq summary { padding: 22px 26px; cursor: pointer; font-family: var(--font-h);
  font-weight: 600; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pl { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pl::before, .faq summary .pl::after { content: ""; position: absolute;
  background: var(--gold); inset: 50% 0 auto 0; height: 2px; transition: transform .3s var(--ease); }
.faq summary .pl::after { transform: rotate(90deg); }
.faq details[open] summary .pl::after { transform: rotate(0); }
.faq details[open] summary { color: var(--gold-soft); }
.faq p { padding: 0 26px 24px; color: var(--text-dim); }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 70px 0 36px;
  background: var(--bg-soft); margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 20px; }
.foot-grid ul { list-style: none; display: grid; gap: 12px; }
.foot-grid a { color: var(--text-dim); font-size: 0.95rem; }
.foot-grid a:hover { color: var(--gold-soft); }
.foot-about p { color: var(--text-dim); font-size: 0.95rem; margin: 18px 0; max-width: 38ch; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-dim); transition: all .25s; }
.socials a:hover { color: var(--gold-soft); border-color: var(--gold);
  transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-mute); font-size: 0.86rem; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 30px; text-align: center;
  transition: transform .4s var(--ease), border-color .4s; }
.tcard:hover { transform: translateY(-6px); border-color: rgba(201,162,75,0.4); }
.tcard .avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; font-family: var(--font-h); font-weight: 700;
  font-size: 1.9rem; color: #0a0b10;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border: 2px solid rgba(201,162,75,0.5); }
.tcard img.avatar { object-fit: cover; object-position: center top;
  background: none; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.7); }
.tcard h3 { font-size: 1.2rem; }
.tcard .role { color: var(--gold-soft); font-weight: 600; font-size: 0.92rem;
  margin: 6px 0 4px; font-family: var(--font-h); }
.tcard .sub { color: var(--text-mute); font-size: 0.85rem; }
.tcard .tag { display: inline-block; margin-bottom: 16px; padding: 5px 14px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--bg-soft);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); }

/* ===== Project Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px; gap: 16px; }
.gphoto { position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--border); cursor: pointer; }
.gphoto.wide { grid-column: span 2; }
.gphoto.tall { grid-row: span 2; }
.gphoto img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease); }
.gphoto::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,11,16,0.85)); }
.gphoto figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--font-h); font-weight: 600; font-size: 1.02rem;
  transform: translateY(8px); opacity: 0.85; transition: all .4s var(--ease); }
.gphoto figcaption span { display: block; font-family: var(--font-b);
  font-weight: 500; font-size: 0.8rem; color: var(--gold-soft); }
.gphoto:hover img { transform: scale(1.07); }
.gphoto:hover figcaption { transform: none; opacity: 1; }

/* real-photo visual (replaces abstract feature-visual) */
.photo-visual { aspect-ratio: 4/3; border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden; position: relative; }
.photo-visual img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease); }
.photo-visual:hover img { transform: scale(1.05); }
.photo-visual::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,162,75,0.10), transparent 60%); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(6,7,11,0.92); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 30px; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: var(--r);
  border: 1px solid var(--border); }
.lb-close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px;
  border-radius: 12px; background: rgba(255,255,255,0.10); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; font-size: 1.3rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb-close:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease),
  transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Dil geçişi (TR / EN bayrakları) ===== */
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 12px;
  padding: 4px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); flex: none; }
.lang-btn {
  width: 34px; height: 26px; padding: 0; cursor: pointer;
  border: 1px solid transparent; border-radius: 6px; background: none;
  display: grid; place-items: center; overflow: hidden;
  opacity: 0.45; transition: opacity .2s, border-color .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lang-btn svg { width: 26px; height: 17px; border-radius: 3px; display: block; }
.lang-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.lang-btn.on { opacity: 1; border-color: var(--gold); }
.lang-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 980px) {
  /* burger'in solunda kalır, menü açılmasına gerek yok */
  .lang-switch { margin-left: auto; margin-right: 10px; }
}
@media (max-width: 380px) {
  .lang-btn { width: 30px; height: 24px; }
  .lang-btn svg { width: 22px; height: 15px; }
}

/* ===== 3D sahne aşama göstergesi ===== */
.scene-hud {
  position: absolute; right: clamp(16px, 4vw, 40px); top: 92px;
  z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(9, 10, 15, 0.66);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-size: 0.78rem; letter-spacing: 0.06em;
  white-space: nowrap; pointer-events: none;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.8);
}
.scene-hud .sh-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px var(--gold); flex: none;
  animation: shPulse 1.8s var(--ease) infinite;
}
@keyframes shPulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }
.scene-hud .sh-label {
  font-family: var(--font-h); font-weight: 600; color: var(--text);
  min-width: 11ch;
}
.sh-flip { animation: shFlip .5s var(--ease); }
@keyframes shFlip {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.scene-hud .sh-bar {
  width: 92px; height: 3px; border-radius: 2px; flex: none;
  background: rgba(255,255,255,0.14); overflow: hidden;
}
.scene-hud .sh-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--cyan));
  transition: width .3s linear;
}
.scene-hud .sh-pct {
  color: var(--gold-soft); font-variant-numeric: tabular-nums;
  font-weight: 600; min-width: 4ch; text-align: right;
}
@media (max-width: 560px) {
  .scene-hud { top: 78px; right: 14px; left: 14px; justify-content: center;
    gap: 9px; padding: 7px 14px; font-size: 0.68rem; }
  .scene-hud .sh-bar { width: 54px; }
  .scene-hud .sh-label { min-width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-hud .sh-dot { animation: none; opacity: 1; }
}

/* ===== Sabit WhatsApp butonu ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #062b14;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, 0.75); }
.wa-float:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
@supports (padding: env(safe-area-inset-bottom)) {
  .wa-float { bottom: calc(18px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) { .wa-float { width: 52px; height: 52px; right: 14px; } }

/* ===== Responsive ===== */

/* --- Küçük masaüstü / yatay tablet (981–1180px) --- */
@media (max-width: 1180px) and (min-width: 981px) {
  .nav-links a { padding: 9px 12px; font-size: 0.87rem; }
  .nav-cta { margin-left: 4px; }
  .feature-row { gap: 44px; }
  .foot-grid { gap: 30px; }
}

/* --- Tablet (max 980px): burger menü devreye girer --- */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 16px 24px 28px;
    background: rgba(10,11,16,0.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); gap: 4px;
    max-height: calc(100dvh - 100%); overflow-y: auto;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8); }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { padding: 14px 16px; display: block; min-height: 48px; }
  .nav-links.open .nav-cta { display: block; margin: 10px 0 0; }
  .nav-links.open .nav-cta a { text-align: center; justify-content: center;
    padding: 14px 20px !important; min-height: 48px !important; }
  .burger { display: grid; place-items: center; }

  /* tablet: 2 sütun korunur, tek sütuna düşmez */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .grid-2 { grid-template-columns: 1fr; }

  .feature-row, .feature-row.rev { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gphoto.wide, .gphoto.tall { grid-column: auto; grid-row: auto; }
  .hero-content { padding: 104px 22px clamp(76px, 11vh, 104px); }
  .page-head { padding: 130px 0 56px; }

  /* dokunmatik cihazlarda hover-transform kaymalarını kapat */
  .card:hover, .step:hover, .tcard:hover, .socials a:hover { transform: none; }
}
@media (max-width: 760px) {
  .grid-3, .team-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .block { padding: clamp(56px, 10vw, 90px) 0; }
  .section-head { margin-bottom: 40px; }
}

/* --- Telefon (max 560px) --- */
@media (max-width: 560px) {
  /* Telefonda footer yana açılır — dikeyde yer kaplamasın:
     logo + sosyal üstte, 3 liste yan yana, uzun tanıtım metni gizli */
  footer { padding: 36px 0 24px; margin-top: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot-about { grid-column: 1 / -1; }
  .foot-about p { display: none; }          /* metin ana sayfada zaten var */
  .foot-about .brand { margin-bottom: 14px; }
  .foot-grid h4 { font-size: 0.68rem; letter-spacing: 0.08em; margin-bottom: 10px; }
  .foot-grid ul { gap: 8px; }
  .foot-grid a { font-size: 0.79rem; }
  .socials a { width: 36px; height: 36px; }
  .socials svg { width: 17px; height: 17px; }
  /* İletişim: telefonlar ve iki e-posta yan yana, dikeyde yer kaplamasın */
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-grid > div:last-child ul {
    grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .foot-grid > div:last-child a { font-size: 0.73rem; word-break: break-word; }
  .foot-bottom { margin-top: 20px; padding-top: 16px; gap: 5px;
    flex-direction: column; align-items: flex-start; font-size: 0.72rem; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 28px 22px; gap: 26px 16px; }
  .wrap { padding: 0 18px; }
  .brand { font-size: 1rem; gap: 9px; min-width: 0; }
  .brand span { min-width: 0; }
  .brand small { font-size: 0.5rem; letter-spacing: 0.06em; }
  img.brand-mark { height: 36px; }
  .nav, .nav.scrolled { padding: 12px 16px; }
  .nav-links.open { padding: 14px 16px 24px; }
  /* Telefon: sahne üst %42'ye kadar, metin altta — çakışma olmaz */
  #scene { inset: 0 0 auto 0; height: 46dvh; }
  .hero-content { min-height: 100dvh; justify-content: flex-start;
    padding: calc(46dvh + 14px) 18px 64px; }
  .hero-overlay { background:
      radial-gradient(600px 400px at 50% 18%, rgba(56,189,248,0.10), transparent 62%),
      linear-gradient(180deg,
        rgba(10,11,16,0.32) 0%,
        rgba(10,11,16,0.04) 22%,
        rgba(10,11,16,0.55) 40%,
        var(--bg) 50%); }
  .hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.4rem); max-width: 100%; }
  .hero p { font-size: 0.98rem; margin-top: 14px; }
  .hero-stats { gap: 16px 22px; margin-top: 22px; padding-top: 18px; }
  .hero-stats div strong { font-size: 1.45rem; }
  .hero-stats div span { font-size: 0.74rem; }
  .hero-cta { gap: 10px; margin-top: 22px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .section-head h2, .cta-band h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .step { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; }
  .step .n { width: 48px; height: 48px; font-size: 1.15rem; }
  .tcard { padding: 30px 24px; }
  .page-head { padding: 116px 0 44px; }
  .page-head p { font-size: 1rem; }
  .cta-band { padding: 38px 22px; }
  /* CTA butonları tam genişlik — parmakla kolay hedef */
  .cta-band .btn { width: 100%; justify-content: center; }
  .contact-info .btn { width: 100%; }
  .faq summary { padding: 18px 20px; }
  .faq p { padding: 0 20px 20px; }
  .lb { padding: 16px; }
  .lb-close { top: 12px; right: 14px; }
}

/* --- Çok küçük telefon (max 380px) --- */
@media (max-width: 380px) {
  .brand small { display: none; }
  .hero-stats { gap: 16px 20px; }
  .hero-stats div strong { font-size: 1.4rem; }
  .stats-strip { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
}

/* --- Yatay (landscape) telefon: hero yüksekliği ekrana sığsın --- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 96px 0 56px; }
  .scroll-hint { display: none; }
  .hero-content { padding: 20px 20px 30px; }
  .nav-links.open { max-height: calc(100dvh - 70px); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
