/* General */
body {
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  background-color: #f9f9f9;
  text-align: center;
}

/* Images */
img {
  transition: transform 0.2s;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
img:hover {
  transform: scale(1.05);
}

/* Header */
header {
  position: relative;
  height: 300px;
  color: white;
  background-size: cover;
  background-position: center;
}
header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
header h1, header p {
  position: relative;
  z-index: 1;
}

/* Back Button */
a.back {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  background: #007acc;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 15px 0;
  margin-top: 30px;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px;
}

/* Popup / Lightbox */
.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}
.popup img {
  max-width: 90%;
  max-height: 90%;
}
.close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
}
