/* ===== BODY ===== */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #0d0d0d;
  color: white;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: black;
}

.logo img {
  width: 120px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.nav-links a:hover {
  color: #d4af37;
}

/* ===== TITLE ===== */
.title {
  text-align: center;
  padding: 50px 20px 20px;
  font-size: 32px;
  letter-spacing: 1px;
}

/* ===== FILTER BUTTONS ===== */
.gallery-filter {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-filter button {
  background: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 8px 18px;
  margin: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-filter button:hover {
  background: #d4af37;
  color: black;
}

/* ===== GALLERY GRID ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px;
  padding: 0 40px 50px;
}

/* ===== ITEM ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 0;                 /* hidden at first */
  transform: scale(1.05);     /* slight zoom */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* HOVER ZOOM */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* OVERLAY TEXT */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #d4af37;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.lightbox span {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .gallery {
    padding: 0 15px 40px;
  }

  .gallery-item img {
    height: 200px;
  }
}
