/* ── nav.css — Shared navigation for Losujeme.cz ──────────────────────────
   Used by all SEO pages (loaded before seo-preview.css).
   Uses hardcoded values to avoid CSS variable conflicts.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Container ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top nav bar ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 18, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1f1f2e;
  padding: 13px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── Logo group: logo + history text inline ── */
.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  color: #e8e8f0;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover,
.nav-logo:visited {
  color: #e8e8f0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5c400, #ff9000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-logo-history {
  margin-left: 12px;
  font-size: 0.73rem;
  font-weight: 400;
  color: rgba(255, 212, 0, 0.50);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Top nav links ── */
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #9a8660;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #f5c400;
  text-decoration: none;
}

.nav-links a.is-active {
  color: #f5c400;
}

/* ── Data menu (SEO quicklinks) ── */
.data-menu {
  background: #0d0d12;
  border-bottom: 1px solid #1f1f2e;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.data-menu::-webkit-scrollbar {
  display: none;
}

.data-menu-inner {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.data-menu-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8080a0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.13s, border-color 0.13s, background 0.13s;
}

.data-menu-link:hover {
  color: #f5c400;
  border-color: rgba(245, 196, 0, 0.30);
  background: rgba(245, 196, 0, 0.05);
  text-decoration: none;
}

.data-menu-link.is-active {
  color: #f5c400;
  border-color: rgba(245, 196, 0, 0.45);
  background: rgba(245, 196, 0, 0.09);
  font-weight: 700;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-logo-history {
    display: none;
  }

  .nav-links {
    display: none !important;
  }

  .data-menu-inner {
    flex-wrap: nowrap;
  }
}
