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

/* HERO */
.gallery-hero{

  position:relative;

  min-height:84vh;

  display:flex;

  align-items:center;

  justify-content:center;

  overflow:hidden;

  padding:120px 20px;

  color:#fff;
}

.gallery-hero-image{

  position:absolute;

  inset:0;

  z-index:-2;
}

.gallery-hero-image img{

   width:100%;

  height:100%;

  object-fit:cover;

  display:block;
	
  filter:saturate(1.03);

  animation:heroZoom 18s ease-in-out infinite alternate;

  will-change:transform;
} 

@keyframes heroZoom{

  0%{

    transform:
      scale(1)
      translateX(0)
      translateY(0);
  }

  100%{

    transform:
      scale(1.08)
      translateX(-1%)
      translateY(-1%);
  }

}

.gallery-overlay{

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    to bottom,
    rgba(0,0,0,0.22),
    rgba(0,0,0,0.70)
  );

  z-index:-1;
}

.gallery-hero-content{

  max-width:820px;

  text-align:center;
}

.gallery-tag{

  font-size:12px;

  letter-spacing:3px;

  text-transform:uppercase;

  margin-bottom:20px;

  opacity:0.85;
}

.gallery-hero-content h1{

  font-size:52px;

  line-height:1.08;

  margin-bottom:28px;

  font-family:'Playfair Display', serif;
}

.gallery-hero-content p{

  font-size:20px;

  line-height:1.9;

  color:rgba(255,255,255,0.88);
}

/* INTRO */
.gallery-intro{

  padding:100px 20px 60px;

  background:#fff;
}

.gallery-intro-container{

  max-width:820px;

  margin:auto;

  text-align:center;
}

.small-tag{

  font-size:16px;

  letter-spacing:8px;

  text-transform:uppercase;

  color:#6b7280;

  font-weight:600;

  margin-bottom:18px;
  line-height:1.9;
}

.gallery-intro-container h2{

  font-size:40px;

  line-height:1.08;

  color:#111827;

  font-family:'Playfair Display', serif;
}


/* CTA */
.gallery-cta{

  position:relative;

  padding:190px 20px;

  overflow:hidden;

  background:url('../images/padang-padang-beach2.webp') center/cover;

  color:#fff;
}

.gallery-cta-overlay{

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    to bottom,
    rgba(0,0,0,0.24),
    rgba(0,0,0,0.72)
  );
}

.gallery-cta-content{

  position:relative;

  z-index:2;

  max-width:760px;

  margin:auto;

  text-align:center;
}

.cta-tag{

  font-size:12px;

  letter-spacing:3px;

  text-transform:uppercase;

  margin-bottom:20px;

  opacity:0.82;
}

.gallery-cta-content h2{

  font-size:52px;

  line-height:1.08;

  margin-bottom:28px;

  font-family:'Playfair Display', serif;
}

.gallery-cta-content p{

  font-size:16px;

  line-height:1.9;

  color:rgba(255,255,255,0.84);

  margin-bottom:40px;
}

/* BUTTON */
.gallery-cta-content a{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  padding:16px 34px;

  border-radius:999px;

  background:linear-gradient(
    135deg,
    #1F5FAF,
    #2EC4C7
  );

  box-shadow:
    0 12px 30px rgba(31,95,175,0.22);

  color:#fff;

  font-weight:600;

  text-decoration:none;

  transition:0.3s ease;
}

.gallery-cta-content a:hover{

  transform:translateY(-3px);

  box-shadow:
    0 18px 40px rgba(31,95,175,0.30);
}

/* MOBILE */
@media(max-width:768px){

  .gallery-hero{

    min-height:72vh;

    padding:100px 20px;
  }

  .gallery-hero-content h1{

    font-size:36px;
  }

  .gallery-hero-content p{

    font-size:15px;

line-height:1.75;
  }

  .gallery-intro{

    padding:80px 20px 50px;
  }

  .gallery-intro-container h2{

    font-size:38px;
  }

  .gallery-filter{

    padding:0 20px 50px;
  }

  .gallery-filter-container{

    gap:10px;
  }

  .gallery-filter button{

    padding:12px 20px;

    font-size:14px;
  }

  .gallery-grid-section{

    padding:0 16px 90px;
  }

  .gallery-card{

    margin-bottom:16px;
  }

  .gallery-cta{

    padding:140px 20px;
  }

  .gallery-cta-content h2{

    font-size:42px;
  }

}

.gallery-micro-trust{

  margin-top:28px;

  font-size:14px;

  line-height:1.7;

  color:rgba(255,255,255,0.72);
}

/* SECTION */
.gallery-section{
  padding:30px 20px;
  background:#fff;
}

.gallery-title{
  text-align:center;
  font-size:32px;
  margin-bottom:10px;
}

.gallery-intro{
  text-align:center;
  max-width:700px;
  margin:0 auto 40px auto;
  color:#555;
  line-height:1.7;
}

/* FILTER */
.gallery-filter{
  text-align:center;
  margin-bottom:60px;
}

.filter-btn{

  background:#f3f4f6;

  border:none;

  margin:0 10px;

  font-size:16px;

  cursor:pointer;

  padding:12px 22px;

  border-radius:999px;

  transition:0.3s ease;
}

.filter-btn.active{
  background:#111827;
  color:white;
}

/* GRID SYSTEM */
.gallery-grid-advanced{

  max-width:1100px;

  margin:auto;

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:26px;

  grid-auto-rows:250px;
}

/* ITEM */
.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  cursor:pointer;
}

/* IMAGE */
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:0.4s;
}

/* VARIATION */
.gallery-item.tall{
  grid-row:span 2;
}

.gallery-item.wide{
  grid-column:span 2;
}

/* HOVER */
.gallery-item:hover img{
  transform:scale(1.05);
}

/* OVERLAY */
.gallery-hover-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.4);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:0.3s;
}

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

/* LABEL */
.gallery-label{

  position:absolute;

  top:16px;

  left:16px;

  padding:10px 16px;

  border-radius:999px;

  background:rgba(17,24,39,0.62);

  backdrop-filter:blur(10px);

  color:#fff;

  font-size:12px;

  letter-spacing:0.3px;
}

/* FILTER */
.gallery-item.hide{
  display:none !important;
}

/* RESPONSIVE */
@media(max-width:900px){
  .gallery-grid-advanced{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){

  .gallery-grid-advanced{

    grid-template-columns:1fr 1fr;

    gap:16px;
  }

}

.gallery-cta{
  text-align:center;
  margin-top:50px;
}

.gallery-cta .hero-btn{
  display:block;
  width:max-content;
  margin:0 auto;
}

.cta-note{
  font-size:13px;
  color:#666;
}

.gallery-mid-cta{
  text-align:center;
  margin:40px 0;
}

.gallery-highlight{
  text-align:center;
  margin-bottom:30px;
  font-size:15px;
  color:#444;
}


/* =====================================================
   ROOM SECTION
===================================================== */

.gallery-rooms{

  padding:120px 20px;

  background:#f8fafb;
}

.gallery-rooms-container{

  max-width:1200px;

  margin:auto;
}

.gallery-room-tag{

  font-size:12px;

  letter-spacing:3px;

  text-transform:uppercase;

  color:#1F5FAF;

  font-weight:600;

  margin-bottom:18px;

  text-align:center;
}

.gallery-rooms-container h2{

  font-size:40px;

  line-height:1.08;

  text-align:center;

  color:#111827;

  margin-bottom:24px;

  font-family:'Playfair Display', serif;
}

.gallery-room-intro{

  max-width:760px;

  margin:0 auto 70px;

  text-align:center;

  font-size:16px;

  line-height:1.9;

  color:#6b7280;
}

.gallery-room-grid{

  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:28px;

  max-width:1000px;

  margin:auto;
}

.gallery-room-card{

  background:#fff;

  border-radius:28px;

  overflow:hidden;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.04);

  transition:0.35s ease;
}

.gallery-room-card:hover{

  transform:translateY(-5px);
}

.gallery-room-image{

  overflow:hidden;
}

.gallery-room-image img{

  width:100%;

  height:260px;

  object-fit:cover;

  object-position:center;

  display:block;

  transition:0.4s ease;
}

.gallery-room-card:hover img{

  transform:scale(1.04);
}

.gallery-room-content{

  padding:30px;
}

.gallery-room-content h3{

  font-size:24px;

  color:#111827;

  margin-bottom:14px;

  font-family:'Playfair Display', serif;
}

.gallery-room-content p{

  font-size:15px;

  line-height:1.8;

  color:#6b7280;

  margin-bottom:24px;
}

/* TABLET */
@media(max-width:992px){

  .gallery-room-grid{

    grid-template-columns:1fr 1fr;
  }

}

/* MOBILE */
@media(max-width:768px){

  .gallery-rooms{

    padding:90px 20px;
  }

  .gallery-rooms-container h2{

    font-size:38px;
  }

  .gallery-room-intro{

    font-size:15px;

    margin-bottom:50px;
  }

  .gallery-room-grid{

    grid-template-columns:1fr;

    gap:24px;
  }

  .gallery-room-content{

    padding:24px;
  }

}

/* ROOM ACTIONS */

.room-card-actions{

  display:flex;

  align-items:center;

  gap:16px;

  flex-wrap:wrap;
}

/* PRIMARY CTA */
.room-rate-btn{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  padding:14px 24px;

  border-radius:999px;

  background:linear-gradient(
    135deg,
    #1F5FAF,
    #2EC4C7
  );

  box-shadow:
    0 10px 24px rgba(31,95,175,0.20);

  color:#fff;

  font-size:14px;

  font-weight:600;

  text-decoration:none;

  transition:0.3s ease;
}

.room-rate-btn:hover{

  transform:translateY(-2px);

  box-shadow:
    0 16px 34px rgba(31,95,175,0.28);
}

/* SECONDARY LINK */
.room-explore-link{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  padding:13px 22px;

  border-radius:999px;

  background:#f3f4f6;

  color:#111827;

  font-size:14px;

  font-weight:600;

  text-decoration:none;

  transition:0.3s ease;
}

/* UNDERLINE EFFECT */


.room-explore-link:hover{

  background:#e5e7eb;

  transform:translateY(-2px);
}

.gallery-intro-text{

  max-width:760px;

  margin:24px auto 0;

  font-size:16px;

  line-height:1.9;

  color:#6b7280;
}
