/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#f4f7fb;
color:#1e293b;
overflow-x:hidden;
}

img{
width:100%;
display:block;
}

a{
text-decoration:none;
}

/* ================= HEADER ================= */

header{
position:relative;
height:100vh;
overflow:hidden;
}

.header-slider{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:-2;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:1.5s;
}

.slide.active{
opacity:1;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.55);
z-index:-1;
}

/* ================= NAVBAR (FIXED DI ATAS SEMUA) ================= */

.navbar{
position:fixed;
top:20px;
left:50%;
transform:translateX(-50%);
width:92%;
padding:18px 30px;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,.1);
backdrop-filter:blur(15px);
border-radius:24px;
z-index:99999;
pointer-events:auto;
}

.navbar.scrolled{
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.08);
}

.navbar.scrolled .logo{
    color: #f8fafc;
}

.navbar.scrolled .menu-toggle{
    color: #f8fafc;
}

.navbar.scrolled .nav-links a{
    color: #f8fafc;
}

.navbar.scrolled .nav-links a:hover{
    color: #f4c542;
    transition: 0.3s;
}

.logo{
font-size:32px;
font-weight:800;
color:#fff;
}

.nav-links{
display:flex;
gap:25px;
}

.nav-links a{
color:#fff;
font-weight:500;
}

.menu-toggle{
display:none;
font-size:32px;
color:#fff;
cursor:pointer;
}

/* MOBILE MENU */
.mobile-menu{
position:fixed;
top:0;
right:-320px;
width:300px;
height:100vh;
background:#07132d;
padding:100px 25px 30px;
display:flex;
flex-direction:column;
gap:18px;
transition:.4s ease;
z-index:100000;
box-shadow:-10px 0 30px rgba(0,0,0,.25);
}

.mobile-menu.active{
right:0;
}

.mobile-menu a{
color:#fff;
font-size:17px;
padding:14px 18px;
border-radius:14px;
background:rgba(255,255,255,.05);
}

.close-menu{
position:absolute;
top:25px;
right:25px;
font-size:35px;
color:#fff;
cursor:pointer;
}

.menu-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.5);
opacity:0;
visibility:hidden;
transition:.3s;
z-index:50000;
}

.menu-overlay.active{
opacity:1;
visibility:visible;
}

/* ================= HERO ================= */

.hero{
width:100%;
height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:0 20px;
}

.hero-content{
width:100%;
max-width:1200px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
margin:auto;
}

.hero-content h1{
width:100%;
font-size:clamp(42px, 8vw, 95px);
font-weight:800;
color:#fff;
line-height:1.1;
letter-spacing:1px;
text-align:center;
margin-bottom:25px;
text-shadow:0 10px 35px rgba(0,0,0,0.35);
}

.hero-content p{
width:100%;
max-width:850px;
font-size:clamp(16px, 2vw, 22px);
line-height:1.9;
color:#f8fafc;
text-align:center;
margin:0 auto;
padding:0 10px;
text-shadow:0 5px 20px rgba(0,0,0,0.25);
}

.hero-content .btn{
margin-top:35px;
}

/* ================= BUTTON ================= */

.btn{
padding:15px 35px;
border-radius:50px;
font-weight:700;
display:inline-block;
background:#f4c542;
color:#000;
margin-top:25px;
}

/* ================= SECTION ================= */

section{
padding:100px 8%;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:45px;
margin-bottom:15px;
}

.section-title p{
max-width:700px;
margin:0 auto;
text-align:center;
line-height:1.9;
color:#64748b;
padding:0 15px;
font-size:17px;
}

/* ================= ABOUT ================= */

.about-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
background:#fff;
padding:40px;
border-radius:35px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.about-image img{
width:100%;
height:450px;
object-fit:cover;
border-radius:25px;
}

.about-content{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
}

.about-content h3{
font-size:38px;
margin-bottom:20px;
color:#07132d;
text-align:center;
width:100%;
}

.about-content p{
line-height:2;
margin-bottom:20px;
color:#475569;
text-align:center;
max-width:600px;
}

.about-content .btn{
margin-top:10px;
display:inline-block;
text-align:center;
}

/* ================= ROOM ================= */

.room-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.room-card{
background:#fff;
border-radius:30px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.slider{
position:relative;
overflow:hidden;
}

.slides{
display:flex;
transition:transform .4s ease;
touch-action:pan-y;
}

.slides img{
width:100%;
min-width:100%;
height:260px;
object-fit:cover;
}

.slider-controls{
display:flex;
justify-content:center;
align-items:center;
gap:15px;
padding:15px;
}

.prev,
.next{
width:45px;
height:45px;
border:none;
border-radius:50%;
background:#07132d;
color:#fff;
font-size:18px;
cursor:pointer;
}

.dots{
display:flex;
gap:8px;
}

.dot{
width:10px;
height:10px;
border-radius:50%;
background:#cbd5e1;
cursor:pointer;
}

.dot.active{
background:#f59e0b;
}

.room-content{
padding:25px;
}

.room-content h3{
font-size:30px;
margin-bottom:10px;
}

.price{
font-size:24px;
font-weight:700;
color:#f59e0b;
margin-bottom:15px;
}

.facilities{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.facilities span{
background:#eef2ff;
padding:8px 15px;
border-radius:30px;
font-size:14px;
}

/* ================= BOOKING ================= */

.booking-container{
max-width:1100px;
margin:auto;
}

.booking-form{
background:#fff;
padding:40px;
border-radius:30px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
position:relative;
overflow:hidden;
}

.booking-form::before{
content:'';
position:absolute;
top:-120px;
right:-120px;
width:250px;
height:250px;
background:rgba(244,197,66,0.08);
border-radius:50%;
z-index:0;
}

.booking-form > *{
position:relative;
z-index:2;
}

.booking-form input,
.booking-form select,
.booking-form textarea{
width:100%;
padding:18px 20px;
border-radius:18px;
border:2px solid #e2e8f0;
margin-bottom:15px;
font-size:16px;
background:#fff;
transition:0.3s;
resize:none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus{
outline:none;
border-color:#f4c542;
box-shadow:0 0 0 4px rgba(244,197,66,0.15);
}

.booking-form textarea{
min-height:140px;
line-height:1.8;
text-align:left;
padding:18px 20px;
overflow:hidden;
}

.booking-grid{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:15px;
}

.room-item{
background:#f8fafc;
padding:20px;
border-radius:25px;
margin-bottom:20px;
}

.room-total{
margin:15px 0;
font-weight:700;
font-size:18px;
}

.subtotal{
color:#f59e0b;
}

.add-room{
width:100%;
padding:16px;
border:none;
background:#07132d;
color:#fff;
border-radius:18px;
font-size:17px;
font-weight:700;
cursor:pointer;
margin-bottom:20px;
}

.remove-room{
padding:12px 18px;
border:none;
background:#ef4444;
color:#fff;
border-radius:14px;
cursor:pointer;
}

.grand-total{
background:#07132d;
padding:30px;
border-radius:25px;
text-align:center;
margin-bottom:25px;
color:#fff;
}

#grandTotal{
font-size:40px;
font-weight:800;
color:#f4c542;
margin-top:10px;
}

.booking-btn{
width:100%;
padding:18px;
border:none;
background:#f4c542;
color:#000;
font-size:18px;
font-weight:800;
border-radius:18px;
cursor:pointer;
}

/* PAYMENT INFO */
.payment-info{
background:#fff7ed;
color:#9a3412;
padding:18px;
border-radius:18px;
margin-bottom:20px;
line-height:1.8;
font-weight:500;
border:2px dashed #fdba74;
}

/* PAYMENT DETAIL */
.payment-detail{
display:none;
margin-top:18px;
margin-bottom:20px;
padding:22px;
border-radius:22px;
background:#f8fafc;
border:2px solid #e2e8f0;
line-height:1.9;
animation:fadeIn .3s ease;
}

.payment-detail.active{
display:block;
}

.payment-detail h4{
margin-bottom:12px;
color:#07132d;
font-size:20px;
}

.payment-detail p{
color:#475569;
font-size:15px;
}

.payment-detail .rekening{
margin-top:12px;
padding:15px;
border-radius:16px;
background:#07132d;
color:#fff;
font-size:18px;
font-weight:700;
text-align:center;
letter-spacing:1px;
}

/* UPLOAD BOX */
.upload-box{
margin-bottom:25px;
}

.upload-label{
width:100%;
display:flex;
justify-content:center;
align-items:center;
gap:10px;
padding:18px;
border-radius:20px;
background:#07132d;
color:#fff;
cursor:pointer;
font-weight:700;
font-size:16px;
transition:0.3s;
}

.upload-label:hover{
transform:scale(1.01);
}

.preview-container{
margin-top:20px;
display:none;
width:100%;
animation:fadeIn .3s ease;
}

.preview-container img{
width:100%;
max-height:350px;
object-fit:cover;
border-radius:24px;
border:3px solid #e2e8f0;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

@keyframes fadeIn{
from{ opacity:0; transform:translateY(10px); }
to{ opacity:1; transform:translateY(0); }
}

/* STATUS BOOKING */
#statusBooking{
margin-top:18px;
text-align:center;
font-size:15px;
}

/* ================= MAP ================= */
.maps iframe{
width:100%;
height:450px;
border:none;
border-radius:30px;
}

/* ================= FOOTER ================= */
.footer{
background:#07132d;
color:#fff;
padding:80px 8% 30px;
}

.footer h2{
font-size:42px;
margin-bottom:20px;
}

.footer p,
.footer-info-item p{
line-height:2;
color:#cbd5e1;
}

.footer-info{
margin-top:20px;
}

.footer-info-item{
display:flex;
gap:10px;
margin-bottom:15px;
}

.footer-bottom{
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.1);
text-align:center;
}

/* ================= WHATSAPP ================= */
.whatsapp{
position:fixed;
right:20px;
bottom:20px;
width:65px;
height:65px;
background:#25d366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:30px;
color:#fff;
z-index:9999;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px){
.hero-content h1{ font-size:60px; }
.section-title h2{ font-size:38px; }
.about-content h3{ font-size:32px; }
.room-content h3{ font-size:26px; }
}

@media(max-width:992px){
.navbar{ width:95%; padding:15px 20px; }
.hero-content h1{ font-size:52px; }
.about-container{ grid-template-columns:1fr; }
.room-container{ grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.booking-grid{ grid-template-columns:1fr; }
}

@media(max-width:768px){
.hero-content h1{ font-size:48px; }
.nav-links{ display:none; }
.menu-toggle{ display:block; }
.booking-grid{ grid-template-columns:1fr; }
.about-container{ grid-template-columns:1fr; }
.about-content h3{ font-size:30px; }
.booking-form::before{ width:180px; height:180px; top:-90px; right:-90px; }
.hero-content p{ font-size:16px; line-height:1.8; max-width:95%; }
.section-title p{ font-size:15px; line-height:1.8; max-width:95%; }
}

@media(max-width:576px){
.hero-content h1{ font-size:40px; }
.hero-content p{ font-size:15px; }
.section-title h2{ font-size:30px; }
.btn{ padding:12px 25px; font-size:14px; }
.navbar{ border-radius:18px; padding:12px 18px; }
#grandTotal{ font-size:32px; }
}

@media(max-width:480px){
.hero-content p{ font-size:15px; line-height:1.7; }
.section-title p{ font-size:14px; line-height:1.7; }
}

@media(max-width:400px){
.hero-content h1{ font-size:32px; }
.logo{ font-size:24px; }
}
