/* =========================
   BASE RESET
   (Tüm sayfalarda geçerli — sayfa CSS'lerinde tekrar yazmaya gerek yok)
========================= */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: #0a0a0f;
  color: #fff;
  min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 44px;
  height: 62px;

  background: rgba(7,7,9,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 1px 0 0 rgba(201,168,76,0.08),
    0 4px 24px rgba(0,0,0,0.35);

  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ── Logo ── */
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f0eee8;
  position: relative;
  user-select: none;
  flex-shrink: 0;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, #c9a84c, transparent);
  border-radius: 2px;
  opacity: 0.7;
}

/* ── Nav Right ── */
.navbar > div:last-child {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ── Anamenü Button ── */
.home-btn {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;

  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(240,238,232,0.65);
  letter-spacing: 0.01em;

  white-space: nowrap;
  transition: all 0.2s ease;

  /* Minimum dokunma hedefi */
  min-height: 36px;
  min-width: 44px;
}

.home-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  color: #f0eee8;
  transform: translateY(-1px);
}

.home-btn:active {
  transform: translateY(0);
}

/* ── Tag chips ── */
.tag-chip {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(240,238,232,0.45);
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.tag-chip:hover {
  border-color: rgba(201,168,76,0.5);
  color: #c9a84c;
  background: rgba(201,168,76,0.06);
}

.tag-chip.selected {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.5);
  color: #c9a84c;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   NAVBAR — RESPONSIVE
══════════════════════════════════════════════ */

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    height: 56px;
  }

  .logo {
    font-size: 15px;
  }

  .home-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ── Mobil (≤480px) ── */
@media (max-width: 480px) {
  .navbar {
    padding: 0 14px;
    height: 52px;
  }

  .logo {
    font-size: 14px;
  }

  .home-btn .home-btn-label {
    display: none;
  }

  .home-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .profile-avatar-img {
    width: 30px !important;
    height: 30px !important;
  }
}
