body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #fff;
  color: #111;
}
.navbar {
  background-color: #fff;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.navbar .logo {
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.navbar .links a {
  color: #555;
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.9rem;
  transition: 0.3s;
}
.navbar a.active {
  color: #000;
  font-weight: 600;
  border-bottom: 2px solid #000;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  grid-auto-flow: dense;
}

.photo-card {
  overflow: hidden;
  border-radius: 12px;
}

.photo-card img {
  width: 100%;
  height: 580px; /* key balance point */
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.photo-title {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #444;
  text-align: center;
}
.photo-card:hover img {
  transform: scale(1.01);
}

@media (max-width: 1200px) {
  .photo-card img {
    height: 740px;
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .photo-card img {
    height: 180px;
  }
}

@media (max-width: 400px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: auto;
  }
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  cursor: pointer;
}
