/* ===== HERO ===== */
.hero{
  position: relative;
  background: var(--bg);
  margin-bottom: 100px; /* Space below hero for the overlap */
}

.hero__media{
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero__slide{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero__slide--active{
  opacity: 1;
}

.hero__caption{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: min(980px, calc(100% - 140px));
  background: var(--gold);
  padding: 28px 24px;
  text-align: center;
}

.hero__caption h1{
  margin: 0;
  font-size: 44px;
  font-weight: 500;
  color: #21342b;
  letter-spacing: .4px;
  line-height: 1.15;
}

.hero__book-btn{
  display: inline-block;
  font-size: 44px;
  font-weight: 500;
  color: #21342b;
  letter-spacing: .4px;
  line-height: 1.15;
  text-decoration: none;
  transition: 0.3s ease;
}

.hero__book-btn:hover{
  color: var(--white);
}

/* ===== DESKTOP HERO BOOKING BOX ===== */
.hero-booking{
  position: absolute;
  top: 90px;
  right: 70px;
  z-index: 4;
}

.hero-booking__inner{
  background: #ffffff;
  width: 360px;
  padding: 28px 24px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.hero-booking__top{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.hero-booking__col{
  text-align: center;
}

.hero-booking__label{
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #111;
  margin-bottom: 12px;
}

.hero-booking__dayname{
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(0,0,0,.45);
  margin-bottom: 8px;
}

.hero-booking__day{
  display: block;
  font-size: 78px;
  line-height: .95;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.hero-booking__month{
  display: block;
  font-size: 15px;
  letter-spacing: 1px;
  color: #111;
}

.hero-booking__divider{
  font-size: 24px;
  color: rgba(0,0,0,.5);
}

.hero-booking__button{
  display: block;
  background: #c49c44;
  color: #111;
  text-decoration: none;
  text-align: center;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hide header book button on desktop */
.cta-book{
  display: none;
}

/* IMPORTANT: hide on mobile so mobile stays exactly the same */
@media (max-width: 900px){
  .hero-booking{
    display: none;
  }
}

@media (max-width: 760px){
  .hero__media{ height: 420px; }

  .hero__caption{
    width: calc(100% - 24px);
    padding: 18px 14px;
    transform: translate(-50%, 40%);
  }

  .hero__caption h1{ font-size: 26px; }

  .hero{ margin-bottom: 70px; }

  .cta-book{
    display: inline-flex;
  }
}

/* ================= STAY INTRO SECTION ================= */

.stay-intro{
  background: #f3f1ee;
  padding: 100px 0;
}

.stay-intro__inner{
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.stay-intro__text{
  color: rgba(0,0,0,.6);
  font-size: 18px;
  line-height: 1.9;
}

.stay-intro__text p{
  margin: 0 0 24px;
}

.stay-intro__btn{
  display: inline-block;
  margin-top: 20px;
  background: var(--bg);
  color: var(--white);
  padding: 16px 38px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .6px;
  transition: 0.3s ease;
}

.stay-intro__btn:hover{
  background: var(--gold);
  color: var(--bg);
}

.stay-intro__image img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 900px){
  .stay-intro__inner{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stay-intro{
    padding: 60px 0;
  }

  .stay-intro__text{
    font-size: 16px;
  }
}

/* ================= OUR ROOMS ================= */

.rooms{
  background: #ffffff;
  padding: 90px 0 110px;
}

.rooms__inner{
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  text-align: center;
}

.rooms__titlebar{
  width: min(980px, 100%);
  margin: 0 auto 26px;
  background: var(--gold);
  padding: 22px 18px;
}

.rooms__titlebar h2{
  margin: 0;
  font-weight: 500;
  letter-spacing: 2px;
  color: #21342b;
  font-size: 40px;
  text-transform: uppercase;
}

.rooms__lead{
  width: min(980px, 100%);
  margin: 0 auto 55px;
  color: rgba(0,0,0,.55);
  font-size: 18px;
  line-height: 1.9;
}

/* Desktop layout (3 across) */
.rooms__carousel{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  align-items: start;
  justify-items: center;
}

.rooms__item{
  width: 100%;
  max-width: 320px;
}

.rooms__photo{
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
}

.rooms__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rooms__label{
  margin: 26px 0 0;
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(0,0,0,.55);
  font-weight: 500;
  text-transform: uppercase;
}

/* ================= MOBILE: SWIPE CAROUSEL ================= */
@media (max-width: 900px){
  .rooms{
    padding: 60px 0 75px;
  }

  .rooms__inner{
    width: calc(100% - 24px);
  }

  .rooms__titlebar h2{
    font-size: 28px;
  }

  .rooms__lead{
    font-size: 16px;
    margin-bottom: 34px;
  }

  /* turn the grid into a horizontal carousel */
 .rooms__carousel{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 6px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

  .rooms__item{
    flex: 0 0 82%;
    max-width: none;
    scroll-snap-align: center;
  }

  .rooms__photo{
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  /* optional: hide scrollbar */
  .rooms__carousel::-webkit-scrollbar{
    height: 0;
  }
}

/* Dots (mobile carousel pagination) */
.rooms__dots{
  display: none;              /* desktop hidden */
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.rooms__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(47,63,54,.35);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: 0.25s ease;
}

.rooms__dot.is-active{
  background: var(--bg);
  border-color: var(--bg);
  transform: scale(1.15);
}

/* show dots only on mobile where carousel is active */
@media (max-width: 900px){
  .rooms__dots{ display: flex; }
}

/* ================= AMENITIES SPLIT ================= */

.amenities{
  background: #ffffff;
  padding: 90px 0;
}

.amenities__inner{
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: center;
}

.amenities__text{
  color: rgba(0,0,0,.6);
  font-size: 18px;
  line-height: 1.9;
}

.amenities__lead{
  margin: 0 0 18px;
}

.amenities__list{
  margin: 0 0 28px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.amenities__list li{
  color: rgba(0,0,0,.55);
}

.amenities__btn{
  display: inline-block;
  margin-top: 6px;
  background: var(--bg);
  color: var(--white);
  padding: 16px 38px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .6px;
  transition: 0.3s ease;
}

.amenities__btn:hover{
  background: var(--gold);
  color: var(--bg);
}

.amenities__image img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 900px){
  .amenities{
    padding: 60px 0;
  }

  .amenities__inner{
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .amenities__text{
    font-size: 16px;
  }
}

/* ===== STAY GALLERY ===== */

.stay-gallery{
  background:#f3f1ee;
  padding:70px 0;
}

.stay-gallery__track{
  width:min(1400px, calc(100% - 60px));
  margin:auto;
  display:flex;
  gap:25px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
}

.stay-gallery__slide{
  flex:0 0 calc(33.333% - 20px);
  scroll-snap-align:center;
}

.stay-gallery__slide img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:12px;
}

/* dots */

.stay-gallery__dots{
  text-align:center;
  margin-top:18px;
}

.stay-gallery__dots span{
  display:inline-block;
  width:8px;
  height:8px;
  background:#cfcfcf;
  border-radius:50%;
  margin:0 5px;
  transition:0.3s;
}

.stay-gallery__dots span.active{
  background:#000;
}

/* mobile */

@media (max-width:900px){

  .stay-gallery__slide{
    flex:0 0 85%;
  }

  .stay-gallery__slide img{
    height:240px;
  }

  .stay-gallery__track::-webkit-scrollbar{
    display:none;
  }

}