/* ─── home.css ───────────────────────────────────────────── */
/* Homepage only — full screen painting                      */

html, body.home {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #0d1117;
}

/* Nav overlaid on the image */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: none;
  background: linear-gradient(to bottom, rgba(10,12,18,0.85) 0%, rgba(10,12,18,0.4) 60%, transparent 100%);
}

.home-nav .site-name {
  color: #f0f2f8;
  text-shadow: 0 1px 8px rgba(10,12,18,0.8);
}

.home-nav .nav-links a {
  color: rgba(240,242,248,0.85);
  text-shadow: 0 1px 8px rgba(10,12,18,0.8);
}

.home-nav .nav-links a:hover,
.home-nav .nav-links a.active {
  color: #f0f2f8;
}

/* Full screen image */
.hero-link {
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.4s;
}

.hero-link:hover .hero-img {
  opacity: 0.9;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .home-nav { padding: 1.5rem; }
  body.home { overflow: hidden; }
}