/* Basic page setup */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
  color: #111111;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 60px;
}

h1 {
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 2rem;
}

.tagline {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* Section headings */
h2 {
  font-weight: 400;
  margin: 60px 0 25px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: #222;
}

/* Optional subtle section divider */
section {
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Image styling */
.gallery img {
  width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.top-nav {
  margin-top: 10px;
}

.top-nav a {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.top-nav a:hover {
  text-decoration: underline;
}

.gallery img:hover {
  transform: scale(0.97);
  opacity: 0.85;
}

/* Lightbox overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#lightbox.visible {
  display: flex;
  opacity: 1;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 4px;
  transition: opacity 0.25s ease;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 80px;
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.03em;
}

footer a {
  color: #555;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  body {
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.6rem;
  }
}

.about {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  padding-bottom: 60px;
}

.about p {
  margin-bottom: 20px;
}

.email {
  font-weight: 500;
  letter-spacing: 0.03em;
}
