/* Ortak giriş ve menü (Kasım 2026 sonu, Maxfolio esintisi). Her sayfanın başında aynı blok (inc/intro.php):
   solda küçük fotoğraf + isim + e-posta, altında büyük unvan, kısa tanıtım ve WhatsApp düğmesi.
   Masaüstünde menü ortada hap şeklinde; fotoğraf satırı menüyle aynı hizada. Renkler ve kurallar sitenin kendisi. */

.intro { position: relative; padding-top: 16px; padding-bottom: clamp(32px, 4vw, 48px); }
.intro__me { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.intro__photo { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.intro__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--card); }
.intro__dot { position: absolute; right: -1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green, #22c55e); box-shadow: 0 0 0 2px var(--bg); }
.intro__who { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.2; }
.intro__who a { color: var(--text); transition: color 0.2s linear; }
.intro__who a:hover { color: var(--blue); }
.intro__who .intro__mail { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; color: var(--muted); }
.intro__main { margin-top: clamp(40px, 7vw, 96px); }
.intro__title { font-size: clamp(46px, 7.6vw, 112px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.98; color: var(--text); max-width: 13ch; text-wrap: balance; }
.intro__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(18px, 2.2vw, 28px); }
.intro__text { max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.intro__cta { flex: none; }
.intro .hero__3d { top: clamp(64px, 8vw, 120px); right: var(--gutter); transform: none; width: clamp(180px, 24vw, 320px); }
.btn.btn--wa { background: #25d366; border-color: #25d366; color: #06281a; }
.btn.btn--wa:hover, .btn.btn--wa:focus-visible { background: #1ebe5b; border-color: #1ebe5b; color: #06281a; }

@media (min-width: 761px) {
  /* Üst çubuk kalkar: solda boşluk (fotoğraf satırı giriş bloğunda), ortada hap menü, sağda yoğunluk. */
  .header { pointer-events: none; }
  .header .nav, .header__end { pointer-events: auto; }
  .header__bar, :root[data-theme='dark'] .header__bar {
    display: grid; grid-template-columns: 1fr auto 1fr; height: 64px; padding: 0;
    background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .header__bar > .brand { visibility: hidden; }
  .header__end { justify-self: end; }
  .nav {
    gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px;
    background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  }
  :root[data-theme='dark'] .nav { background: rgba(22, 33, 43, 0.72); }
  .nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; transition: color 0.2s linear, background-color 0.2s linear; }
  .nav .nav__home { display: none; }
  .nav a[aria-current='page'] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
  :root[data-theme='dark'] .nav a[aria-current='page'] { background: rgba(255, 255, 255, 0.1); }
  .intro { margin-top: -64px; padding-top: 0; }
  .intro--home .intro__title { padding-right: clamp(180px, 24vw, 320px); max-width: none; }
}
@media (max-width: 760px) {
  .intro__main { margin-top: 36px; }
  .intro__row { flex-direction: column; align-items: flex-start; }
  .intro .hero__3d { top: 12px; width: 72px; max-width: 72px; position: absolute; margin: 0; }
}

/* Giriş bloğundan sonra gelen sayfa içeriği kendi üst boşluğunu küçültür. */
.intro + :is(section, article, div) { padding-top: clamp(8px, 2vw, 24px); margin-top: 0; }
