/* Nisha Tours automatic dual-direction gallery */
.gallery-section{
  padding:86px 0 78px;
  overflow:hidden;
  text-align:center;
  background:linear-gradient(rgba(251,249,244,.91),rgba(251,249,244,.95)),url('public/images/nisha-background-feature.png') center/cover no-repeat;
}
.gallery-heading{max-width:820px;padding:0 22px;margin:0 auto 34px}
.gallery-heading .eyebrow{margin-bottom:12px}
.gallery-heading h2{font-size:44px}
.gallery-heading>p:last-child{font-size:13px;line-height:1.8;color:#777267}
.gallery-marquee{width:100%;overflow:hidden;position:relative;margin:17px 0}
.gallery-marquee:before,.gallery-marquee:after{
  content:"";position:absolute;top:0;bottom:0;width:clamp(22px,6vw,85px);z-index:2;pointer-events:none
}
.gallery-marquee:before{left:0;background:linear-gradient(90deg,#f7f4ec,transparent)}
.gallery-marquee:after{right:0;background:linear-gradient(270deg,#f7f4ec,transparent)}
.gallery-track{
  display:flex;width:max-content;gap:16px;padding:5px 12px;
  will-change:transform;transform:translate3d(0,0,0);
}
.gallery-track.track-left{animation:gallery-train-left 58s linear infinite}
.gallery-track.track-right{animation:gallery-train-right 58s linear infinite}
.gallery-marquee:hover .gallery-track{animation-play-state:paused}
.gallery-photo{
  position:relative;display:block;flex:0 0 clamp(220px,25vw,330px);
  width:clamp(220px,25vw,330px);height:clamp(155px,17vw,215px);
  overflow:hidden;padding:0;border:1px solid rgba(164,138,91,.28);
  border-radius:13px;background:#e7dfd0;cursor:zoom-in;
  box-shadow:0 8px 23px rgba(49,44,35,.10);
}
.gallery-photo img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .55s ease,filter .55s ease;
}
.gallery-photo:hover img{transform:scale(1.07);filter:saturate(1.08)}
.gallery-photo:focus-visible{outline:3px solid #a98750;outline-offset:3px}
@keyframes gallery-train-left{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@keyframes gallery-train-right{
  from{transform:translate3d(-50%,0,0)}
  to{transform:translate3d(0,0,0)}
}
.gallery-load-status{padding:12px 20px;color:#777267;font-size:13px}
.gallery-link{margin-top:25px}
.gallery-lightbox{
  position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;
  padding:28px;background:rgba(18,20,19,.94)
}
.gallery-lightbox.is-open{display:flex}
.gallery-lightbox img{display:block;max-width:min(94vw,1500px);max-height:86vh;object-fit:contain;border-radius:6px;box-shadow:0 14px 55px #0008}
.gallery-lightbox-close{
  position:absolute;right:20px;top:12px;width:48px;height:48px;border:0;border-radius:50%;
  color:#fff;background:rgba(255,255,255,.12);font-size:32px;line-height:1;cursor:pointer
}
.gallery-lightbox-caption{position:absolute;bottom:15px;left:20px;right:20px;text-align:center;color:#eee;font-size:14px}
@media(max-width:700px){
  .gallery-section{padding:58px 0 55px}
  .gallery-heading h2{font-size:36px}
  .gallery-track{gap:11px}
  .gallery-track.track-left{animation-duration:43s}
  .gallery-track.track-right{animation-duration:43s}
  .gallery-photo{flex-basis:230px;width:230px;height:160px}
}
@media(prefers-reduced-motion:reduce){
  .gallery-track.track-left,.gallery-track.track-right{animation:none;transform:none}
  .gallery-photo img{transition:none}
}
