
/* =========================================================
   GALLERY PAGE
========================================================= */

.gallery-hero{
position:relative;
min-height:100svh;
display:flex;
align-items:flex-end;
padding:150px clamp(24px,7vw,110px) 80px;
overflow:hidden;
background:#080808;
isolation:isolate;
}

.gallery-hero-media,
.gallery-hero-overlay{
position:absolute;
inset:0;
}

.gallery-hero-media{
z-index:-2;
}

.gallery-hero-media img{
width:100%;
height:100%;
object-fit:cover;
transform:scale(1.05);
}

.gallery-hero-overlay{
background:
linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.45)),
linear-gradient(0deg,rgba(0,0,0,.88),transparent 55%);
}

.gallery-hero-content{
position:relative;
max-width:900px;
z-index:2;
}

.gallery-eyebrow{
color:var(--accent,#d32f2f);
text-transform:uppercase;
letter-spacing:.25em;
font-size:.8rem;
font-weight:700;
margin-bottom:24px;
}

.gallery-hero h1{
color:#fff;
font-size:clamp(4rem,9vw,8rem);
line-height:.86;
letter-spacing:-.06em;
margin:0 0 28px;
}

.gallery-hero p{
max-width:620px;
font-size:1.1rem;
line-height:1.8;
color:rgba(255,255,255,.75);
margin-bottom:40px;
}

.gallery-hero-index{
position:absolute;
right:60px;
bottom:60px;
writing-mode:vertical-rl;
display:flex;
gap:18px;
font-size:.75rem;
letter-spacing:.3em;
color:rgba(255,255,255,.35);
}

.gallery-section{
padding:120px 0;
background:#080808;
}

.gallery-container{
width:min(1450px,calc(100% - 80px));
margin:auto;
}

.gallery-heading{
display:grid;
grid-template-columns:1.2fr .8fr;
gap:80px;
margin-bottom:60px;
}

.gallery-heading h2{
font-size:clamp(3.5rem,7vw,6rem);
line-height:.9;
letter-spacing:-.05em;
color:#fff;
margin-top:12px;
}

.gallery-heading p{
color:rgba(255,255,255,.62);
line-height:1.8;
}

.gallery-toolbar{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
padding:18px 0;
margin-bottom:40px;
border-top:1px solid rgba(255,255,255,.12);
border-bottom:1px solid rgba(255,255,255,.12);
position:sticky;
top:82px;
background:rgba(8,8,8,.92);
backdrop-filter:blur(12px);
z-index:10;
}

.gallery-filters{
display:flex;
gap:10px;
overflow:auto;
scrollbar-width:none;
}

.gallery-filters::-webkit-scrollbar{display:none;}

.gallery-filter{
padding:10px 18px;
border-radius:999px;
border:1px solid rgba(255,255,255,.15);
background:transparent;
color:#bbb;
cursor:pointer;
transition:.25s;
}

.gallery-filter:hover,
.gallery-filter.is-active{
background:#fff;
color:#000;
}

.gallery-grid{
columns:3;
column-gap:18px;
}

.gallery-card{
display:inline-block;
width:100%;
margin-bottom:18px;
position:relative;
overflow:hidden;
break-inside:avoid;
background:#111;
border:1px solid rgba(255,255,255,.08);
cursor:pointer;
transition:.3s;
}

.gallery-card:hover{
border-color:rgba(255,255,255,.25);
}

.gallery-card img{
display:block;
width:100%;
transition:transform .5s;
}

.gallery-card:hover img{
transform:scale(1.04);
}

.gallery-card-overlay{
position:absolute;
left:0;
right:0;
bottom:0;
padding:50px 20px 18px;
display:flex;
justify-content:space-between;
align-items:end;
background:linear-gradient(0deg,#000,transparent);
opacity:0;
transition:.25s;
}

.gallery-card:hover .gallery-card-overlay{
opacity:1;
}

.gallery-card-room{
display:block;
font-weight:700;
color:#fff;
}

.gallery-card-date{
display:block;
font-size:.8rem;
color:#bbb;
margin-top:4px;
}

.gallery-card-open{
width:42px;
height:42px;
border-radius:50%;
border:1px solid rgba(255,255,255,.3);
background:rgba(0,0,0,.4);
color:#fff;
}

.gallery-load-wrap{
display:flex;
justify-content:center;
margin-top:60px;
}

.gallery-empty{
padding:70px 20px;
text-align:center;
border:1px solid rgba(255,255,255,.1);
color:#aaa;
}

.gallery-cta{
position:relative;
padding:120px clamp(24px,8vw,120px);
background:#050505;
overflow:hidden;
}

.gallery-cta-background{
position:absolute;
inset:0;
display:flex;
align-items:center;
justify-content:center;
font-size:18vw;
font-weight:800;
line-height:.8;
color:rgba(255,255,255,.03);
text-align:center;
pointer-events:none;
}

.gallery-cta-content{
position:relative;
z-index:2;
max-width:700px;
}

.gallery-cta h2{
font-size:clamp(4rem,8vw,7rem);
line-height:.85;
color:#fff;
margin:20px 0;
}

.gallery-cta p{
color:#bbb;
line-height:1.8;
margin-bottom:36px;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-lightbox{
position:fixed;
inset:0;
z-index:9999;
display:grid;
grid-template-columns:72px minmax(0,1fr) 72px;
align-items:center;
gap:20px;
padding:32px;
background:rgba(0,0,0,.96);
backdrop-filter:blur(18px);
opacity:0;
visibility:hidden;
pointer-events:none;
transition:
opacity .25s ease,
visibility .25s ease;
}

.gallery-lightbox.is-open{
opacity:1;
visibility:visible;
pointer-events:auto;
}

.gallery-lightbox-content{
width:min(1380px,100%);
max-height:calc(100vh - 64px);
margin:auto;
display:grid;
grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);
gap:24px;
align-items:stretch;
overflow:hidden;
}

.gallery-lightbox-figure{
margin:0;
min-width:0;
display:grid;
grid-template-rows:minmax(0,1fr) auto;
background:#090909;
border:1px solid rgba(255,255,255,.1);
overflow:hidden;
}

.gallery-lightbox-figure img{
display:block;
width:100%;
height:100%;
max-height:none;
min-height:0;
object-fit:contain;
background:#000;
}

.gallery-lightbox-figure figcaption{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
padding:18px 22px;
border-top:1px solid rgba(255,255,255,.08);
background:#0d0d0d;
color:rgba(255,255,255,.65);
}

.gallery-lightbox-figure figcaption strong{
color:#fff;
font-size:1rem;
}

.gallery-lightbox-figure figcaption span{
font-size:.9rem;
white-space:nowrap;
}

.gallery-lightbox-panel{
min-width:0;
display:grid;
grid-template-rows:auto 1fr;
gap:18px;
overflow:auto;
padding-right:4px;
scrollbar-width:thin;
scrollbar-color:rgba(255,255,255,.22) transparent;
}

.gallery-lightbox-panel::-webkit-scrollbar{
width:6px;
}

.gallery-lightbox-panel::-webkit-scrollbar-thumb{
background:rgba(255,255,255,.22);
border-radius:999px;
}

.gallery-review-card,
.gallery-share-card{
padding:28px;
background:#0d0d0d;
border:1px solid rgba(255,255,255,.1);
}

.gallery-review-card{
display:flex;
flex-direction:column;
align-items:flex-start;
}

.gallery-review-stars{
margin-bottom:14px;
color:#fff;
font-size:1rem;
letter-spacing:.18em;
}

.gallery-review-card h2,
.gallery-share-card h2{
margin:0 0 14px;
color:#fff;
font-size:clamp(1.8rem,2.4vw,2.8rem);
line-height:1;
letter-spacing:-.04em;
}

.gallery-review-card p,
.gallery-share-card p{
margin:0;
color:rgba(255,255,255,.66);
line-height:1.7;
}

.gallery-review-button{
margin-top:24px;
}

.gallery-share-card{
display:flex;
flex-direction:column;
justify-content:flex-start;
}

.gallery-share-card .section-kicker{
margin-bottom:14px;
}

.gallery-share-actions{
display:grid;
gap:12px;
margin-top:26px;
}

.gallery-share-button,
.gallery-copy-tag-button,
.gallery-download-button{
width:100%;
min-height:52px;
display:flex;
align-items:center;
justify-content:center;
padding:14px 18px;
border-radius:0;
font:inherit;
font-weight:700;
text-align:center;
text-decoration:none;
cursor:pointer;
transition:
background .2s ease,
color .2s ease,
border-color .2s ease,
transform .2s ease;
}

.gallery-share-button{
border:1px solid rgba(255,255,255,.18);
background:#fff;
color:#000;
}

.gallery-share-button:hover{
background:#e8e8e8;
transform:translateY(-1px);
}

.gallery-copy-tag-button{
border:1px solid rgba(255,255,255,.16);
background:transparent;
color:#fff;
}

.gallery-copy-tag-button:hover{
border-color:rgba(255,255,255,.45);
background:rgba(255,255,255,.05);
}

.gallery-download-button{
border:1px solid rgba(255,255,255,.16);
background:transparent;
color:#fff;
}

.gallery-download-button:hover{
border-color:var(--accent,#d32f2f);
color:var(--accent,#d32f2f);
background:rgba(211,47,47,.06);
}

.gallery-share-feedback{
min-height:24px;
margin-top:14px !important;
font-size:.85rem;
color:rgba(255,255,255,.72) !important;
}

.gallery-lightbox-close{
position:absolute;
top:18px;
right:22px;
z-index:4;
width:48px;
height:48px;
display:grid;
place-items:center;
padding:0;
border:1px solid rgba(255,255,255,.18);
border-radius:50%;
background:rgba(0,0,0,.55);
color:#fff;
font-size:2rem;
line-height:1;
cursor:pointer;
transition:
background .2s ease,
border-color .2s ease,
transform .2s ease;
}

.gallery-lightbox-close:hover{
background:#fff;
border-color:#fff;
color:#000;
transform:rotate(90deg);
}

.gallery-lightbox-nav{
width:56px;
height:56px;
display:grid;
place-items:center;
justify-self:center;
padding:0;
border:1px solid rgba(255,255,255,.18);
border-radius:50%;
background:rgba(0,0,0,.48);
color:#fff;
font-size:1.5rem;
cursor:pointer;
transition:
background .2s ease,
border-color .2s ease,
transform .2s ease;
}

.gallery-lightbox-nav:hover{
background:#fff;
border-color:#fff;
color:#000;
transform:scale(1.06);
}

.gallery-lightbox-prev{
grid-column:1;
}

.gallery-lightbox-content{
grid-column:2;
}

.gallery-lightbox-next{
grid-column:3;
}

body.lightbox-open{
overflow:hidden;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width:1180px){

.gallery-lightbox{
grid-template-columns:56px minmax(0,1fr) 56px;
gap:14px;
padding:24px;
}

.gallery-lightbox-content{
grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
max-height:calc(100vh - 48px);
}

.gallery-review-card,
.gallery-share-card{
padding:22px;
}

.gallery-lightbox-nav{
width:48px;
height:48px;
}

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:820px){

.gallery-lightbox{
display:block;
padding:62px 14px 88px;
overflow:auto;
}

.gallery-lightbox-content{
width:100%;
max-height:none;
display:block;
overflow:visible;
}

.gallery-lightbox-figure{
display:block;
margin-bottom:16px;
}

.gallery-lightbox-figure img{
width:100%;
height:auto;
max-height:62vh;
object-fit:contain;
}

.gallery-lightbox-figure figcaption{
padding:15px 16px;
align-items:flex-start;
flex-direction:column;
gap:4px;
}

.gallery-lightbox-panel{
display:block;
overflow:visible;
padding:0;
}

.gallery-review-card,
.gallery-share-card{
padding:22px 18px;
}

.gallery-review-card{
margin-bottom:16px;
}

.gallery-review-card h2,
.gallery-share-card h2{
font-size:2rem;
}

.gallery-lightbox-close{
position:fixed;
top:12px;
right:14px;
width:44px;
height:44px;
background:rgba(0,0,0,.8);
}

.gallery-lightbox-nav{
position:fixed;
bottom:18px;
z-index:5;
width:52px;
height:52px;
background:rgba(0,0,0,.85);
}

.gallery-lightbox-prev{
left:18px;
}

.gallery-lightbox-next{
right:18px;
}

}

/* =========================================================
   MOBILE PICCOLO
========================================================= */

@media (max-width:480px){

.gallery-lightbox{
padding-left:10px;
padding-right:10px;
}

.gallery-review-card,
.gallery-share-card{
padding:20px 16px;
}

.gallery-share-actions{
gap:10px;
}

.gallery-share-button,
.gallery-copy-tag-button,
.gallery-download-button{
min-height:50px;
font-size:.95rem;
}

}