/* ================================================
   photos.css — styles for photos.html only
   ================================================ */

/* ---- PAGE WRAPPER ---- */
.photos-page {
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0 16px;
}

/* ---- PAGE HEADER ---- */
.page-header {
  margin-bottom: 28px;
  border-bottom: 2px dashed #8aaa66;
  padding-bottom: 14px;
}

.page-title {
  font-family: 'Abril Fatface', serif;
  font-size: 32px;
  color: #3d5a20;
  margin-bottom: 6px;
}

.page-intro {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  color: #6a8a50;
}

/* ---- PHOTO GRID ---- */
.roll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

/* ---- INDIVIDUAL PHOTO ---- */
.photo-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f0e0;
  border: 6px solid #fff;
  outline: 1px solid #d0c8a8;
  aspect-ratio: 2/3;
  cursor: pointer;
}

/* real images — swap out .photo-placeholder for <img> */
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-wrap:hover img {
  transform: scale(1.04);
}

/* ---- PLACEHOLDER (remove once you add real photos) ---- */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, #dde8c0 0%, #e8d8b8 50%, #d0d8c0 100%);
  transition: transform 0.3s ease;
}

.photo-wrap:hover .photo-placeholder {
  transform: scale(1.04);
}

/* ---- HOVER CAPTION ---- */
.photo-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 254, 247, 0.92);
  font-family: 'Shadows Into Light', cursive;
  font-size: 14px;
  color: #3d5a20;
  padding: 6px 8px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-top: 1px dashed #b5c99a;
}

.photo-wrap:hover .photo-hover {
  opacity: 1;
}

/* ---- PHOTO NOTE (caption below) ---- */
.photo-note {
  font-family: 'Shadows Into Light', cursive;
  font-size: 14px;
  color: #6a6a5a;
  line-height: 1.4;
  padding: 0 2px;
}