/* ==========================================================
   bisiteyap.com — "Blueprint" tasarım sistemi
   İnşa/plan/çizim temalı: koyu lacivert blueprint + amber vurgu + WhatsApp yeşili CTA
   ========================================================== */

:root {
  --ink: #0B2540;          /* koyu mavi-lacivert zemin */
  --blueprint: #123554;    /* panel/kart koyu tonu */
  --blueprint-line: rgba(255, 255, 255, 0.09);
  --paper: #F3F8F9;        /* soğuk, açık kağıt zemin */
  --paper-line: rgba(11, 37, 64, 0.07);
  --ink-soft: rgba(11, 37, 64, 0.60);
  --amber: #FF7A45;        /* turuncu vurgu */
  --amber-soft: rgba(255, 122, 69, 0.14);
  --turquoise: #17B8A6;    /* turkuaz ikincil vurgu */
  --turquoise-soft: rgba(23, 184, 166, 0.14);
  --skyblue: #4FC3E8;      /* açık mavi üçüncül vurgu */
  --wa-green: #22C35E;     /* WhatsApp CTA */
  --wa-green-dark: #1AA34D;
  --white: #FBFDFE;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- Sayfa geçiş overlay'i (dönen logo) ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.page-transition.active {
  opacity: 1;
  pointer-events: all;
}
.page-transition .logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(var(--amber), var(--turquoise), var(--skyblue), var(--amber));
  animation: spin 0.85s linear infinite;
  position: relative;
}
.page-transition .logo-mark::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .page-transition .logo-mark { animation: none; }
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

a { text-decoration: none; }

/* ---------- Kağıt / blueprint zemin dokusu ---------- */
.paper-grid {
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 32px 32px;
}

.blueprint-grid {
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--white);
}

/* ---------- Navbar ---------- */
.navbar-bisiteyap {
  background: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--blueprint-line);
}

.navbar-bisiteyap .navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white) !important;
}

.navbar-bisiteyap .navbar-brand .brand-dot { color: var(--amber); }

.navbar-bisiteyap .nav-link {
  color: rgba(251, 250, 247, 0.75) !important;
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 0.6rem;
  transition: color .2s ease;
}

.navbar-bisiteyap .nav-link:hover,
.navbar-bisiteyap .nav-link.active {
  color: var(--amber) !important;
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.55rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background .2s ease, transform .15s ease;
}
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; transform: translateY(-1px); }
.btn-wa svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Eyebrow / kod etiketi (blueprint spec-sheet hissi) ---------- */
.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 182, 39, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  display: inline-block;
}

.spec-tag.dark {
  color: var(--ink);
  border-color: rgba(11, 17, 32, 0.25);
  background: var(--amber-soft);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
}

.hero h1 .underline-amber {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline-amber::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: linear-gradient(90deg, var(--amber), var(--turquoise));
  opacity: 0.4;
  z-index: -1;
}

.hero p.lead {
  color: rgba(251, 250, 247, 0.72);
  font-size: 1.15rem;
  max-width: 520px;
}

/* Çizilen blueprint kutusu animasyonu */
.blueprint-draw {
  width: 100%;
  height: auto;
}
.blueprint-draw .draw-path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.4s ease forwards 0.3s;
}
.blueprint-draw .draw-fill {
  opacity: 0;
  animation: fadeIn 1s ease forwards 2.2s;
}
.blueprint-draw .draw-dim {
  fill: none;
  stroke: rgba(255,182,39,0.5);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0;
  animation: fadeIn .8s ease forwards 2.6s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .blueprint-draw .draw-path,
  .blueprint-draw .draw-fill,
  .blueprint-draw .draw-dim { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* ---------- Section başlıkları ---------- */
.section-head { margin-bottom: 2.8rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-top: 0.6rem;
}
.section-head p { color: var(--ink-soft); max-width: 560px; }

/* ---------- Blueprint köşe-parantezli kart (imza öge) ---------- */
.corner-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.corner-card::before,
.corner-card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--amber);
  opacity: 0.9;
}
.corner-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.corner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(11, 17, 32, 0.25);
}

.corner-card .card-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.corner-card h3 {
  font-size: 1.15rem;
  margin: 0.5rem 0 0.6rem;
}

.corner-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.1rem; }

.corner-card .thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  background: var(--paper);
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border: 1px dashed var(--paper-line);
}

/* ---------- Kategori filtre çipleri ---------- */
.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border: 1px solid var(--paper-line);
  background: var(--white);
  color: var(--ink-soft);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--amber); color: var(--ink); }
.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--turquoise);
}

/* ---------- Ekip kartı ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--blueprint);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  border: 2px solid var(--skyblue);
}
.team-card h3 { margin-bottom: 0.15rem; font-size: 1.05rem; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--wa-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Sayaç şeridi ---------- */
.stat-strip {
  border-top: 1px solid var(--blueprint-line);
  border-bottom: 1px solid var(--blueprint-line);
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
}
.stat-item .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(251, 250, 247, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- İletişim ---------- */
.contact-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.form-control-blueprint {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--blueprint-line);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.form-control-blueprint:focus {
  background: rgba(255,255,255,0.06);
  border-color: var(--amber);
  color: var(--white);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.form-control-blueprint::placeholder { color: rgba(251,250,247,0.4); }

/* ---------- Footer ---------- */
.footer-bisiteyap {
  background: var(--ink);
  color: rgba(251, 250, 247, 0.55);
  padding: 2.5rem 0;
  font-size: 0.88rem;
}
.footer-bisiteyap a { color: rgba(251, 250, 247, 0.75); }
.footer-bisiteyap a:hover { color: var(--amber); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Sayfa üstü şerit (breadcrumb blueprint) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(251,250,247,0.7); max-width: 560px; }

@media (max-width: 767px) {
  .hero { padding: 4rem 0 3rem; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
}
