/* =========================
   NAVBAR (dark glass)
========================= */
.glass-nav{
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav-scrolled{
  background: rgba(10, 10, 10, 0.78);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.page-offset{ padding-top: 80px; }
#mobile-menu{ transition: all .25s ease-in-out; }

nav.glass-nav a{ color: rgba(255,255,255,0.90); }
nav.glass-nav a:hover{ color: #F59E0B; }
nav.glass-nav .brand-location{ color: #F59E0B; font-weight: 600; }

/* =========================
   HERO badges
========================= */
.hero-badge{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}

/* =========================
   CARD hover (menu)
========================= */
.menu-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.10),
              0 10px 10px -5px rgba(0,0,0,.04);
}

/* Crop image card */
.card-img-top{
  width:100%;
  height:250px;
  object-fit:cover;
  border-top-left-radius:.75rem;
  border-top-right-radius:.75rem;
}

/* Map iframe */
.map-container iframe{
  width:100%;
  height:100%;
  border-radius:.75rem;
}

/* =========================
   VIDEO (landscape without crop)
   - gunakan wrapper .video-landscape-nocrop
========================= */
.video-landscape-nocrop{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.video-landscape-nocrop video{
  width: 100%;
  height: 100%;
  object-fit: contain; /* tidak terpotong */
  object-position: center;
  background: #000;
}

/* Hide browser video controls overlay (Chrome/Safari) */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button{
  display: none !important;
}

/* =========================
   SECTION WARM (merah-kuning)
========================= */
.section-warm-bg{
  background: linear-gradient(135deg, #7a0c0c 0%, #b91c1c 40%, #f59e0b 120%);
  position: relative;
  color: rgba(255,255,255,0.92);
}

/* glow kuning halus di sisi kanan */
.section-warm-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right, rgba(245,158,11,0.22), transparent 60%);
  pointer-events: none;
}

/* teks di area warm */
.section-warm-bg h1,
.section-warm-bg h2,
.section-warm-bg h3,
.section-warm-bg h4{
  color: #fff !important;
}

.section-warm-bg p,
.section-warm-bg li{
  color: rgba(255,255,255,0.90) !important;
}

/* label kecil / kicker */
.section-warm-bg .section-kicker{
  color: #F59E0B !important;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-warm-bg .muted{
  color: rgba(255,255,255,0.80) !important;
}

.section-warm-bg .divider{
  background: rgba(245,158,11,0.95) !important;
}

/* kembalikan warna normal untuk card putih di dalam warm */
.section-warm-bg .bg-white,
.section-warm-bg .bg-gray-50{
  color: #111827 !important;
}

.section-warm-bg .bg-white h3,
.section-warm-bg .bg-white h4,
.section-warm-bg .bg-gray-50 h3,
.section-warm-bg .bg-gray-50 h4{
  color: #111827 !important;
}

.section-warm-bg .bg-white p,
.section-warm-bg .bg-gray-50 p{
  color: #4b5563 !important;
}

.section-warm-bg .bg-white span,
.section-warm-bg .bg-gray-50 span{
  color: inherit !important;
}

/* harga merah tetap merah */
.section-warm-bg .bg-white .text-karebosiRed,
.section-warm-bg .bg-gray-50 .text-karebosiRed{
  color: #B91C1C !important;
}

/* catatan kecil */
.section-warm-bg p.text-xs{
  color: rgba(255,255,255,0.80) !important;
}

/* =========================
   SECTION DARK (seperti beranda)
========================= */
.section-dark-bg{
  position: relative;
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
}

.section-dark-bg::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
  pointer-events: none;
}

.section-dark-bg h1,
.section-dark-bg h2,
.section-dark-bg h3{
  color: #fff;
}

.section-dark-bg p{
  color: rgba(255,255,255,0.85);
}

/* card putih di section dark */
.section-dark-bg .bg-white{
  background: #fff;
  color: #111827;
}

.section-dark-bg .bg-white h3{ color:#111827; }
.section-dark-bg .bg-white p{ color:#4b5563; }
.section-dark-bg .text-karebosiRed{ color:#B91C1C; }

/* Biar section bisa full background meski di dalam container */
.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* HERO SLIDER: Portrait seperti poster (utuh, tidak crop) */
.hero-slider{
  position: relative;
  width: 100%;
  max-width: 420px;          /* biar mirip poster */
  margin-left: auto;         /* tetap rata kanan kolom */
  height: 520px;             /* tinggi poster */
  border-radius: 1rem;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Desktop */
@media (min-width: 1024px){
  .hero-slider{
    max-width: 460px;
    height: 580px;
  }
}

/* Gambar utuh */
.hero-slider img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;       /* UTUH */
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider img.active{
  opacity: 1;
}

/* =========================
   HERO SLIDER RESPONSIVE (MOBILE/TABLET)
========================= */

/* default desktop (biar tetap bagus di PC) */
.hero-slider{
  width: 100%;
  max-width: 460px;
  height: 580px;
  margin-left: auto;
  border-radius: 16px;
  overflow: hidden;
}

/* tablet */
@media (max-width: 1024px){
  .hero-slider{
    max-width: 420px;
    height: 520px;
    margin: 0 auto;
  }
}

/* mobile */
@media (max-width: 640px){
  .hero-slider{
    max-width: 320px;      /* jangan terlalu besar */
    height: 420px;         /* lebih pendek */
    margin: 14px auto 0;   /* rapihin jarak */
  }
}

/* extra small (hp kecil) */
@media (max-width: 380px){
  .hero-slider{
    max-width: 290px;
    height: 390px;
  }
}

/* =========================
   MENU HERO SLIDER (autoplay)
========================= */
.menu-slider{
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

@media (min-width: 1024px){
  .menu-slider{ height: 520px; }
}

@media (max-width: 640px){
  .menu-slider{ height: 320px; }
}

.menu-slider img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* full, no black bar */
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.menu-slider img.active{ opacity: 1; }

.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =========================
   GOOGLE MAP RESPONSIVE
========================= */
.map-container{
  width: 100%;
  height: 100%;
  min-height: 320px;      /* mobile */
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
}

@media (min-width: 768px){
  .map-container{ min-height: 420px; }
}

@media (min-width: 1024px){
  .map-container{ min-height: 520px; }
}

.map-container iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile dropdown menu jadi dark */
#mobile-menu{
  background: rgba(0,0,0,0.95) !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(12px);
}

/* Link di mobile menu jadi putih */
#mobile-menu a{
  color: rgba(255,255,255,0.90) !important;
}

/* Hover link */
#mobile-menu a:hover{
  background: rgba(255,255,255,0.10) !important;
  color: #F59E0B !important; /* karebosiYellow */
}

/* Link yang aktif (yang punya bg merah muda sebelumnya) */
#mobile-menu a.bg-red-50{
  background: rgba(255,255,255,0.12) !important;
  color: #F59E0B !important;
}

/* =========================
   WhatsApp Popup + Floating
========================= */
.wa-popup{
  position: fixed;
  right: 16px;
  bottom: 92px;
  width: min(320px, calc(100vw - 32px));
  background: rgba(10,10,10,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  z-index: 9999;
  overflow: hidden;
}

.wa-popup.hidden{ display:none; }

.wa-close{
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
}

.wa-head{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 14px 10px;
}

.wa-badge{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245,158,11,0.95); /* karebosiYellow */
  color: #000;
  font-weight: 900;
  font-size: 14px;
}

.wa-title{
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
}

.wa-sub{
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  margin-top: 2px;
}

.wa-body{
  padding: 0 14px 14px;
}

.wa-msg{
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
}

.wa-btn{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  background: #22c55e; /* hijau WA */
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.wa-btn:hover{
  filter: brightness(0.95);
}

.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  z-index: 9999;
  cursor: pointer;
  font-size: 22px;
}

@media (max-width: 640px){
  .wa-popup{ right: 12px; bottom: 88px; }
  .wa-float{ right: 12px; bottom: 12px; }
}

