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

body {
  font-family: "Times New Roman", Times, serif;
  color: #111;
  background: #fff;
}

/* ── Hero ─────────────────────────────────────────── */

#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  cursor: pointer;
}

#heroImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#heroImage.loaded {
  opacity: 1;
}

/* ── Gallery ──────────────────────────────────────── */

#gallery {
  padding: 0 32px 48px;
}

#thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#thumbnails img {
  height: 80px;
  width: auto;
  display: block;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

#thumbnails img:hover {
  opacity: 1;
}

/* ── About ────────────────────────────────────────── */

#about {
  max-width: 640px;
  padding: 48px 32px 64px;
}

#about h1 {
  font-size: 2.4em;
  font-weight: normal;
  margin-bottom: 4px;
}

#about h2 {
  font-size: 1.1em;
  font-weight: normal;
  font-style: italic;
  margin-bottom: 24px;
  color: #555;
}

#about p {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ── Footer ───────────────────────────────────────── */

footer {
  text-align: center;
  padding: 32px;
  font-size: 0.8em;
  color: #999;
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 600px) {
  #hero {
    padding: 24px;
  }

  #gallery {
    padding: 0 12px 32px;
  }

  #thumbnails img {
    height: 56px;
  }

  #about {
    padding: 32px 16px 48px;
  }
}
