/* ============================================
   POG SUMMERS — Dark Gallery Theme
   ============================================ */

:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #232323;
  --bg-tertiary: #2a2a2a;
  --text-primary: #e0e0e0;
  --text-secondary: #999;
  --text-muted: #666;
  --accent: #c4a35a;
  --accent-hover: #d4b76a;
  --border: #333;
  --overlay-bg: rgba(0, 0, 0, 0.92);
  --max-width: 1200px;
  --nav-height: 56px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   Navigation
   ============================================ */

.navbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: var(--nav-height);
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  white-space: nowrap;
}

.navbar-brand:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links li a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: var(--accent);
  background: var(--bg-tertiary);
}

/* Hamburger toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--text-primary);
  height: 2px;
  width: 24px;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

/* ============================================
   Main content
   ============================================ */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  flex: 1;
  width: 100%;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

h1 { font-size: 1.8rem; margin-bottom: 1rem; }
h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

.sold-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  background: #c33;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 0.15em;
}

/* ============================================
   Home / hero
   ============================================ */

.hero {
  text-align: center;
  padding: 3rem 0;
}

.hero img {
  margin: 0 auto 2rem;
  max-width: 430px;
}

.hero h1 {
  font-size: 2.4rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.hero-text p { font-size: 0.95rem; }

/* ============================================
   About page
   ============================================ */

.about-content {
  max-width: 700px;
}

.about-content h1 {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.about-content .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about-content h3 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* ============================================
   Gallery grid
   ============================================ */

.gallery-intro {
  max-width: 700px;
  margin-bottom: 2rem;
}

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

.gallery-grid a {
  display: block;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: 2px;
}

.gallery-grid a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.2s;
}

.gallery-grid a:hover img { opacity: 0.8; }

/* ============================================
   CSS-only lightbox
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-title {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  font-size: 1.5rem;
  color: var(--text-secondary);
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.lightbox-close:hover { color: var(--text-primary); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--text-secondary);
  padding: 1rem;
  z-index: 210;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--text-primary); }

/* Full-screen close backdrop */
.lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  .nav-links li a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 4px;
  }

  .lightbox-prev { left: 0.25rem; font-size: 1.5rem; }
  .lightbox-next { right: 0.25rem; font-size: 1.5rem; }

  .hero h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 3px;
  }

  main { padding: 1.5rem 1rem 3rem; }
}
