

.gallery {
  padding: 52px 0 95px;
}
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}
.flyer {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  padding: 0;
  border: 0;
  background: #e7dcc9;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 8px 22px #3b211610;
   border: 1px solid #641f24;
    outline: 1px solid #641f24;
    outline-offset: 4px;
     box-sizing: border-box;
  
}
.flyer:before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #b08a4545;
  z-index: 2;
  pointer-events: none;
}
.flyer img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s, filter 0.35s;

   
}
.flyer span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: white;
  font-size: 15px;
  letter-spacing: 0.16em;
  z-index: 3;
  transition: opacity 0.3s;
}
.flyer span:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #20101255;
  z-index: -1;
}
.flyer:hover img {
  transform: scale(1.035);
  filter: brightness(0.75);
}
.flyer:hover span {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  
  background: #160d0ef2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index:99999;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
   z-index:99999;
}
.lightbox img {
  max-width: min(75vw, 620px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 70px #0008;
    z-index:99999;
}
.lightbox button {
  position: absolute;
  border: 1px solid #ffffff55;
  background: #24171a;
  color: #f7ead3;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font: 30px/1 "Cormorant Garamond";
}
.close {
  top: 24px;
  right: 26px;
}
.prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}
.next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 1000px) {
  .flyer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .nav nav {
    display: none;
  }
  .nav nav.open {
    display: flex;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    padding: 24px;
    background: #28151a;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .menu {
    display: block;
  }
}
@media (max-width: 650px) {
  .container,
  .nav {
    width: calc(100% - 32px);
  }
  .nav {
    height: 76px;
  }
  .brand img {
    width: 120px;
  }
  .nav nav.open {
    top: 76px;
  }
  .hero {
    height: 320px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .gallery {
    padding: 28px 0 65px;
  }
  .flyer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
  .foot {
    flex-direction: column;
    gap: 4px;
  }
  .lightbox {
    padding: 22px;
  }
  .lightbox img {
    max-width: 88vw;
    max-height: 78vh;
  }
  .lightbox button {
    width: 37px;
    height: 37px;
  }
  .close {
    top: 12px;
    right: 12px;
  }
  .prev {
    left: 8px;
  }
  .next {
    right: 8px;
  }
}
