/* =====================================
GALLERY HERO
===================================== */

.gallery-hero{
height:80vh;

background:
linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
url("../images/hero-mountain-resort.jpg");

background-size:cover;
background-position:center;

display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

.gallery-hero-content{
max-width:800px;
color:white;
padding:0 20px;
}

.gallery-hero-content h1{
font-size:85px;
font-family:'Playfair Display',serif;
margin-bottom:25px;
}

.gallery-hero-content p{
font-size:20px;
color:#eee;
line-height:1.8;
}

/* HEADER */

.header,
#header{

position:fixed;
top:0;
left:0;
width:100%;

background:#0f3b2f;

z-index:9999;
box-shadow:
0 5px 20px rgba(0,0,0,.08);
transition:
transform .4s ease,
background .4s ease;
}

body{

background:#CAC6BA;
}
/* =====================================
IMAGE GALLERY
===================================== */

.gallery-page{
padding:110px 8% 120px;
background:#fff;
}

.gallery-intro{
max-width:850px;
margin:0 auto 35px;
text-align:center;
}

.gallery-intro span,
.gallery-label span{
display:inline-block;
color:#d4b06a;
letter-spacing:4px;
font-size:13px;
font-weight:700;
margin-bottom:14px;
}

.gallery-intro h2{
font-family:'Playfair Display',serif;
font-size:54px;
color:#0f3b2f;
margin-bottom:18px;
}

.gallery-intro p{
color:#69746f;
line-height:1.8;
}

.gallery-filter{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:14px;
margin-bottom:45px;
}

.gallery-filter button{
border:1px solid rgba(15,59,47,.16);
background:#f5f3eb;
color:#0f3b2f;
padding:15px 28px;
border-radius:999px;
cursor:pointer;
font-size:15px;
font-weight:600;
transition:.3s;
}

.gallery-filter button:hover,
.gallery-filter button.active{
background:#0f3b2f;
color:#fff;
box-shadow:0 14px 30px rgba(15,59,47,.16);
transform:translateY(-2px);
}

.gallery-showcase{
display:grid;
grid-template-columns:minmax(220px,.8fr) minmax(0,1.8fr);
gap:34px;
align-items:start;
padding:34px;
border:1px solid rgba(15,59,47,.12);
border-radius:34px;
background:#fff;
box-shadow:0 15px 50px rgba(0,0,0,.08);
}

.gallery-label{
position:sticky;
top:120px;
min-height:260px;
display:flex;
flex-direction:column;
justify-content:center;
padding:30px;
border-radius:28px;
background:#f5f3eb;
}

.gallery-label h3{
font-family:'Playfair Display',serif;
font-size:38px;
color:#0f3b2f;
margin-bottom:15px;
}

.gallery-label p{
line-height:1.8;
color:#62706a;
}

.gallery-container{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:18px;
}

.gallery-container figure{
margin:0;
min-height:190px;
border-radius:22px;
overflow:hidden;
background:#f5f3eb;
box-shadow:0 10px 28px rgba(0,0,0,.08);
transition:.35s;
}

.gallery-container figure.is-hidden{
display:none;
}

.gallery-container img{
width:100%;
height:100%;
min-height:190px;
object-fit:cover;
display:block;
cursor:pointer;
transition:.5s;
}

.gallery-container figure:hover{
transform:scale(1.03);
}

/* =====================================
VIDEOS
===================================== */

.video-section{
padding:120px 8%;
background:#fafaf7;
text-align:center;
}

.video-section h5{
color:#d4b06a;
letter-spacing:4px;
margin-bottom:20px;
}

.video-section h2{
font-size:55px;
font-family:'Playfair Display',serif;
color:#0f3b2f;
margin-bottom:20px;
}

.video-section p{
color:gray;
margin-bottom:60px;
}

.video-grid{
display:grid;
grid-template-columns:repeat(4,minmax(180px,1fr));
gap:24px;
}

.video-card{
position:relative;
overflow:hidden;
aspect-ratio:9/16;
border-radius:32px;
background:#0f3b2f;
box-shadow:0 20px 48px rgba(0,0,0,.14);
isolation:isolate;
}

.video-card video{
width:100%;
height:100%;
object-fit:cover;
display:block;
opacity:.92;
object-position:center center;
}

.video-card::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.02) 48%,rgba(0,0,0,.42) 100%);
pointer-events:none;
z-index:1;
}

.video-card span{
position:absolute;
left:18px;
bottom:18px;
right:72px;
color:#fff;
font-weight:600;
text-align:left;
text-shadow:0 2px 12px rgba(0,0,0,.5);
z-index:2;
}

.video-toggle{
position:absolute;
right:18px;
bottom:16px;
width:48px;
height:48px;
border:none;
border-radius:50%;
background:#d4b06a;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow:0 10px 24px rgba(0,0,0,.22);
transition:.3s;
z-index:2;
}

.video-toggle:hover{
background:#fff;
color:#0f3b2f;
transform:scale(1.06);
}

/* =====================================
CTA
===================================== */

.cta{
padding:140px 8%;
text-align:center;
background:white;
}

.cta h2{
font-size:60px;
font-family:'Playfair Display',serif;
color:#0f3b2f;
margin-bottom:30px;
}

.cta p{
max-width:700px;
margin:auto;
line-height:1.8;
color:gray;
margin-bottom:50px;
}

.cta a{
display:inline-block;
background:#0f3b2f;
color:white;
padding:18px 40px;
border-radius:50px;
text-decoration:none;
font-weight:600;
transition:.4s;
}

.cta a:hover{
background:#d4b06a;
}


/* =====================================
RESPONSIVE
===================================== */

@media(max-width:900px){

.gallery-hero{
height:auto;
min-height:520px;
padding:120px 0 72px;
background-position:center 55%;
}

.gallery-hero-content h1{
font-size:clamp(40px,9vw,56px);
line-height:1.08;
margin-bottom:18px;
}

.gallery-hero-content p{
font-size:16px;
line-height:1.7;
}

.video-grid{
grid-template-columns:1fr 1fr;
}

.gallery-showcase{
grid-template-columns:1fr;
padding:24px;
border-radius:28px;
}

.gallery-label{
position:static;
min-height:auto;
padding:24px;
}

.gallery-container{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:14px;
}

.cta h2{
font-size:40px;
}

}

@media(max-width:600px){

.gallery-hero{
min-height:460px;
padding:112px 0 64px;
}

.gallery-hero-content h1{
font-size:clamp(34px,10vw,44px);
}

.gallery-hero-content p{
font-size:16px;
}

.gallery-intro{
margin-bottom:28px;
}

.gallery-intro h2{
font-size:32px;
line-height:1.12;
}

.gallery-filter{
gap:10px;
margin-bottom:28px;
}

.gallery-filter button{
padding:11px 18px;
font-size:13px;
}

.gallery-container{
grid-template-columns:1fr;
gap:12px;
}

.gallery-showcase{
padding:16px;
border-radius:24px;
}

.video-grid{
grid-template-columns:1fr;
gap:18px;
}

.video-card video{
min-height:320px;
}

.cta h2{
font-size:30px;
line-height:1.12;
}

.cta p{
font-size:14px;
margin-bottom:32px;
}

}
