.gallery-grid-page,
.things-grid-page {
  background: linear-gradient(180deg, #fffaf1 0%, #fff3df 100%);
  padding: 60px 0;
}

.gallery-grid-page .section-intro,
.things-grid-page .section-intro {
  max-width: 820px;
  margin: 14px auto 0;
  text-align: center;
  color: #6d4b30;
  font-size: 17px;
  line-height: 1.8;
}

.gallery-grid-page h1,
.things-grid-page h1 {
  font-family: "Montserrat", Georgia, serif;
  font-weight: 400;
  color: #1a3c2e;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0 auto;
}

.gallery-grid-page h1 span,
.things-grid-page h1 span {
  color: #4a7c5a;
  font-style: italic;
}

.gallery-grid-page .gallery-images,
.things-grid-page .gallery-images {
  display: flex;
  flex-direction: column;
}

.gallery-grid-page .gallery-images > div,
.things-grid-page .gallery-images > div {
  background: linear-gradient(180deg, #2a1206 0%, #150a04 100%);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-grid-page .gallery-images > div:hover,
.things-grid-page .gallery-images > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(90, 37, 8, 0.16);
}

.gallery-grid-page .gallery-images img,
.things-grid-page .gallery-images img {
  width: 100% !important;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.things-grid-page .gallery-images h4 {
  margin-bottom: 0;
  color: #ff6700;
  font-size: 18px;
  line-height: 1.45;
  text-align: left;
  font-weight: 600;
}

.things-grid-page .activity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  margin-top: 14px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff4df;
  font-size: 12px !important;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gallery-grid-page video {
  border-radius: 18px !important;
  box-shadow: 0 18px 34px rgba(90, 37, 8, 0.12);
}

.modal {
  display: none;
  position: fixed;
  z-index: 99999999999 !important;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background-color: #fff9ef;
  margin: 50px auto;
  padding: 0;
  width: 60%;
  max-width: 920px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.close {
  position: absolute;
  top: 12px;
  right: 24px;
  opacity: 1 !important;
  color: #fff !important;
  font-size: 35px !important;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white !important;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff !important;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 10px 14px;
  position: absolute;
  top: 0;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.gallery-images h4,
.mySlides h4 {
  text-align: center;
  font-weight: 600;
  color: #ff6700;
}

@media screen and (max-width: 992px) {
  .modal-content {
    width: 84%;
  }
}

@media screen and (max-width: 768px) {
  .gallery-grid-page,
  .things-grid-page {
    padding: 40px 0;
  }

  .gallery-grid-page .section-intro,
  .things-grid-page .section-intro {
    font-size: 15px;
    line-height: 1.7;
  }

  .gallery-grid-page .gallery-images img,
  .things-grid-page .gallery-images img {
    height: 220px;
  }

  .things-grid-page .gallery-images h4 {
    font-size: 17px;
  }

  .gallery-grid-page .gallery-images,
  .things-grid-page .gallery-images {
    padding-bottom: 20px !important;
  }

  .things-grid-page .activity-pill {
    font-size: 11px;
    padding: 8px 12px;
  }

  .modal-content {
    width: 92%;
    margin: 70px auto 30px;
  }
}
