body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 5rem;
  text-align: center;
  margin: 0 auto;
}

p {
  font-size: 1.2rem;
  max-width: 600ch;
  text-align: center;
  margin: 0 auto;
}
:root {
  --bg: #0b1020;
  --fg: #e6e8ef;
  --muted: #9aa4c7;
  --accent: #7aa2f7;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  text-align: center;
  margin: 0 auto;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 1.5em;
}

header {
  padding: 3rem 1.5rem;
  max-width: 2000px;
  text-align: center;
  margin: 0 auto;
}

header h1 {
  margin: 0 auto;
  font-size: 5rem;
  text-align: center;
}

.subtitle {
  text-align: center;
  margin: 0 auto;
  color: var(--muted);
}

main {
  text-align: center;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 3vw, 1.5rem) 3rem;
}

section {
  margin-bottom: 3rem;
  text-align: center;
}

h2 {
  text-align: center;
  color: var(--accent);
  margin: 0 auto;
}

img {
  max-width: 100%;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 5rem;
}
.photo {
  display: block;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
}
.photo-hero {
  max-width: 400px;   
  margin: 0 auto;
}
.photo-full {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.hero {
  width: 100%;
  max-width: 100vw;
  height: auto;
  display: block;
  margin: 0 auto;
}


.gallery {
  column-count: 2;
  column-gap: 16px;
 }

@media (min-width: 900px) {
  .gallery {
    column-count: 3;
  }
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms ease, visibility 0ms linear 500ms;
  will-change: opacity;
  transform: translateZ(0);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 500ms ease;
  }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  will-change: transform, opacity;
  transform: translateZ(0);
  position: relative;
  z-index: 1;
  cursor: zoom-out;
  object-fit:contain;
}

/*/ .lightbox.open img {
  transform: translateY(0) scale(1);
  opacity: 1;
} /*/

.lightbox-close {
  display: none; 
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 32px;
  z-index: 100001
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
}
