/* ============================================================
   BELKTRO — PUBLIC SITE LIGHT TEMA
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --primary:   #2563eb;
  --primary-h: #1d4ed8;
  --ok:        #16a34a;
  --danger:    #dc2626;
  --warn:      #d97706;
  --bg:        #f1f5f9;
  --surface:   #ffffff;
  --border:    #e2e8f0;
  --text:      #1e293b;
  --muted:     #64748b;
  --ff-head:   'Plus Jakarta Sans', sans-serif;
  --ff-body:   'Nunito', sans-serif;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 4px 16px rgba(0,0,0,.08);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--ff-body); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.7; min-height: 100vh; }
::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ── PAGE LAYOUTS ── */
.page-center { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; }
.page-narrow { width: 100%; max-width: 480px; }
.page-medium { width: 100%; max-width: 680px; }

/* ── HEADER ── */
.site-header {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm);
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.site-logo-text strong { font-family: var(--ff-head); font-size: 0.95rem; font-weight: 800; color: var(--text); display: block; }
.site-logo-text span { font-size: 0.68rem; color: var(--muted); }

/* ── CARDS ── */
.site-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.site-card-body { padding: 1.75rem 2rem; }
@media (max-width: 480px) { .site-card-body { padding: 1.25rem 1.25rem; } }

/* ── STATUS BANNER (firma profil) ── */
.status-banner { padding: 1.25rem 2rem; display: flex; align-items: center; gap: 14px; }
.status-banner.aktif { background: linear-gradient(100deg, #f0fdf4, #f8fafc); border-bottom: 1px solid #bbf7d0; }
.status-banner.pasif { background: linear-gradient(100deg, #fef2f2, #f8fafc); border-bottom: 1px solid #fecaca; }
.firma-logo-wrap { width: 68px; height: 68px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f8fafc; }
.firma-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.firma-harf { font-family: var(--ff-head); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.status-badge.aktif { background: #dcfce7; color: var(--ok); border: 1px solid #bbf7d0; }
.status-badge.pasif { background: #fee2e2; color: var(--danger); border: 1px solid #fecaca; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,.5)} 70%{box-shadow:0 0 0 7px rgba(22,163,74,0)} }

/* ── INFO ROWS ── */
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.info-row:last-child { border-bottom: none; }
.info-icon { width: 34px; height: 34px; border-radius: 8px; background: #eff6ff; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; flex-shrink: 0; }
.info-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 700; }
.info-value { font-size: 0.92rem; color: var(--text); margin-top: 1px; }
.info-value a { color: var(--primary); text-decoration: none; } .info-value a:hover { text-decoration: underline; }

/* ── SECTION TITLE ── */
.section-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 6px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── SOSYAL MEDYA BUTONLARI ── */
.sosyal-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); font-size: 0.82rem; text-decoration: none; transition: all 0.15s; background: #f8fafc; }
.sosyal-btn:hover { border-color: var(--primary); color: var(--primary); background: #eff6ff; }

/* ── PAYLAŞIM BUTONLARI ── */
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 0.83rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.15s; text-decoration: none; }
.share-btn.whatsapp { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.share-btn.facebook { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.share-btn.copy     { background: #f8fafc; color: var(--muted); border: 1px solid var(--border); }
.share-btn:hover { filter: brightness(0.95); transform: translateY(-1px); }

/* ── GERİ BİLDİRİM YILDIZLAR ── */
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input[type=radio] { display: none; }
.stars-input label { cursor: pointer; font-size: 1.6rem; color: #e2e8f0; transition: color 0.15s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--warn); }

/* ── FORM ELEMANLARI ── */
.form-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 5px; display: block; }
.form-control, .form-select { border-radius: var(--radius-sm) !important; border-color: var(--border) !important; font-size: 0.9rem !important; font-family: var(--ff-body) !important; color: var(--text) !important; }
.form-control:focus, .form-select:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(37,99,235,.1) !important; }
.input-group-text { background: #f8fafc !important; border-color: var(--border) !important; color: var(--muted) !important; border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; }
.input-group .form-control { border-left: none !important; border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }

/* ── BUTONLAR ── */
.btn { font-family: var(--ff-body) !important; font-weight: 600 !important; border-radius: var(--radius-sm) !important; transition: all 0.15s !important; }
.btn-primary { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.btn-primary:hover { background: var(--primary-h) !important; box-shadow: 0 4px 12px rgba(37,99,235,.3) !important; }
.btn-outline-secondary { border-color: var(--border) !important; color: var(--muted) !important; }
.btn-outline-secondary:hover { background: var(--bg) !important; color: var(--text) !important; }

/* ── LOGIN SAYFASI ── */
.login-logo { width: 62px; height: 62px; background: var(--primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; margin: 0 auto 1.2rem; box-shadow: 0 6px 20px rgba(37,99,235,.28); }
.login-title { font-family: var(--ff-head); font-size: 1.35rem; font-weight: 800; color: var(--text); text-align: center; margin-bottom: 4px; }
.login-sub { text-align: center; color: var(--muted); font-size: 0.83rem; margin-bottom: 1.5rem; }
.pwd-wrap { position: relative; }
.pwd-wrap .form-control { padding-right: 42px !important; }
.show-pwd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #94a3b8; font-size: 1rem; z-index: 5; padding: 0; transition: color .15s; }
.show-pwd:hover { color: var(--primary); }

/* ── QUERY PAGE (index.php) ── */
.query-card { max-width: 480px; width: 100%; }
.query-icon { width: 58px; height: 58px; background: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; margin: 0 auto 1rem; }
.uye-no-input { font-size: 1.05rem !important; height: 52px; letter-spacing: 0.05em; }

/* ── NOT FOUND ── */
.nf-icon { width: 80px; height: 80px; border-radius: 50%; background: #fef2f2; border: 1px solid #fecaca; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--danger); margin: 0 auto 1.25rem; }

/* ── FOOTER ── */
.site-footer { text-align: center; color: var(--muted); font-size: 0.78rem; padding: 1.5rem 0 0.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; } .site-footer a:hover { color: var(--primary); }

/* ── BADGE ── */
.badge { border-radius: 6px !important; font-size: 0.7rem !important; font-weight: 700 !important; }
.text-muted { color: var(--muted) !important; }
hr { border-color: var(--border) !important; }
code { background: #f1f5f9; color: #1e40af; padding: 1px 6px; border-radius: 4px; font-size: 0.85em; }

/* ── HARITA ── */
.map-wrap { height: 200px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); margin-top: 1rem; }

/* ── ALERTler ── */
.alert { border-radius: var(--radius-sm) !important; font-size: 0.875rem !important; }
.alert-success { background:#f0fdf4!important;border-color:#bbf7d0!important;color:#166534!important; }
.alert-danger  { background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important; }
.alert-info    { background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important; }
