/* Ortak tasarım sistemi: index.html'de doğmuş renk/tipografi/nav/footer,
   tüm statik sayfalar arasında paylaşılıyor. Sayfaya özel stiller (hero,
   phone mockup, form vb.) kendi <style> bloklarında kalır. */

:root {
  --bg-0: #EEF1F6;
  --bg-1: #F9FAFC;
  --bg-2: #FFFFFF;
  --input-bg: #F1F3F7;
  --accent: #FF7A1A;
  --accent-2: #C2410C;
  --text-main: #171B24;
  --text-muted: #5B6472;
  --text-dim: #8A93A3;
  --border-soft: rgba(15,23,42,0.08);
  --border-softer: rgba(15,23,42,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-softer);
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { text-decoration: none; flex-shrink: 0; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a.nav-aktif { color: var(--text-main); font-weight: 700; }
.nav-links button { flex-shrink: 0; }
@media (max-width: 560px) {
  .nav-links { gap: 14px; font-size: 13px; }
}
.btn-sm {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* Auth nav */
.auth-cikis {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}
.auth-cikis:hover { color: var(--text-main); border-color: rgba(15,23,42,0.25); }

/* Section headings (paylaşılan) */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); max-width: 480px; margin: 0 auto; font-size: 15px; }

/* Kart tabanı (feature-card, song-card vb. bunu genişletir) */
.card-base {
  background: var(--bg-2);
  border: 1px solid var(--border-softer);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 1px 6px rgba(16,24,40,0.04);
}

footer {
  padding: 40px 0 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
footer .foot-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; font-weight: 700; color: var(--text-muted); }
footer .foot-logo img { width: 20px; height: 20px; border-radius: 5px; }

/* Footer link satırı (Hakkında / Gizlilik / Şartlar / İletişim) */
footer .foot-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
footer .foot-links a,
footer .foot-links button {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--text-muted); text-decoration: none; font-size: 13px; font-family: inherit;
}
footer .foot-links a:hover,
footer .foot-links button:hover { color: var(--text-main); }

/* Nav sağ grup: nav-links (initAuthNav tarafından yönetiliyor) + İletişim
   butonu bir arada - İletişim butonu nav-links'in İÇİNE konmuyor, çünkü
   initAuthNav her auth değişiminde nav-links.innerHTML'i tamamen siliyor. */
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-iletisim {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
}
.nav-iletisim:hover { color: var(--text-main); border-color: rgba(15,23,42,0.25); }

/* İletişim modalı (Şarkı Öner modalıyla aynı .overlay/.panel tabanını
   kullanıyor - bkz. index.html - ama bu sayfaların çoğunda o taban yok,
   o yüzden burada paylaşılan halini tanımlıyoruz). */
.overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(10,14,22,0.55);
  z-index: 50; align-items: center; justify-content: center; padding: 20px;
}
.overlay.acik { display: flex; }
.panel {
  background: var(--bg-2); border-radius: 20px; padding: 24px;
  width: 100%; max-width: 420px; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(16,24,40,0.18);
}
.panel h3 { font-size: 17px; margin-bottom: 6px; }
.panel p.panel-aciklama { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.panel label { display: block; font-size: 12.5px; color: var(--text-muted); margin: 14px 0 6px; }
.panel label:first-of-type { margin-top: 0; }
.panel input, .panel select, .panel textarea {
  width: 100%; background: var(--input-bg); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 10px 12px; color: var(--text-main); font-size: 14px; font-family: inherit;
}
.panel-btn-satiri { display: flex; gap: 10px; margin-top: 20px; }
.panel-btn-satiri button { flex: 1; padding: 12px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; }
.panel-kaydet { background: var(--accent); color: #fff; }
.panel-iptal { background: var(--input-bg); color: var(--text-muted); }
.panel-kaydet:disabled { opacity: 0.6; cursor: default; }

/* Honeypot - botlar için görünür/erişilebilir, gerçek kullanıcılar hiç
   görmüyor (bkz. contact-modal.js + firestore.rules). */
.honeypot-alani { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
