/* Gallery page styles */

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

@font-face {
  font-family: 'Montserrat-Bold';
  src: url('Fonts/montserrat-bold.ttf') format('truetype');
}

body {
  background-color: #030810;
  color: #fff;
  font-family: 'Montserrat', 'Montserrat-Bold', sans-serif;
  min-height: 100vh;
}

.gallery-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.back-btn:hover { color: #fff; }

.gallery-header {
  text-align: center;
  margin-bottom: 28px;
}

.gallery-title {
  font-family: 'Montserrat-Bold', 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

.gallery-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── HERO ── */
.hero-slot {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  margin-bottom: 20px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0d1117;
  cursor: pointer;
  position: relative;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-item:hover img { transform: scale(1.06); }

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.25);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 6px;
  object-fit: contain;
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  font-size: 32px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}

@media (max-width: 480px) {
  .gallery-title { font-size: 30px; }
  .hero-slot { height: 200px; }
  .photo-grid { gap: 5px; }
}
