/* =========================================================================
   BBRU — Kurumsal Tasarım Sistemi
   Koyu tema · Altın/Bronz aksan · İnşaat · Lojistik · Av Bayisi
   Tasarım: Enfessoft Bilişim Teknolojileri — https://enfessoft.com/
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Zeminler */
  --bg-0: #08080a;   /* en derin */
  --bg-1: #0d0d10;
  --bg-2: #141419;   /* yüzey */
  --bg-3: #1c1c23;   /* yükseltilmiş */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Metin */
  --text: #ece8e1;
  --muted: #a6a196;
  --faint: #726d63;

  /* Marka aksanı (aslan/kartal – asil altın & dağ kahvesi) */
  --gold: #c9a24b;
  --gold-2: #e7cd86;
  --bronze: #8a6a35;
  --brown: #5b4433;
  --brown-2: #7a5c42;

  /* Gradyanlar */
  --grad-gold: linear-gradient(135deg, #e7cd86 0%, #c9a24b 45%, #8a6a35 100%);
  --grad-dark: linear-gradient(180deg, rgba(8,8,10,0) 0%, rgba(8,8,10,0.85) 70%, #08080a 100%);

  /* Ölçü & yuvarlaklık */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  /* Gölge */
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 40px rgba(201, 162, 75, 0.22);

  /* Tipografi */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Geçiş */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;

  /* Görsel yer tutucular — gerçek foto eklemek için:
     none yerine url('assets/img/DOSYA.jpg') yazın. */
  --photo-hero: none;
  --photo-insaat: none;
  --photo-lojistik: none;
  --photo-av: none;
  --photo-madencilik: none;
  --photo-hakkimizda: none;
  --photo-referanslar: none;
  --photo-iletisim: none;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: rgba(201, 162, 75, 0.3); color: #fff; }

/* ---------- Yardımcılar ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7; }
.eyebrow.center::before { display: none; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-title .accent { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 62ch; }
.text-gold { color: var(--gold); }

/* ---------- Butonlar ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-gold); color: #1a1206; box-shadow: var(--shadow-1); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), var(--glow-gold); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-2); }
.btn-lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand__mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: 0.06em; }
.brand__sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 16px; font-size: 0.95rem; font-weight: 500; color: var(--muted);
  border-radius: 999px; transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1.5px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Açılır hizmet menüsü */
.nav__item--drop { position: relative; }
.nav__drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; padding: 8px; background: rgba(20,20,25,0.96); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
/* Görünmez köprü: link ile menü arasındaki boşluğu kapatır, hover kaybolmaz */
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
/* Menü açıkken parent'ı hover'da tutan geniş yakalama alanı */
.nav__item--drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--muted); font-size: 0.94rem; transition: background 0.25s, color 0.25s; }
.nav__drop a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.nav__drop a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); flex: none; }

.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; }

/* Mobil menü */
.nav__burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(255,255,255,0.03); position: relative; z-index: 105; /* menünün (z90) üstünde → X görünür ve tıklanır */
}
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
body.nav-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Menü açıkken: sayfa scroll kilidi + header'ın backdrop-filter'ı fixed menüyü bozmasın */
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }

@media (max-width: 940px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 90; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(8,8,10,0.98); backdrop-filter: blur(18px);
    transform: translateY(-100%); visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s; padding: 0 24px;
  }
  body.nav-open .nav__links { transform: translateY(0); visibility: visible; }
  .nav__link { font-size: 1.4rem; padding: 14px; }
  .nav__link::after { display: none; }
  .nav__item--drop .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; min-width: auto; text-align: center; padding: 0; }
  .nav__drop a { justify-content: center; font-size: 1.05rem; color: var(--gold); }
  .nav__cta { margin: 14px 0 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--line); padding-top: 80px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__about { color: var(--muted); font-size: 0.96rem; max-width: 34ch; }
.footer__socials { display: flex; gap: 12px; margin-top: 22px; }
.footer__socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); transition: all 0.3s var(--ease); }
.footer__socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer__col h4 { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; font-weight: 600; }
.footer__col ul li { margin-bottom: 12px; }
.footer__col a, .footer__contact li { color: var(--muted); font-size: 0.96rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid var(--line); padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { color: var(--faint); font-size: 0.88rem; }
.footer__attrib { padding: 4px 0 20px; color: var(--faint); font-size: 0.76rem; text-align: center; }
.footer__attrib a { color: var(--muted); }
.footer__attrib a:hover { color: var(--gold); }
.footer__credit { font-size: 0.9rem; color: var(--muted); }
.footer__credit a { color: var(--gold); font-weight: 600; position: relative; }
.footer__credit a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--grad-gold); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease); }
.footer__credit a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; text-align: center; } }

/* ---------- Kartlar ---------- */
.card {
  position: relative; background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
  overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-gold); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card:hover::after { opacity: 0.6; }
.card__icon { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: rgba(201,162,75,0.1); border: 1px solid rgba(201,162,75,0.25); color: var(--gold); margin-bottom: 22px; }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.card__link .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(5px); }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* İstatistik */
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__label { color: var(--muted); margin-top: 10px; font-size: 0.95rem; letter-spacing: 0.02em; }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.28; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% -10%, rgba(201,162,75,0.14), transparent 60%), linear-gradient(180deg, rgba(8,8,10,0.6), var(--bg-0)); }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: 0.85rem; margin-bottom: 20px; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero p { color: var(--muted); margin-top: 18px; max-width: 60ch; font-size: 1.1rem; }

/* ---------- Reveal animasyonları ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Bölme çizgisi & rozet ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8rem; color: var(--muted); background: rgba(255,255,255,0.02); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ---------- CTA şeridi ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 80px); text-align: center; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(201,162,75,0.12), rgba(20,20,25,0.6)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(201,162,75,0.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.86rem; font-family: var(--font-display); font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg-1); border: 1px solid var(--line-strong);
  border-radius: 12px; color: var(--text); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,0.12); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Liste tik ---------- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--muted); }
.check-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.check-list li strong { color: var(--text); font-weight: 600; }

/* ---------- Yüzen aksiyon butonları (Ara + WhatsApp) — altın/koyu ---------- */
.fab-stack { position: fixed; right: 24px; bottom: 26px; z-index: 80; display: flex; flex-direction: column; gap: 14px; }
.fab {
  width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); padding: 0;
  display: grid; place-items: center; cursor: pointer; position: relative;
  background: var(--grad-gold); color: #1a1206; /* altın zemin, koyu ikon */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s;
}
.fab svg { width: 26px; height: 26px; position: relative; z-index: 2; }
.fab--wa svg { width: 32px; height: 32px; } /* WhatsApp glyph'i viewBox'ta küçük kalıyor, büyütüyoruz */
.fab:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(201, 162, 75, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45); filter: brightness(1.05); }
.fab:active { transform: translateY(-1px) scale(1.02); }
/* İpucu balonu (solda belirir) */
.fab[data-tip]::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(20, 20, 25, 0.96); color: var(--text); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 9px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.fab[data-tip]:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
/* Zarif altın nabız halkası (WhatsApp'ta) */
.fab--wa::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--gold); animation: fabPulse 2.8s ease-out infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.55; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 600px) {
  .fab-stack { right: 16px; bottom: 16px; gap: 12px; }
  .fab { width: 54px; height: 54px; }
}

/* ---------- SSS (FAQ akordeon) ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s; }
.faq__item[open] { border-color: rgba(201, 162, 75, 0.4); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color 0.25s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--gold); transition: transform 0.3s var(--ease); flex: none; }
.faq__item[open] summary { color: var(--gold-2); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { color: var(--muted); max-width: 70ch; }

/* ---------- Erişilebilirlik / hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

.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; }
