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

body {
  background-color: #0b0c10;
  color: #e5e5e5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.site-header {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.brand-title {
  font-size: 1.85rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.brand-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #888888;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #a0a0a0;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.filter-btn.active {
  background: #ffffff;
  color: #0b0c10;
  border-color: #ffffff;
  font-weight: 500;
}

.gallery-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  background-color: #15161c;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 1.25rem 1rem 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
}

.card-category {
  font-size: 0.72rem;
  color: #9aa0a6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scroll-sentinel {
  height: 40px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 6, 8, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1001;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-info {
  margin-top: 1rem;
  text-align: center;
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.lightbox-exif {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #8c939d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

.lightbox-exif span {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  font-size: 2rem;
  padding: 1rem;
  z-index: 1002;
}

.lightbox-close:hover, .lightbox-nav:hover {
  opacity: 1;
}

.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 2.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
