/* ── SHARED NAV + FOOTER (single source of truth) ──
   Loaded via includes/head.php on every public page, so the nav/footer
   CSS lives in exactly ONE place. Do NOT copy these rules into per-page
   <style> blocks or into style.css — edit them here only.

   Nav uses var(--brand) (canonical accent). Pages that do NOT load
   style.css (sartnameler, sartname, kesif-olustur, kesfim) must define
   --brand in their inline :root (they already define --danger:#1F4E79).

   Footer uses explicit Friendly hex values (not var(--text)/var(--muted)/
   var(--border)) so embedded dark-theme <style> blocks in DB content
   (makaleler/sartnameler) cannot override it via global :root variables. */

/* ── NAVBAR ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding:0 60px; height:64px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-hex { width:26px; height:26px; background:var(--rose); border-radius:8px; }
.nav-name { font-family:'Archivo', sans-serif; font-size:20px; font-weight:600; color:var(--text); text-transform:uppercase; letter-spacing:1px; }
.nav-name b { color:var(--brand); }
.nav-links { display:flex; align-items:center; gap:20px; list-style:none; }
.nav-links a { font-size:13px; font-weight:500; color:var(--muted); text-decoration:none; transition:color 0.2s; white-space:nowrap; }
.nav-links a:hover { color:var(--text); }
.nav-links a.nav-active { color:var(--brand); font-weight:600; }
.nav-cta { background:var(--text); color:var(--surface) !important; padding:8px 20px !important; font-weight:600 !important; letter-spacing:1px !important; text-transform:uppercase !important; font-size:13px !important; border-radius:var(--radius-sm) !important; transition:background 0.2s !important; }
.nav-cta:hover { background:var(--rose) !important; color:var(--text) !important; }

/* Hamburger */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { width:24px; height:2px; background:var(--text); transition:all 0.3s; display:block; }

/* Navbar arama butonu */
.nav-arama {
  font-size:13px !important;
  color:var(--muted) !important;
  padding:4px 8px !important;
  text-decoration:none;
  transition:color 0.2s;
}
.nav-arama:hover { color:var(--brand) !important; }

/* ── FOOTER ── */
footer { background:#F6F4F1; border-top:1px solid #E5E1DB; padding:60px 60px 32px; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:60px; margin-bottom:48px; }
.footer-brand { display:flex; flex-direction:column; gap:16px; }
.footer-brand-logo { display:flex; align-items:center; gap:10px; }
.footer-hex { width:24px; height:24px; background:#E7EEF5; border-radius:var(--radius-sm); }
.footer-brand-name { font-family:'Archivo', sans-serif; font-size:20px; font-weight:600; color:#1C1B1A; text-transform:uppercase; }
.footer-brand-name b { color:#1F4E79; }
.footer-tagline { font-size:13px; color:#6E6A64; line-height:1.6; max-width:260px; }
.footer-socials { display:flex; gap:12px; margin-top:8px; }
.footer-social { width:36px; height:36px; background:#FFFFFF; border:1px solid #E5E1DB; border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-size:14px; text-decoration:none; transition:background 0.2s; }
.footer-social:hover { background:#E7EEF5; color:#1C1B1A; }
.footer-col h4 { font-family:'Archivo', sans-serif; font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:2px; color:#1C1B1A; margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col a { font-size:13px; color:#6E6A64; text-decoration:none; transition:color 0.2s; }
.footer-col a:hover { color:#1F4E79; }
.footer-bottom { padding-top:32px; border-top:1px solid #E5E1DB; display:flex; align-items:center; justify-content:space-between; font-size:12px; color:#6E6A64; }

/* ── MOBİL ── */
@media (max-width: 768px) {
  nav { padding:0 20px; }
  .hamburger { display:flex; }
  .nav-links { display:none; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:rgba(255,255,255,0.98); padding:16px 0; gap:0; border-bottom:1px solid var(--border); }
  .nav-links.open { display:flex; }
  .nav-links li { width:100%; }
  .nav-links a { padding:14px 24px; display:block; }
  .nav-links a.nav-arama,
  .nav-links a.nav-cta { padding:14px 24px !important; display:block; width:100%; box-sizing:border-box; }
  .nav-links a.nav-cta { background:transparent; color:var(--muted) !important; border-radius:0; text-transform:none; letter-spacing:normal; font-size:13px; font-weight:500; }
  .nav-links a.nav-cta:hover { background:transparent; color:var(--text) !important; }
  footer { padding:48px 24px 24px; }
  .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
  .footer-brand { grid-column:span 2; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns:1fr; }
  .footer-brand { grid-column:span 1; }
}
