/* theme/baru1/assets/style.css */

:root{
  color-scheme: light;
}

body{
  background: #ffffff;
}

.brand-logo{
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text{
  letter-spacing: .3px;
}

.footer{
  background: #0b0f19;
  color: rgba(255,255,255,.9);
}

.footer .text-muted{
  color: rgba(255,255,255,.65) !important;
}

.link-chip{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .875rem;
}

.footer .link-chip{
  border-color: rgba(255,255,255,.15);
}

.hero-section{
  background: radial-gradient(1200px 400px at 10% 10%, rgba(0,0,0,.06), transparent 60%),
              radial-gradient(1200px 400px at 90% 20%, rgba(0,0,0,.05), transparent 55%);
}

.hero-badge{
  border: 1px solid rgba(0,0,0,.08);
}

.hero-media .hero-img{
  max-height: 420px;
  object-fit: cover;
}

.hero-placeholder{
  height: 360px;
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

.section.bg-soft{
  background: #f6f7fb;
}

.value-card{
  border: 1px solid rgba(0,0,0,.06);
}

.value-icon{
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
}

.value-icon-fallback{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
}

.post-card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
}

.post-cover-wrap{
  position: relative;
  display: block;
}

.post-cover{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.post-badge{
  position: absolute;
  top: 12px;
  left: 12px;
}

.price-box{
  border-top: 1px dashed rgba(0,0,0,.12);
  padding-top: .75rem;
}

.about-placeholder{
  height: 360px;
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

.booking-steps{
  margin: 0;
  padding-left: 1.2rem;
}

.team-card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
}

.team-avatar{
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.08);
  flex: 0 0 auto;
}

.team-avatar-fallback{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
}

.review-card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
}

.review-avatar{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.08);
}

.review-avatar-fallback{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
}

.stars i{
  margin-right: 2px;
}

.maps-embed iframe{
  width: 100% !important;
  height: 420px !important;
  border: 0 !important;
  display: block;
}

/* Mobile tweaks */
@media (max-width: 575.98px){
  .post-cover{ height: 190px; }
  .hero-placeholder{ height: 260px; }
  .about-placeholder{ height: 260px; }
  .maps-embed iframe{ height: 320px !important; }
}


/* default: buat area konten (bg terang) */
.link-chip{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(0,0,0,.12);
  color: rgba(0,0,0,.80) !important;
  text-decoration: none;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .875rem;
  background: #fff;
}

.link-chip:hover{
  color: rgba(0,0,0,.95) !important;
  border-color: rgba(0,0,0,.2);
}

/* khusus footer (bg gelap) */
.footer .link-chip{
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85) !important;
  background: transparent;
}

.footer .link-chip:hover{
  color: #fff !important;
  border-color: rgba(255,255,255,.25);
}


/* aman kalau layout belum punya */
.section{ width:100%; }
.bg-soft{ background: rgba(0,0,0,.03); }

.post-wrap{ border-radius: 18px; overflow: hidden; }
.post-cover-wrap{ position: relative; }
.post-cover-img{
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  cursor: zoom-in;
}
.post-disc{
  position:absolute; top:14px; left:14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

/* thumbs */
.thumb-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:10px;
}
@media (max-width: 992px){
  .thumb-grid{ grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 576px){
  .thumb-grid{ grid-template-columns: repeat(4, 1fr); }
}
.thumb-btn{
  border:0; padding:0; background:transparent;
  border-radius: 12px;
  overflow:hidden;
  cursor: zoom-in;
}
.thumb-btn img{
  width:100%;
  height:74px;
  object-fit:cover;
  display:block;
}
.thumb-btn:hover{ outline:2px solid rgba(13,110,253,.35); }

/* content */
.post-content{
  line-height: 1.8;
  font-size: 1rem;
}
.post-content img, .post-content iframe, .post-content video{
  max-width: 100% !important;
}
.post-content img{
  height:auto;
  border-radius: 14px;
}
.post-content table{ width:100%; }
.post-content a{ word-break: break-word; }

/* sidebar */
.sticky-side{ position: sticky; top: 92px; }
@media (max-width: 992px){
  .sticky-side{ position: static; top:auto; }
}

/* related */
.rel-item{
  display:flex;
  gap:10px;
  text-decoration:none;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.07);
  background:#fff;
}
.rel-item:hover{ border-color: rgba(13,110,253,.35); }
.rel-item img{
  width:64px; height:48px; object-fit:cover;
  border-radius:12px;
}
.rel-ph{
  width:64px; height:48px;
  border-radius:12px;
  background: rgba(0,0,0,.06);
}
.rel-txt{ min-width:0; }

/* lightbox */
.lb{
  position:fixed; inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.92);
  z-index: 9999;
}
.lb.show{ display:flex; }
.lb-inner{
  position:relative;
  max-width: 92vw;
  max-height: 88vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lb img{
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
}
.lb-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  border:0;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 54px;
  width:56px; height:56px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  user-select:none;
}
.lb-nav:hover{ background: rgba(255,255,255,.2); }
.lb-prev{ left: 14px; }
.lb-next{ right: 14px; }
.lb-close{
  position:absolute; top:14px; right:14px;
  border:0;
  width:44px; height:44px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.lb-close:hover{ background: rgba(255,255,255,.2); }
.lb-count{
  position:absolute;
  bottom:-46px;
  left:50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  background: rgba(255,255,255,.12);
  padding: 6px 10px;
  border-radius: 999px;
}

.gallery-item{ box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.gallery-img{
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
  display:block;
}
.gallery-item:hover .gallery-img{ transform: scale(1.04); }


/* Lightbox global (dipakai home/single) */
.lb{
  position:fixed; inset:0;
  background:rgba(0,0,0,.86);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.lb.show{ display:flex; }

.lb-inner{
  max-width:min(92vw, 980px);
  max-height:86vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.lb-inner img{
  max-width:100%;
  max-height:86vh;
  border-radius:16px;
  display:block;
}
.lb-count{
  position:absolute;
  left:12px; bottom:12px;
  background:rgba(0,0,0,.45);
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}

.lb-close{
  position:absolute;
  top:14px; right:14px;
  width:42px; height:42px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
}

.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px; height:46px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:28px;
  line-height:1;
  display:flex; align-items:center; justify-content:center;
}
.lb-prev{ left:14px; }
.lb-next{ right:14px; }


/* FIX: semua gambar jangan pernah melebar melebihi kontainer */
img{
  max-width: 100%;
  height: auto;
}

/* FIX: logo navbar jangan jumbo */
.brand-logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
}

/* biar brand rapi */
.navbar-brand{
  max-width: 70%;
}
.brand-text{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* kalau kamu ada section/team/reviews yang pakai foto grid */
.team img,
.review img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

/* kalau ada cover/thumbnail card */
.card-img-top,
.post-cover img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}



/* HERO: selalu widescreen 16:9, gambar apapun tetap rapih */
.hero-16x9{
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #111;          /* biar kalau loading tetep cakep */
}

/* bootstrap carousel butuh tinggi mengikuti wadah */
.hero-16x9 .carousel-item{
  height: 100%;
}

.hero-gallery-img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* kunci: portrait tetap masuk, tapi dicrop */
  object-position: center;   /* fokus tengah */
  display: block;
}


/* HERO: kunci frame 16:9 biar ga berubah-ubah */
.hero-16x9{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

/* Bootstrap carousel harus ikut tinggi frame */
.hero-16x9 .carousel,
.hero-16x9 .carousel-inner,
.hero-16x9 .carousel-item{
  height: 100%;
}

/* gambar dibuat absolute full-frame, jadi portrait pun tetap dicrop rapi */
.hero-16x9 .hero-gallery-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* paksa rule global yang tadi jangan ganggu hero */
.hero-16x9 img{
  height: 100% !important;
}

.paket-loader{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(3px);
  border-radius: 16px;
  z-index: 5;
}
.paket-loader.show{ display:flex; }

/* CONTACT MAP: full tinggi + tanpa border iframe */
#contact .map-card{ border:0 !important; }

#contact .maps-embed{
  width:100%;
  height:100%;
  min-height: 320px; /* mobile */
}

#contact .maps-embed iframe{
  display:block;
  width:100% !important;
  height:100% !important;
  border:0 !important;
}

@media (min-width: 992px){
  #contact .maps-embed{
    min-height: 100%;
  }
}




/* =========================
   PREMIUM FOOTER (tanpa duplikat contact)
========================= */
.sp-footer{
  background: radial-gradient(1200px 500px at 20% 0%, rgba(255,255,255,.10), transparent 60%),
              radial-gradient(900px 450px at 90% 30%, rgba(34,197,94,.12), transparent 55%),
              #0b1220;
  color: rgba(255,255,255,.88);
  border-top: 1px solid rgba(255,255,255,.10);
}

.sp-hr{ border-color: rgba(255,255,255,.12) !important; opacity: 1; }

.sp-footer-brand{ color: rgba(255,255,255,.95); }

.sp-footer-title{
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 18px;
  line-height: 1.1;
}
.sp-footer-subtitle{
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.sp-footer-logo{
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.sp-footer-logo--placeholder{
  display: inline-flex;
  align-items:center; justify-content:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}

.sp-footer-desc{
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.sp-footer-h{
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin-bottom: 12px;
}

.sp-footer-list{
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 8px;
}

.sp-footer-link{
  color: rgba(255,255,255,.72);
  text-decoration: none;
}
.sp-footer-link:hover{
  color: rgba(255,255,255,.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-footer-muted{ color: rgba(255,255,255,.65); }

.sp-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
  text-decoration: none;
  font-size: 12px;
}
.sp-chip:hover{
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.95);
}

/* trust badges */
.sp-trust{ display:flex; flex-wrap:wrap; gap:8px; }
.sp-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-size: 12px;
}
.sp-badge i{ transform: translateY(1px); }

/* social icons */
.sp-footer-social{ display:flex; flex-wrap:wrap; gap:10px; }
.sp-social{
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
}
.sp-social:hover{
  color: rgba(255,255,255,.98);
  background: rgba(255,255,255,.12);
}

/* CTA buttons */
.sp-cta .btn{ border-radius: 14px; }

/* mobile spacing */
@media (max-width: 576px){
  .sp-footer{ padding-bottom: 12px; }
}
