/* Colors */
:root {
  --bg: #0a0a0a;
  --bg-light: #141414;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #8bc34a;
  --accent-hover: #9ccc65;
}

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

/* Base */
html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* Header - minimal */
.site-header {
  padding: 2rem;
  text-align: center;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Main content */
.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

/* Hero - full width background */
.hero {
  height: 70vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2rem -1rem 3rem;
  width: calc(100% + 2rem);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-overlay {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Section titles */
.page h1,
.list-page h1 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Page content */
.page {
  max-width: 700px;
  margin: 0 auto;
}

.page-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.page-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.page-content a {
  border-bottom: 1px solid var(--accent);
}

/* Gallery - masonry-style justified grid */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2rem 0;
}

.gallery-item {
  flex-grow: 1;
  height: 200px;
  min-width: 150px;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
  opacity: 0.9;
}

.gallery-item:hover img {
  transform: scale(1.02);
  opacity: 1;
}

/* Gallery section headers */
.photography-section {
  margin-bottom: 4rem;
}

.photography-section h2 {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bg-light);
}

/* Intro text */
.intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  padding: 2rem;
  transition: color 0.2s;
}

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

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* About page */
.about-intro {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.about-image {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.about-bio h2 {
  margin-top: 0;
}

.about-bio p {
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 700px) {
  .about-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    width: 200px;
    height: 250px;
  }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .gallery-item {
    height: 150px;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    height: 120px;
    min-width: 100px;
  }
}
