/* ================= GLOBAL ================= */
body{
  margin:0;
  font-family:'Poppins', sans-serif;
  background:#f1f5f9;
  color:#1e293b;
}

/* ================= NAVBAR ================= *//* ================= NAVBAR TRANSPARENT ================= */
.navbar{
  background:rgba(0,0,0,0.20); /* transparan */
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  padding:18px 0;
  transition:0.4s;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

/* saat scroll jadi solid premium */
.navbar.scrolled{
  background:rgba(0,94,196,0.88);
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ================= LOGO ================= */
.nav-logo{
  width:150px;
  height:auto;
  transition:0.3s;
}

.nav-logo:hover{
  transform:scale(1.05);
}

/* ================= MENU ================= */
.navbar-nav .nav-link{
  font-size:17px;
  font-weight:500;
  padding:10px 16px;
  color:#fff !important;
  letter-spacing:0.5px;
  position:relative;
  transition:0.3s;
}

/* hover underline luxury */
.navbar-nav .nav-link::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0%;
  height:2px;
  background:#ffd700;
  transform:translateX(-50%);
  transition:0.3s;
}

.navbar-nav .nav-link:hover::after{
  width:60%;
}

.navbar-nav .nav-link:hover{
  color:#ffd700 !important;
}

/* active menu */
.navbar-nav .nav-link.active{
  color:#ffd700 !important;
}

/* spacing menu biar lega */
.navbar-nav{
  gap:10px;
}

/* ================= HERO ================= */
/* ================= HERO SLIDE ================= */
.hero{
  height:80vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;

  /* SLIDE BACKGROUND */
  animation:heroSlide 18s infinite;
  background-size:cover;
  background-position:center;
}

/* SLIDE ANIMATION */
@keyframes heroSlide{

  0%{
    background-image:url('assets/bg3.jpg');
  }

  22%{
    background-image:url('assets/p2.jpg');
  }

  33%{
    background-image:url('assets/p1.jpg');
  }

  66%{
    background-image:url('assets/p13.jpg');
  }

  100%{
    background-image:url('assets/p3.jpg');
  }
}

/* OVERLAY tetap */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.65)
  );
  z-index:1;
}

/* BIAR TEXT DI ATAS */
.hero-content{
  position:relative;
  z-index:2;
}

/* CONTENT */
.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
  padding:20px;
}

/* TITLE BESAR & FOKUS */
.hero-title{
  font-size:clamp(36px, 5vw, 64px);
  font-weight:700;
  letter-spacing:1px;
  line-height:1.2;
  margin-bottom:10px;
}

/* SUBTEXT */
.hero-sub{
  font-size:clamp(16px, 2vw, 20px);
  margin-bottom:25px;
  opacity:0.9;
}

/* BUTTON */
.hero-btn{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.hero-btn .btn{
  font-size:16px;
  padding:12px 26px;
  border-radius:30px;
  transition:0.3s;
}

/* HOVER EFFECT HALUS */
.hero-btn .btn:hover{
  transform:translateY(-2px);
}

/* INFO ICON MODERN */
.hero-info{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:10px;
}

.hero-info span{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:15px;
  opacity:0.95;
}

.hero-info i{
  font-size:18px;
  color:#ffd700;
}

/* SCROLL DOWN */
.scroll-down{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  font-size:22px;
  opacity:0.85;
  animation:updown 1.5s infinite;
}

/* ANIMATION */
@keyframes updown{
  0%{transform:translate(-50%,0);}
  50%{transform:translate(-50%,8px);}
  100%{transform:translate(-50%,0);}
}


/* ================= BUTTON ================= */
.btn-primary{
  display:inline-block;
  margin-top:15px;
  padding:12px 22px;
  background:#005ec4;
  color:white;
  border-radius:10px;
  text-decoration:none;
  transition:0.3s;
}

.btn-primary:hover{
  background:#004a9c;
}

.btn-gold{
  background:#c8a96a;
  color:white;
  border:none;
}

/* ================= SECTION ================= */
.section{
  padding:70px 20px;
}

.section.light{
  background:#ffffff;
}

/* GAMBAR */
.detail-img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:15px;
}

/* NAMA */
#modalNama{
  font-size:20px;
  font-weight:600;
  margin-bottom:10px;
}

/* DESKRIPSI */
#modalDesc{
  font-size:14px;
  line-height:1.7;
  color:#555;
}

/* LIST AUTO RAPI */
#modalDesc ul{
  padding-left:18px;
  margin-top:10px;
}

#modalDesc li{
  margin-bottom:6px;
}

/* BUTTON */
#modalWA{
  padding:12px;
  font-size:14px;
  border-radius:8px;
}


/* ================= GRID ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  max-width:1100px;
  margin:auto;
}

/* ================= CARD ================= */
.card{
  background:white;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  transition:0.3s;
  border:none;
}

.card:hover{
  transform:translateY(-6px);
}

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.card-content{
  padding:18px;
}

.card h3{
  margin:10px 0 5px;
}

/* ================= STAT ================= */
.stat-box{
  text-align:center;
}

.stat-box h2{
  font-weight:700;
}

/* ================= FOOTER BASE ================= */
.footer-dafam{
  background:#005ec4;
  color:#fff;
}

/* ================= BRAND FLEX ================= */
.footer-brand{
  display:flex;
  align-items:center;
  gap:18px;
}

/* LOGO */
.footer-logo{
  width:90px;
  height:auto;
  object-fit:contain;
  transition:0.3s;
}

.footer-logo:hover{
  transform:scale(1.05);
}

/* TITLE */
.footer-title{
  font-size:25px;
  font-weight:600;
  margin-bottom:10px;
}

/* TEXT */
.footer-text{
  font-size:16px;
  line-height:1.6;
  color:rgba(255,255,255,0.85);
  margin-bottom:6px;
}

/* ================= CONTACT ITEM ================= */
.footer-item{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  font-size:15px;
}

.footer-item i{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,0.15);
  font-size:16px;
}

/* ================= MODERN LINK (SAFE SCOPE) ================= */
.footer-dafam a{
  color:inherit;
}

.footer-dafam .modern-link{
  font-weight:600;
  text-decoration:none;
  position:relative;
  transition:0.3s;
}

/* underline animasi */
.footer-dafam .modern-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:2px;
  background:#fff;
  transition:0.3s;
}

.footer-dafam .modern-link:hover{
  color:#ffd700;
}

.footer-dafam .modern-link:hover::after{
  width:100%;
}

/* ================= SOCIAL ICON ================= */
.icon-box{
  width:48px;
  height:48px;
  background:rgba(255,255,255,0.15);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
  transition:0.3s;
}

.icon-box:hover{
  background:#fff;
  color:#005ec4;
  transform:translateY(-4px);
}

/* ================= LINE ================= */
.footer-line{
  border-color:rgba(255,255,255,0.2);
}

/* ================= COPYRIGHT ================= */
.footer-copy{
  font-size:13px;
  color:rgba(255,255,255,0.75);
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .footer-brand{
    flex-direction:column;
    text-align:center;
  }

  .footer-logo{
    width:80px;
  }

  .footer-item{
    justify-content:center;
  }
}

/* GRID INPUT */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:20px;
}

.grid-3 input{
  padding:10px;
  border-radius:20px;
  border:none;
  background:#e5e7eb;
  font-size:14px;
}

/* RATING */
.rating-section{
  display:flex;
  gap:40px; /* 🔥 tambah jarak */
  align-items:flex-start; /* biar sejajar atas */
}

.rating-table{
  flex:1;
}

.rating-header,
.rating-row{
  display:grid;
  grid-template-columns:2fr repeat(4,50px);
  align-items:center;
  margin-bottom:10px;
}

.rating-header{
  font-weight:600;
  font-size:13px;
  text-align:center;
}

.rating-header div:not(:first-child){
  letter-spacing:0.5px;
}

.rating-row div:first-child{
  background:#f3f4f6;
  padding:8px;
  font-size:13px;
}

/* DOT */
.dot{
  width:18px;
  height:18px;
  border-radius:50%;
  background:#1f4fbf;
  opacity:0.25;
  cursor:pointer;
  margin:auto;
  transition:0.2s;
}

.dot.active{
  opacity:1;
  transform:scale(1.1);
}

/* COMMENT */
.comment-box{
  flex:1;
  padding-left:25px; /* 🔥 jarak tambahan dari kiri */
}

/* LABEL COMMENT */
.comment-box label{
  display:block;
  margin-bottom:12px;
  font-weight:500;
}

.comment-box textarea{
  width:100%;
  height:250px;
  border:none;
  background:
    repeating-linear-gradient(
      to bottom,
      #fff,
      #fff 28px,
      #ccc 29px
    );
  padding:10px;
  font-size:14px;
}

/* BUTTON */
.btn-submit{
  margin-top:20px;
  width:100%;
  padding:12px;
  background:#1f4fbf;
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:14px;
}

label::after{
  content:" *";
  color:red;
}


.review-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-top:20px;
}

.review-card{
  background:#fff;
  padding:18px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

.review-name{
  font-weight:600;
  margin-bottom:5px;
}

.review-rating{
  color:#facc15;
  margin-bottom:10px;
}

.review-text{
  font-size:14px;
  color:#555;
  line-height:1.6;
}

/* HEADER */
.review-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.logo-h{
  background:#e11d48;
  color:#fff;
  padding:4px 8px;
  border-radius:6px;
  font-weight:bold;
  margin-right:5px;
}

.rating-summary{
  display:flex;
  align-items:center;
  gap:10px;
}

.score{
  font-size:28px;
  font-weight:700;
}

.stars{
  color:#fbbf24;
}

.total{
  color:#6b7280;
  font-size:14px;
}

.btn-review{
  background:#1f4fbf;
  color:#fff;
  border:none;
  padding:10px 18px;
  border-radius:20px;
  font-size:13px;
  cursor:pointer;
}

/* GRID */
.review-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

/* CARD */
.review-card{
  background:#fff;
  padding:18px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  transition:0.3s;
}

.review-card:hover{
  transform:translateY(-5px);
}

/* TOP */
.review-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#ddd;
  overflow:hidden;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* NAME */
.review-name{
  font-weight:600;
  font-size:14px;
}

.review-date{
  font-size:12px;
  color:#9ca3af;
}

/* TEXT */
.review-text{
  font-size:14px;
  color:#555;
  margin:8px 0;
}

/* FOOTER */
.review-footer{
  font-size:12px;
  color:#9ca3af;
}

.review-footer span{
  color:#1f4fbf;
  font-weight:500;
}

/* SLIDER WRAP */
.review-slider{
  overflow:hidden;
  position:relative;
}

/* TRACK */
.review-track{
  display:flex;
  transition:0.5s ease;
}

/* PER PAGE */
.review-page{
  min-width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

/* MOBILE */
@media(max-width:768px){
  .review-page{
    grid-template-columns:1fr;
  }
}

/* NAV */
.review-nav button{
  border:none;
  background:#1f4fbf;
  color:#fff;
  padding:8px 14px;
  margin:0 5px;
  border-radius:6px;
  cursor:pointer;
}

.review-slider{
  overflow:hidden;
}

.review-track{
  display:flex;
  transition:0.5s ease;
}

.review-page{
  min-width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

@media(max-width:768px){
  .review-page{
    grid-template-columns:1fr;
  }
}

.review-card{
  background:#fff;
  padding:18px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

.review-nav button{
  border:none;
  background:#1f4fbf;
  color:#fff;
  padding:8px 14px;
  margin:0 5px;
  border-radius:6px;
  cursor:pointer;
}

/* ================= RESPONSIVE FIX (NON-DESTRUCTIVE) ================= */

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

  /* NAVBAR */
  .nav-logo{
    width:110px;
  }

  .navbar{
    padding:10px 0;
  }

  .navbar-nav{
    gap:0;
    text-align:center;
  }

  .navbar-nav .nav-link{
    padding:8px 0;
    font-size:14px;
  }

  /* HERO */
  .hero{
    height:70vh;
    padding:0 15px;
  }

  .hero-title{
    font-size:28px;
  }

  .hero-sub{
    font-size:14px;
  }

  .hero-btn{
    flex-direction:column;
    gap:10px;
  }

  .hero-info{
    gap:10px;
    font-size:13px;
  }

  /* GRID CARD (ROOM / PROMO / MEETING) */
  .card img{
    height:180px;
  }

  /* FORM */
  .grid-3{
    grid-template-columns:1fr;
  }

  /* RATING */
  .rating-section{
    flex-direction:column;
    gap:20px;
  }

  .rating-row{
    grid-template-columns:1fr repeat(4,35px);
  }

  .rating-header{
    display:none;
  }

  /* COMMENT */
  .comment-box{
    padding-left:0;
  }

  .comment-box textarea{
    height:180px;
  }

  /* REVIEW */
  .review-header{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .score{
    font-size:22px;
  }

  /* REVIEW GRID */
  .review-page{
    grid-template-columns:1fr;
  }

  .review-card{
    padding:15px;
  }

  /* FOOTER */
  .footer-brand{
    flex-direction:column;
    text-align:center;
  }

  .footer-item{
    justify-content:center;
  }

}


/* ===== TABLET (769px - 991px) ===== */
@media (min-width:769px) and (max-width:991px){

  /* HERO */
  .hero-title{
    font-size:38px;
  }

  /* GRID FORM */
  .grid-3{
    grid-template-columns:repeat(2,1fr);
  }

  /* REVIEW */
  .review-page{
    grid-template-columns:repeat(2,1fr);
  }

}


/* ===== DESKTOP LARGE (≥1200px) ===== */
@media (min-width:1200px){

  .container{
    max-width:1140px;
  }

  .hero-title{
    font-size:56px;
  }

}

/* ================= FIX CONTACT FOOTER ================= */

/* wrapper item biar sejajar */
.footer-item{
  display:flex;
  align-items:flex-start; /* penting biar icon sejajar atas */
  gap:12px;
  margin-bottom:14px;
  font-size:15px;
}

/* ICON */
.footer-item i{
  min-width:36px; /* biar semua icon rata */
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,0.15);
  font-size:16px;
  flex-shrink:0; /* 🔥 biar tidak gepeng */
}

/* TEXT */
.footer-item span{
  line-height:1.5;
  word-break:break-word; /* 🔥 penting untuk email panjang */
}

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

  .footer-item{
    justify-content:flex-start; /* jangan center */
    text-align:left;
  }

  .footer-item span{
    font-size:14px;
  }

}

.review-slider{
  overflow:hidden;
}

.review-track{
  display:flex;
  transition:0.5s;
}

.review-page{
  min-width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
}

.review-card{
  background:white;
  padding:15px;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.rating-summary{
  display:flex;
  align-items:center;
  gap:10px;
}

.rating-summary .stars{
  color:#fbbf24;
  letter-spacing:2px;
}

.score{
  font-size:24px;
  font-weight:bold;
}

.fade-in{
  animation:fadeIn .5s ease;
}
@keyframes fadeIn{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}

/* ================= GALLERY PREMIUM ================= */

.gallery-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  cursor:pointer;
  box-shadow:0 8px 25px rgba(0,0,0,0.12);
}

/* IMAGE */
.gallery-img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  transition:transform .6s ease;
}

/* ZOOM */
.gallery-card:hover .gallery-img{
  transform:scale(1.08);
}

/* OVERLAY */
.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.20);
  transition:.4s ease;
}

.gallery-card:hover::after{
  background:rgba(0,0,0,0.45);
}

/* TEXT */
.gallery-caption{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);

  z-index:2;

  color:#fff;
  font-size:24px;
  font-weight:700;
  letter-spacing:1px;
  text-align:center;

  width:90%;

  opacity:0;
  transition:.4s ease;

  text-shadow:0 4px 12px rgba(0,0,0,.6);
}

/* SHOW TEXT */
.gallery-card:hover .gallery-caption{
  opacity:1;
  transform:translate(-50%,-50%) scale(1.05);
}

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

  .gallery-img{
    height:220px;
  }

  .gallery-caption{
    font-size:18px;
  }

}

.facility-item{
  padding:20px;
  border-radius:15px;
  background:#fff;
  transition:0.3s;
}

.facility-item:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* ================= LOCATION ================= */

#location{
    padding: 90px 0;
    background: #f8f9fb;
}

#location h2{
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

#location .text-muted{
    max-width: 650px;
    margin: auto;
    color: #6b7280 !important;
}

.location-info{
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #eceff3;
    height: 100%;
    transition: all .3s ease;
}

.location-info:hover{
    transform: translateY(-3px);
    border-color: #d7dce3;
}

.location-info h4{
    font-weight: 600;
    color: #111827;
    margin-bottom: 25px;
}

.location-info p{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #4b5563;
    line-height: 1.7;
}

.location-info i{
    color: #0d6efd;
    font-size: 18px;
    margin-top: 3px;
}

.location-info .btn{
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 500;
    border: none;
    background: #0d6efd;
    transition: .3s;
}

.location-info .btn:hover{
    transform: translateY(-2px);
}

#location .ratio{
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eceff3;
    background: #fff;
}

#location iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

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

    #location{
        padding: 70px 0;
    }

    .location-info{
        padding: 25px;
    }

}