/* Base body */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #0f1115;
  color: #eaeaea;
}

/* Header */
.hero {
  text-align: center;
  padding: 60px 20px 30px;
}

h1 {
  font-weight: 500;
  letter-spacing: 3px;
  margin: 0;
}

.subtitle {
  margin-top: 10px;
  opacity: 0.6;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 30px auto 0;
}

/* Gallery grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
}

/* Card styling */
.card {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    0 1px 0 rgba(255,255,255,0.05) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.5),
    0 1px 0 rgba(255,255,255,0.07) inset;
}

.card img {
  width: 100%;
  display: block;
}

.card .date {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 13px;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 6px;
}

.card.multi::after {
  content: "▣";
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 18px;
  opacity: 0.8;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.hidden { display: none; }

#close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
}
