/* ================= RESET ================= */

*{
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
  margin:0;
  padding:0;
}

body{
  background:#fff;
  color:#333;
}

/* ================= CONTAINER ================= */

.container{
  max-width:1100px;
  margin:auto;
  padding:0 20px;
}

/* ================= NAVBAR FIX ================= */

.navbar{
  position:sticky;
  top:0;
  width:100%;
  background:#fff;
  z-index:2000;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
}

/* Container navbar */
.nav-flex{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ===== LOGO ===== */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.logo span{
  font-size:18px;
  font-weight:700;
  color:#ff7a00;
  white-space:nowrap;
}

/* ===== MENU ===== */

nav{
  display:flex;
  align-items:center;
  gap:30px;
}

nav a{
  text-decoration:none;
  color:#333;
  font-weight:500;
  font-size:15px;
  padding:6px 10px;
  border-radius:8px;
  transition:.3s;
}

nav a:hover{
  background:#ffe2c6;
  color:#ff7a00;
}

nav a.active{
  background:#ff7a00;
  color:#fff;
}

/* ===== BUTTON WA ===== */

.btn-wa{
  background:#ff7a00;
  color:#fff;
  padding:10px 18px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:.3s;
  white-space:nowrap;
}

.btn-wa:hover{
  background:#e66c00;
  box-shadow:0 0 15px rgba(255,122,0,.6);
}

/* ================= MOBILE ================= */

@media(max-width:900px){

  nav{
    display:none;   /* menu disembunyikan dulu */
  }

  .btn-wa{
    padding:9px 14px;
    font-size:13px;
  }

  .logo span{
    font-size:16px;
  }

}

.navbar{
  backdrop-filter:blur(8px);
}

/* ===== NAVBAR STABILITY FIX ===== */

.navbar{
  left:0;
  right:0;
}

/* cegah overflow horizontal */
body{
  overflow-x:hidden;
}

/* pastikan container tidak lebih lebar dari layar */
.nav-flex{
  width:100%;
  box-sizing:border-box;
}

/* logo jangan memaksa melebar */
.logo{
  min-width:0;
}

.logo span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* tombol WA tidak memaksa bar melebar */
.btn-wa{
  max-width:160px;
  text-align:center;
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger{
  display:none;
  font-size:26px;
  cursor:pointer;
  color:#ff7a00;
}

/* ================= MOBILE NAV ================= */
@media(max-width:900px){

  .hamburger{
    display:block;
  }

  nav{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;

    display:flex;
    flex-direction:column;
    gap:10px;

    padding:15px 20px;
    box-shadow:0 10px 20px rgba(0,0,0,.1);

    transform:scaleY(0);
    transform-origin:top;
    transition:.3s;
  }

  nav.show{
    transform:scaleY(1);
  }

  nav a{
    padding:10px;
    border-radius:8px;
  }
}

/* ================= MOBILE FIX ================= */

@media(max-width:900px){

  .nav-flex{
    padding:12px 14px;
  }

  .logo img{
    width:36px;
    height:36px;
  }

  .logo span{
    font-size:15px;
  }

  .btn-wa{
    padding:8px 12px;
    font-size:12px;
  }

}

/* ================= HERO ================= */

.hero{
  height:100vh;
  background-size:cover;
  background-position:center;
  position:relative;
  color:#fff;
}

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(255,122,0,.7),
    rgba(0,0,0,.6)
  );
}

.hero-content{
  position:relative;
  z-index:5;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  animation:fadeUp 1s ease forwards;
}

.hero h1{
  font-size:42px;
  margin-bottom:30px;
}

.hero p{
  max-width:480px;
  font-size:14px;
}

.hero-btn{
  margin-top:40px;
}

.btn-primary,
.btn-outline{
  padding:12px 22px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.btn-primary{
  background:#ff7a00;
  color:#fff;
}

.btn-primary:hover{
  background:#ff5a00;
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(255,122,0,.5);
}

.btn-outline{
  border:2px solid #fff;
  color:#fff;
}

.btn-outline:hover{
  background:#fff;
  color:#ff7a00;
}

/* ================= SOCIAL HERO ================= */

.follow-text{
  margin-top:40px;
  font-size:13px;
  letter-spacing:2px;
  color:#fff;
  text-shadow:0 0 10px #ff7a00;
}

.hero-social{
  margin-top:12px;
  display:flex;
  gap:14px;
  justify-content:center;
}

.social{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.social svg{
  width:22px;
  height:22px;
  fill:#333;
}

.social:hover{
  transform:translateY(-4px) scale(1.05);
}

.social.ig:hover{ background:#E1306C; }
.social.tt:hover{ background:#000; }
.social.yt:hover{ background:#FF0000; }
.social.fb:hover{ background:#1877F2; }

.social:hover svg{ fill:#fff; }

/* ================= SECTION ================= */

.section{
  padding:70px 0;
}

.section.alt{
  background:#f9f9f9;
}

.section h2{
  text-align:center;
  margin-bottom:25px;
}

/* ================= GRID ================= */

.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,280px));
  gap:32px;
  justify-content:center;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}

/* ================= PREMIUM CARD ================= */

.card{
  position:relative;
  width:100%;
  max-width:280px;
  background:#111;
  border-radius:18px;
  padding:3px;
  overflow:hidden;

  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;

  transition:.4s;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

/* Background image tengah */
.card::before{
  content:"";
  position:absolute;
  inset:3px;
  background:url("../images/hero.jpg") center/cover no-repeat;
  border-radius:14px;
  z-index:0;
}

/* Overlay gelap */
.card::after{
  content:"";
  position:absolute;
  inset:3px;
  background:rgba(0,0,0,.55);
  border-radius:14px;
  z-index:0;
}

/* Isi konten */
.card > *{
  position:relative;
  z-index:1;
  padding:22px;
}

.card h3{
  font-size:20px;
  color:#fff;
  margin-bottom:8px;
}

.card .price{
  font-size:20px;
  font-weight:700;
  color:#ffb347;
}

.card p{
  font-size:14px;
  color:#eee;
  margin-top:6px;
}

/* Hover card */
.card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(255,122,0,.35),
    0 0 25px rgba(255,122,0,.35);
}

/* ================= CARD BUTTON ================= */

.card a{
  margin:12px auto 0;
  padding:12px 22px;
  border-radius:10px;
  background:linear-gradient(135deg,#ff7a00,#ff9f1a);
  color:white;
  text-decoration:none;
  font-weight:600;
  min-width:160px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  position:relative;
  overflow:hidden;
  transition:.3s;
}

.card a:hover{
  transform:translateY(-3px);
  box-shadow:
    0 0 10px rgba(255,122,0,.8),
    0 0 25px rgba(255,122,0,.6);
}

.card a:active{
  transform:scale(.95);
}

/* Ripple */
.card a::after{
  content:"";
  position:absolute;
  width:0;
  height:0;
  background:rgba(255,255,255,.5);
  border-radius:50%;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  transition:.5s;
}

.card a:active::after{
  width:300px;
  height:300px;
}

/* ================= ICON CARD ================= */

.icon-card{
  background:#fff;
  padding:25px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
  transition:.3s;
}

.icon-card:hover{
  transform:translateY(-6px);
}

/* ================= CTA ================= */

.cta{
  background:#ff7a00;
  color:#fff;
  text-align:center;
  padding:60px 40px;
}

/* ================= CTA FIX ================= */

.cta{
  background:#ff7a00;
  color:#fff;
  text-align:center;
  padding:70px 20px;

  display:flex;
  align-items:center;
  justify-content:center;
}

.cta .container{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;               /* jarak antar elemen */
}

.cta h2{
  font-size:32px;
  line-height:1.3;
  margin:0;
}

.cta p{
  font-size:16px;
  max-width:600px;
  line-height:1.6;
}

.cta .btn-primary{
  margin-top:10px;
}

@media(max-width:480px){
  .cta h2{
    font-size:24px;
  }
}

/* ===== CTA BUTTON WITH ICON ===== */

.btn-wa-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.btn-wa-cta .wa-icon{
  font-size:18px;
}

/* ================= FOOTER ================= */

footer{
  background:#222;
  color:#fff;
  text-align:center;
  padding:20px;
}

/* ================= SLIDER ================= */

.slider{
  position:relative;
  overflow:hidden;
  border-radius:15px;
}

.slides{
  display:flex;
  transition:.6s;
}

.slides img{
  width:100%;
  height:350px;
  object-fit:cover;
}

.prev,.next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.5);
  color:#fff;
  border:none;
  width:45px;
  height:45px;
  border-radius:50%;
  cursor:pointer;
}

.prev{ left:15px; }
.next{ right:15px; }

.prev:hover,.next:hover{
  background:#ff7a00;
}

.slides img{
  width:33.333%;   /* 3 foto */
}

/* ================= FLOAT WA ================= */

.wa-float{
  position:fixed;
  bottom:25px;
  right:25px;
  width:60px;
  height:60px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:999;
  box-shadow:0 10px 25px rgba(0,0,0,.3);
  animation:pulse 2s infinite;
}

/* ================= FLOAT WA FIX ================= */

.wa-float{
  position:fixed;
  bottom:25px;
  right:25px;

  width:60px;
  height:60px;
  border-radius:50%;

  background:#25D366;
  color:white;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  z-index:999;

  box-shadow:0 10px 25px rgba(0,0,0,.3);
  transition:.3s ease;

  opacity:0;
  transform:translateY(20px);
}

/* muncul saat scroll */
.wa-float.show{
  opacity:1;
  transform:translateY(0);
}

/* hover efek */
.wa-float:hover{
  transform:scale(1.1);
}

/* Tooltip */
.wa-tooltip{
  position:absolute;
  right:75px;
  background:#222;
  color:#fff;
  padding:6px 10px;
  border-radius:6px;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition:.3s;
  white-space:nowrap;
}

.wa-float:hover .wa-tooltip{
  opacity:1;
}

/* SVG di tengah */
.wa-float svg{
  width:28px;
  height:28px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){
  nav{
    display:flex;
  }
}

@media(max-width:480px){

  .hero h1{ font-size:28px; }

  .social{
    width:34px;
    height:34px;
  }

  .social svg{
    width:18px;
    height:18px;
  }
}

@media(max-width:600px){
  nav{
    gap:8px;
    font-size:14px;
  }

  nav a{
    padding:6px 10px;
  }
}

/* ================= ANIMATION ================= */

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.6); }
  70%{ box-shadow:0 0 0 18px rgba(37,211,102,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

/* ================= REVEAL ANIMATION ================= */

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:1s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* ================= GALLERY GRID ================= */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px,1fr));
  gap:15px;
  margin-top:30px;
}

.gallery-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  cursor:pointer;
  transition:.3s;
}

.gallery-grid img:hover{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,.3);
}

/* ===== WA MODAL ===== */

.wa-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
}

.wa-box{
  background:#fff;
  padding:25px;
  width:300px;
  border-radius:12px;
  text-align:center;
}

.wa-box h3{
  margin-bottom:12px;
}

.wa-box a{
  display:block;
  background:#ff7a00;
  color:#fff;
  padding:12px;
  margin:10px 0;
  border-radius:8px;
  text-decoration:none;
}

.wa-box a:hover{
  background:#ff5a00;
}

.wa-box button{
  background:#ccc;
  border:none;
  padding:10px 18px;
  border-radius:6px;
  cursor:pointer;
}

/* ===== LIGHTBOX ===== */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:3000;
}

.lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}

/* ===== CONTACT GRID FIX ===== */

.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 280px));
  gap:32px;
  justify-content:center;
  align-items:stretch;
}

.contact-grid .card{
  height:100%;
}

.contact-grid .card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}

@media(max-width:768px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

/* ================= FIX CARD TEXT ALIGNMENT ================= */

.card{
  justify-content:space-between;   /* isi menyebar rapi */
}

.card > *{
  padding:0;                       /* hapus padding besar sebelumnya */
}

/* Bungkus isi card lebih terkontrol */
.card{
  padding:26px 22px;
}

/* Judul */
.card h3{
  font-size:20px;
  font-weight:600;
  margin-bottom:12px;
  line-height:1.3;
}

/* Harga */
.card .price{
  font-size:22px;
  font-weight:700;
  margin:12px 0;
  letter-spacing:.5px;
}

/* Deskripsi (9 Hari • Hotel 3*) */
.card p{
  font-size:14px;
  margin-bottom:18px;
  line-height:1.4;
}

/* Tombol */
.card a{
  margin-top:auto;               /* dorong tombol ke bawah */
  min-width:170px;
  padding:12px 24px;
  font-size:14px;
}

.card .price{
  text-shadow:0 0 10px rgba(255,180,70,.6);
}

/* RESET PADDING DEFAULT ISI CARD */
.card > *{
  padding:0;
}

/* ================= CONTACT ROW FIX ================= */

.contact-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  margin-bottom:14px;
  line-height:1.6;
}

.contact-row span{
  font-size:18px;
}

.contact-row a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
  text-align:center;
}

.contact-row a:hover{
  text-decoration:underline;
}

.card{
  padding:18px;
}

.card h3{
  margin-bottom:18px;
}

.map-btn{
  margin-top:12px;
}


/* ================= STAFF ================= */

.staff-grid{
  display:flex;
  flex-direction:column;
  gap:60px;
  align-items:center;
}

/* Direktur tengah */
.staff-center{
  display:flex;
  justify-content:center;
}

.staff-grid-4{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:50px;
  width:100%;
  max-width:900px;
}

.staff-card{
  position:relative;
  width:220px;
  margin:auto;
  text-align:center;
}

.staff-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50%;
  border:6px solid #fff;
  box-shadow:0 10px 25px rgba(0,0,0,.3);
}

/* Direktur lebih besar */
.staff-card.big{
  width:260px;
}

.staff-label{
  background:#ff7a00;
  color:#fff;
  padding:10px 18px;
  border-radius:20px;
  font-weight:600;
  margin-top:-20px;
  display:inline-block;
  box-shadow:0 6px 15px rgba(0,0,0,.25);
}

.staff-label span{
  display:block;
  font-size:13px;
  font-weight:500;
}

/* ===== STAFF HOVER GLOW EFFECT ===== */

.staff-card{
  transition:0.35s ease;
  position:relative;
}

/* Glow saat hover */
.staff-card:hover{
  transform:translateY(-8px) scale(1.03);
  box-shadow:
    0 0 15px rgba(255,122,0,.6),
    0 0 30px rgba(255,122,0,.4),
    0 0 60px rgba(255,122,0,.2);
}

/* Glow lingkaran foto */
.staff-card img{
  transition:.35s ease;
}

.staff-card:hover img{
  box-shadow:
    0 0 10px rgba(255,122,0,.8),
    0 0 25px rgba(255,122,0,.6);
}

/* Efek glow label nama */
.staff-card .label{
  transition:.35s ease;
}

.staff-card:hover .label{
  box-shadow:
    0 0 10px rgba(255,122,0,.9),
    0 0 25px rgba(255,122,0,.6);
}

/* ===== ISLAMIC WATERMARK BACKGROUND (IMPROVED) ===== */

.section,
.section.alt,
.hero,
.cta{
  position:relative;
  overflow:hidden;
}

/* layer watermark */
.section::before,
.section.alt::before,
.hero::before,
.cta::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);

  width:100%;
  max-width:900px;
  height:420px;

  background-image:url("/static/images/islamic-bg.png");
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:contain;

  opacity:0.06;
  pointer-events:none;
  z-index:0;
}

/* pastikan konten di atas watermark */
.section > .container,
.section.alt > .container,
.hero > .container,
.cta > .container{
  position:relative;
  z-index:2;
}

@media(max-width:768px){
  .section::before,
  .section.alt::before,
  .hero::before,
  .cta::before{
    height:260px;
    max-width:600px;
  }
}

/* ===== ISLAMIC SUBTLE PATTERN OVERLAY ===== */

.section::after,
.section.alt::after,
.hero::after,
.cta::after{
  content:"";
  position:absolute;
  inset:0;

  background-image:url("/static/images/islamic-pattern.svg");
  background-repeat:repeat;
  background-size:180px 180px;

  opacity:0.035;     /* super halus */
  pointer-events:none;
  z-index:1;
}

/* Konten tetap di atas */
.section > .container,
.section.alt > .container,
.hero > .container,
.cta > .container{
  position:relative;
  z-index:2;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px){

  .section::after,
  .section.alt::after,
  .hero::after,
  .cta::after{

    background-size:140px 140px;   /* lebih kecil di HP */
    opacity:0.025;                 /* lebih halus */
    background-position:center top;
  }

}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15)
  );
  z-index:0;
}

/* ================= CONTACT MOBILE FIX ================= */
@media (max-width: 600px){

  .contact-grid{
    grid-template-columns: 1fr;   /* jadi 1 kolom */
    gap:18px;
  }

  .contact-grid .card{
    width:100%;
    max-width:340px;
    margin:auto;
    padding:18px 16px;
    border-radius:18px;
  }

  .contact-grid h3{
    text-align:center;
    font-size:18px;
    margin-bottom:12px;
  }

  .contact-row{
    text-align:center;
    margin-bottom:10px;
  }

  .contact-row a{
    display:block;
    background:#ff7a00;
    color:#fff;
    padding:12px;
    border-radius:10px;
    font-weight:600;
    text-decoration:none;
  }

  .map-btn{
    display:block;
    margin-top:12px;
    width:100%;
    text-align:center;
  }

}

/* ===== MULTI IMAGE SLIDER FIX ===== */

.slider{
  overflow:hidden;
}

.slides{
  display:flex;
  gap:15px;
  transition:0.5s;
}

.slides img{
  width:260px;        /* ukuran kartu */
  height:200px;
  object-fit:cover;
  border-radius:10px;
  flex-shrink:0;
}

/* ================= ANIMASI GLOBAL ================= */

/* Default hidden */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

/* Saat aktif */
.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* Delay Variasi */
.delay-1{ transition-delay:.1s; }
.delay-2{ transition-delay:.2s; }
.delay-3{ transition-delay:.3s; }

/* Hover Card */
.card,
.staff-card,
.icon-card,
.slides img{
  transition:transform .3s ease, box-shadow .3s ease;
}

.card:hover,
.staff-card:hover,
.icon-card:hover,
.slides img:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* Button hover */
.btn-primary,
.btn-outline{
  transition:all .3s ease;
}

.btn-primary:hover{
  transform:scale(1.05);
}

.btn-outline:hover{
  transform:scale(1.05);
}

.hero-content{
  animation:heroFade 1s ease;
}

@keyframes heroFade{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.music-btn{
 position:fixed;
 bottom:110px;
 right:20px;
 width:45px;
 height:45px;
 background:#ff8c00;
 color:white;
 border-radius:50%;
 display:flex;
 align-items:center;
 justify-content:center;
 cursor:pointer;
 z-index:9999;
}