:root {
  --milan-red: #d81e2c;
  --milan-red-dark: #8f0f19;
  --milan-black: #0a0a0a;
  --milan-gold: #d4af37;
  --surface: rgba(20, 20, 20, 0.55);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-dim: rgba(245, 245, 245, 0.6);
  --nav-height: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  font-family: "Cairo", "Tahoma", system-ui, sans-serif;
}

/* ===== خلفية موحّدة لكل صفحات الموقع ===== */
html {
  background-color: var(--milan-black);
  background-image: url("../assets/img/bg-hero.jpg?v=2");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (min-width: 900px) {
  html {
    background-attachment: fixed;
  }
}

body {
  padding-bottom: var(--nav-height);
}

.stage {
  width: 100%;
  height: 100%;
}

/* ===== شريط التنقل السفلي (زجاجي شفاف) ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--nav-height);
  padding-bottom: env(safe-area-inset-bottom);

  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  justify-content: center;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 11px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item:active {
  transform: scale(0.92);
}

.nav-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-item.active {
  color: var(--text);
}

.nav-item.active .nav-icon {
  fill: var(--milan-red);
  filter: drop-shadow(0 0 6px rgba(216, 30, 44, 0.7));
}
