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

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --text: #e8e4df;
  --text-muted: #8a8580;
  --accent: #c9b99a;
  --font: 'EB Garamond', 'Georgia', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ---- Header / Nav ---- */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0));
  padding: 1.5rem 0;
  pointer-events: none;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.logo {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

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

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

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.05em;
}

/* ---- Gallery ---- */

.gallery {
  padding: 0 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.gallery-item {
  cursor: pointer;
  position: relative;
  line-height: 0;
}

.gallery-item img {
  display: block;
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.5s cubic-bezier(0.25, 0, 0.25, 1);
  filter: brightness(0.88);
}

.gallery-item:hover img {
  filter: brightness(1);
}

/* Landscape items center and constrain */
.gallery-row.landscape-row {
  justify-content: center;
}

.gallery-row.landscape-row .gallery-item img {
  max-width: 100%;
  max-height: 75vh;
}

/* Portrait items — centered, let image breathe */
.gallery-row .gallery-item img {
  max-height: 75vh;
  max-width: 100%;
}

/* ---- Contact ---- */

.contact {
  padding: 8rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.contact a {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.contact a:hover {
  border-bottom-color: var(--accent);
}

.contact p {
  margin-bottom: 0.5rem;
}

.contact p:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Footer ---- */

footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ---- Lightbox ---- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s, transform 0.4s;
}

.lightbox.active .lightbox-content img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
  font-family: var(--font);
}

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

.lightbox-close {
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 1rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .gallery {
    padding: 1rem 1rem 4rem;
  }

  .gallery-grid {
    gap: 3rem;
  }

  .gallery-row {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .gallery-row .gallery-item img,
  .gallery-row.landscape-row .gallery-item img {
    max-height: 60vh;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 0.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }

  .contact {
    padding: 5rem 1.5rem;
  }
}

/* ---- Fade-in animation ---- */

.gallery-row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.gallery-row.visible {
  opacity: 1;
  transform: translateY(0);
}
/* updated */
