/* General Styling */
:root { --bg:#f6f6f6; --card:#fff; --text:#111; --muted:#666; --border:#e7e7e7; --r:16px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; color: var(--text); background: var(--bg); }
.container { max-width: 900px; margin: 0 auto; padding: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

/* Simple top nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.brand { font-weight: 800; letter-spacing: .2px; }
.links { display: flex; gap: 10px; flex-wrap: wrap; }
.links a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
}
.links a:hover { background: #f0f0f0; }
.links a.active { background: #111; color: white; border-color: #111; }

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
h1 { margin: 0; font-size: clamp(1.4rem, 3.5vw, 2.1rem); letter-spacing: .2px; }
p { margin: 8px 0 12px; line-height: 1.55; color: var(--muted); }

button {
  border: 1px solid var(--border);
  background: white;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
}
button:hover { background: #f0f0f0; }

.footer { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* VIDEO HERO */
.video-wrap {
  position: relative;
  width: 100%;
  height: min(420px, 60vh);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sound toggle overlay */
.unmute {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .95rem;
}
.unmute:hover { background: white; }

/* Photos grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.photo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.photo-card .cap {
  padding: 10px 12px;
  color: #333;
}
.photo-card .cap small { color: var(--muted); }

/* =========================
   Fullscreen Lightbox Viewer
   ========================= */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* show the entire photo */
  border-radius: 10px;
}