/* =========================================================
   PRANAVEE HOMESTAY — GALLERY PAGE
   Visual language follows the supplied mockup.
   ========================================================= */
.gallery-page{background:#fbfcfa;color:#15251e}
.gallery-page .site-nav{background:rgba(255,255,255,.97);box-shadow:0 3px 24px rgba(0,0,0,.05)}

/* HERO */
.gallery-hero{position:relative;height:560px;min-height:560px;overflow:hidden;color:#fff;isolation:isolate}
.hero-slides,.hero-slide,.hero-slide img{position:absolute;inset:0;width:100%;height:100%}
.hero-slide{opacity:0;visibility:hidden;transform:scale(1.03);transition:opacity .75s ease,visibility .75s ease,transform 6s ease}
.hero-slide.active{opacity:1;visibility:visible;transform:scale(1.08)}
.hero-slide img{object-fit:cover;object-position:center}
.hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,22,13,.82),rgba(0,30,18,.48) 45%,rgba(0,18,10,.12)),linear-gradient(0deg,rgba(0,20,12,.55),transparent 50%)}
.hero-inner{position:relative;z-index:3;height:100%;display:flex;align-items:center}
.hero-copy{max-width:610px;margin-top:35px}
.script-title{font-family:'Nothing You Could Do',cursive;font-size:32px;margin:30px 0 -4px;color:#fff}
.hero-copy h1{font-family:var(--serif,'Cormorant Garamond',serif);font-size:clamp(56px,6vw,86px);line-height:.86;letter-spacing:-2px;margin:0 0 22px;color:#fff;font-weight:700}
.hero-copy h1 span{color:#f4f5ef}
.hero-copy>p:not(.script-title){max-width:560px;color:rgba(255,255,255,.88);font-size:15px;line-height:1.55;margin:0 0 25px}
.hero-btn{border-radius:999px;background:#08723c;color:#fff;border:1px solid rgba(255,255,255,.4);padding:11px 21px;font-weight:700;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.hero-btn:hover{background:#fff;color:#075f2c}
.hero-arrow{position:absolute;top:50%;z-index:5;width:50px;height:50px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(0,0,0,.12);backdrop-filter:blur(7px);color:#fff;display:grid;place-items:center;cursor:pointer;transform:translateY(-50%);transition:.3s}
.hero-arrow:hover{background:#fff;color:#075f2c;transform:translateY(-50%) scale(1.08)}
.hero-prev{left:24px}.hero-next{right:24px}
.hero-dots{position:absolute;left:50%;bottom:22px;z-index:5;display:flex;gap:8px;transform:translateX(-50%)}
.hero-dot{width:9px;height:9px;border:1px solid rgba(255,255,255,.9);border-radius:50%;padding:0;background:transparent;cursor:pointer;transition:.3s}
.hero-dot.active{background:#fff;box-shadow:0 0 0 3px rgba(154,203,37,.25);transform:scale(1.12)}

/* PHOTO SECTION */
.photo-section{background:#fbfcfa}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.4px;color:#07602e;display:flex;align-items:center;gap:10px;margin-bottom:5px}
.eyebrow span{display:inline-block;width:27px;height:1px;background:#07602e}
.section-head h2{font-family:var(--serif,'Cormorant Garamond',serif);font-size:clamp(42px,4vw,62px);line-height:.9;letter-spacing:-1px;margin:0 0 10px;color:#10271e}

.gallery-tabs{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.gallery-tab{border:0;background:#edf5e9;color:#193126;border-radius:999px;padding:9px 21px;font-size:11px;font-weight:700;cursor:pointer;transition:.3s}
.gallery-tab:hover,.gallery-tab.active{background:#08723c;color:#fff;transform:translateY(-2px)}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:10px}
.gallery-card{position:relative;display:block;overflow:hidden;padding:0;border:0;border-radius:7px;background:#ddd;cursor:pointer;min-width:0}
.gallery-card.card-wide{grid-column:span 2}.gallery-card.card-tall{grid-row:span 2}
.gallery-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.gallery-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,25,15,.72));opacity:.55;transition:.35s}
.gallery-card:hover img{transform:scale(1.07)}.gallery-card:hover:after{opacity:1}
.card-caption{position:absolute;left:16px;right:16px;bottom:13px;z-index:2;display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:11px;font-weight:700;opacity:0;transform:translateY(8px);transition:.35s}
.gallery-card:hover .card-caption{opacity:1;transform:none}.card-caption i{width:29px;height:29px;border:1px solid rgba(255,255,255,.6);border-radius:50%;display:grid;place-items:center}
.gallery-card.is-hidden{display:none}

/* IMAGE LIGHTBOX */
.image-lightbox{position:fixed;inset:0;z-index:3000;background:rgba(0,15,10,.94);display:flex;align-items:center;justify-content:center;padding:45px;opacity:0;visibility:hidden;transition:.3s}
.image-lightbox.open{opacity:1;visibility:visible}
.image-lightbox figure{margin:0;max-width:min(1120px,88vw);max-height:88vh;text-align:center}
.image-lightbox img{display:block;max-width:100%;max-height:78vh;border-radius:10px;box-shadow:0 25px 80px rgba(0,0,0,.5)}
.image-lightbox figcaption{margin-top:11px;color:#fff;font-size:13px}
.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;width:45px;height:45px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;cursor:pointer;transition:.3s}
.lightbox-close{right:22px;top:20px}.lightbox-prev{left:22px;top:50%;transform:translateY(-50%)}.lightbox-next{right:22px;top:50%;transform:translateY(-50%)}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:#fff;color:#075f2c}.lightbox-counter{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);color:rgba(255,255,255,.75);font-size:11px}





/* ANIMATION */
.gallery-card,.video-card,.cta-panel{animation:galleryRise .7s ease both}.gallery-card:nth-child(2){animation-delay:.05s}.gallery-card:nth-child(3){animation-delay:.1s}.gallery-card:nth-child(4){animation-delay:.15s}.gallery-card:nth-child(5){animation-delay:.2s}.gallery-card:nth-child(6){animation-delay:.25s}
@keyframes galleryRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hero-slide,.gallery-card img,.video-thumb img{transition:none}.gallery-card,.video-card,.cta-panel{animation:none}}

/* RESPONSIVE */
@media(max-width:991.98px){.gallery-hero{height:560px}.section-head{display:block}.gallery-tabs{justify-content:flex-start;margin-top:22px}.gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:230px}.gallery-card.card-wide{grid-column:span 2}.video-grid{grid-template-columns:1fr}.cta-panel{grid-template-columns:1fr 1.6fr auto}.footer-grid{grid-template-columns:1fr 1fr}.footer-tagline{text-align:left}}
@media(max-width:767.98px){.gallery-hero{height:650px;min-height:650px}.hero-inner{align-items:center}.hero-copy{margin-top:55px;padding:0 20px}.hero-copy h1{font-size:55px;letter-spacing:-1px}.hero-copy>p:not(.script-title){font-size:14px}.hero-arrow{width:42px;height:42px}.hero-prev{left:10px}.hero-next{right:10px}.hero-dots{bottom:18px}.section-head h2{font-size:45px}.gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:180px;gap:8px}.gallery-card.card-wide{grid-column:span 2}.gallery-card.card-tall{grid-row:span 2}.card-caption{opacity:1;transform:none;left:10px;right:10px;bottom:9px;font-size:9px}.card-caption i{width:25px;height:25px}.video-card{height:350px}.cta-panel{grid-template-columns:1fr;padding:28px 24px;gap:18px}.cta-script{font-size:24px}.cta-panel h2{font-size:36px}.image-lightbox{padding:18px}.lightbox-prev{left:8px}.lightbox-next{right:8px}.lightbox-close{right:10px;top:10px}}
@media(max-width:420px){.gallery-hero{height:620px;min-height:620px}.hero-copy h1{font-size:49px}.gallery-grid{grid-auto-rows:155px}.video-card{height:320px}.video-meta h3{font-size:26px}}
