:root {
  --bg: #0b0b0b;
  --panel: #0f0f0f;
  --muted: #9b9b9b;
  --accent: #26D07A; /* green */
  --white: #fff;
  --glass: rgba(255,255,255,0.04);
  --transition: 400ms cubic-bezier(.2,.9,.2,1);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Gallery-specific styles */
.section {
  padding: 80px 6vw;
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.gallery-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: left;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.thumb {
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 8px 26px rgba(0,0,0,0.6);
  transition: transform 350ms ease;
}

.thumb:hover {
  transform: translateY(-4px);
}

.thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.thumb:hover img {
  transform: scale(1.06) translateY(-6px);
}

.thumb figcaption {
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Search Container */
.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 6vw;
  display: flex;
  justify-content: center;
}

#search-box {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  width: 100%;
  max-width: 400px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

#search-box:focus {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(38,208,122,0.06);
}

#search-box::placeholder {
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 40px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.03);
  color: var(--muted);
  max-width: 1200px;
  margin: 0 auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(.995);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 4vw;
  }

  .search-container {
    padding: 20px 4vw;
  }

  #search-box {
    max-width: 100%;
  }
}