/* Home hub page */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 228, 220, 0.8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

.nav-logo .flags { font-size: 1.25rem; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-toggle { display: flex; gap: 4px; background: var(--color-bg-elevated); padding: 4px; border-radius: var(--radius-full); border: 1px solid var(--color-border); }

.lang-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.lang-btn.active {
  background: var(--color-primary);
  color: white;
}

.hero {
  position: relative;
  min-height: 100vh;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background: url('/images/florida.webp') center / cover no-repeat;
  filter: brightness(0.75) saturate(1.1);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(15, 41, 34, 0.92) 0%, rgba(15, 41, 34, 0.65) 42%, rgba(15, 41, 34, 0.2) 68%, transparent 100%),
    linear-gradient(to top, rgba(15, 41, 34, 0.5) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  padding: var(--space-12) var(--space-10);
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  color: var(--color-text-inverse);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.hero h1 em {
  font-style: italic;
  color: #e8a87c;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-inverse-muted);
  max-width: 440px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
}

.city-list-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-3);
}

.city-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: all var(--duration-normal) var(--ease);
}

a.city-item { cursor: pointer; }
a.city-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(6px);
}

html[dir="rtl"] a.city-item:hover { transform: translateX(-6px); }

.city-item.live {
  border-color: rgba(232, 168, 124, 0.35);
  background: rgba(212, 100, 58, 0.12);
}

.city-item.live:hover {
  background: rgba(212, 100, 58, 0.2);
  border-color: rgba(232, 168, 124, 0.5);
}

.city-item.disabled { opacity: 0.45; pointer-events: none; }

.city-emoji { font-size: 1.25rem; flex-shrink: 0; }

.city-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: white;
}

.city-region {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.city-badge {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.badge-live { background: #e8a87c; color: var(--color-bg-dark); }
.badge-soon { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); }

.city-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.city-info { flex: 1; min-width: 0; }

/* Map pins */
.map-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: all;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin:hover { transform: translate(-50%, -100%) scale(1.25); z-index: 10; }

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  position: relative;
}

.pin-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
}

.pin.live .pin-dot { background: var(--color-accent-pale); }
.pin.live .pin-dot::after {
  border-color: var(--color-accent-pale);
  animation: pinPulse 2s infinite;
}

.pin.soon .pin-dot { background: rgba(255, 255, 255, 0.5); }

@keyframes pinPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0; transform: scale(2.2); }
}

.pin-label {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pin.live .pin-label { background: var(--color-bg-dark); color: white; }
.pin.soon .pin-label {
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.map-tooltip {
  position: fixed;
  background: var(--color-bg-dark);
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast);
  white-space: nowrap;
  z-index: 200;
  box-shadow: var(--shadow-md);
}

.map-tooltip.visible { opacity: 1; }

html[lang="he"] body,
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3,
html[lang="he"] .hero-badge, html[lang="he"] .lang-btn,
html[lang="he"] .city-name, html[lang="he"] .city-badge,
html[lang="he"] .nav-logo {
  font-family: var(--font-hebrew);
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .nav { padding: 0 var(--space-5); }
  .hero-content { padding: var(--space-8) var(--space-5); }
  .city-list { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.25rem; }
  .map-pins { display: none; }
}
