/* ---------- Base ---------- */
:root{
  --bg-1: #07060a;        /* deep black */
  --bg-2: #1a0f0a;        /* warm brown */
  --gold: #d4af37;        /* gold accent */
  --gold-soft: rgba(212,175,55,0.12); /* gold glass tint */
  --glass-border: rgba(212,175,55,0.18);
  --glass-strong: rgba(255,255,255,0.04);
  --muted: #bfb7a2;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: #fff;
  -webkit-font-smoothing:antialiased;
  scroll-behavior: smooth;
}

.text-gold{
  color: var(--gold) !important;
}

/* NAV */
.navbar{
  background: linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5));
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.logo-circle{
  width:44px;height:44px;border-radius:50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.95), rgba(255,215,100,0.85));
  color:#111;font-weight:700;
  font-family:'Montserrat', serif;
}
.brand-title{
  font-family:'Montserrat', serif;
  color: var(--gold);
  font-weight:700;
  font-size:1rem}
  
.brand-sub{font-size:0.7rem; color:var(--muted)}

/* Section common */
section{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 0;
}

footer{
  min-height:50vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 0;
  border-top: 1px solid ;
  border-color:  rgba(212,175,55,0.5);
  /* border-style: 5px solid linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent); */
}

.footer-logo{
  max-width:200px;
  max-height:200px;
  /* object-fit:cover */
}

.highlight-text{
  text-shadow:
    0 0 1px rgba(255, 215, 0, 0.5),
    0 0 1px rgba(255, 215, 0, 0.4),
    0 0 1px rgba(255, 215, 0, 0.3);
  animation: goldGlow 3s ease-in-out infinite;
}
/* Animasi blink fade in dan out */
@keyframes goldGlow {
  0% {
    opacity: 0.9;
    text-shadow:
      0 0 1px rgba(255, 215, 0, 0.5),
      0 0 1px rgba(255, 215, 0, 0.4),
      0 0 1px rgba(255, 215, 0, 0.3);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 4px rgba(255, 215, 0, 0.8),
      0 0 4px rgba(255, 215, 0, 0.6),
      0 0 4px rgba(255, 215, 0, 0.5);
    transform: scale(1.02);
  }
  100% {
    opacity: 0.9;
    text-shadow:
      0 0 1px rgba(255, 215, 0, 0.5),
      0 0 1px rgba(255, 215, 0, 0.4),
      0 0 1px rgba(255, 215, 0, 0.3);
    transform: scale(1);
  }
}

.container{
  max-width:1140px;
}

/* HERO */
#welcome{
  /* background-image: url('../../images/img_setting/defaultbg.jpg'); */
  background-size:cover;
  background-position: center 0;
  position:relative;
  overflow:hidden;
}
#welcome::after{
  content:"";
  position:relative;
  inset:0;
  background:linear-gradient(180deg, rgba(10,6,4,0.5), rgba(10,4,2,0.6));
  mix-blend-mode:multiply;
}

/* hero glass */
.hero-glass{
  position:relative;
  z-index:2;
  background: linear-gradient(180deg, rgba(255, 245, 210, 0.06), rgba(20,12,6,0.06));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.hero-title{
  font-family:'Montserrat', serif;
  font-weight:700;
  font-size:2.8rem;
  line-height:1.02;
  color:#fff;
  margin-bottom:0.4rem;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.hero-title .gold{
  color:var(--gold); 
  text-shadow: 0 2px 12px rgba(212,175,55,0.25)}

/* Buttons */
.btn-gold{
  background: linear-gradient(90deg, rgba(212,175,55,0.95), rgba(255,215,100,0.9));
  color:#111;
  border:0;
  padding:0.6rem 1.2rem;
  font-weight:600;
  box-shadow:0 6px 18px rgba(212,175,55,0.08);
  text-decoration: none;
}
.btn-outline-gold{
  border: 1px solid rgba(212,175,55,0.6); 
  color:var(--gold); 
  background:transparent; 
  padding:0.6rem 1.1rem;
  text-decoration: none;
}
.btn-outline-gold:hover{ 
  background: rgba(212,175,55,0.06);
  text-decoration: none;
}
.btn-link-gold{
  /* background: linear-gradient(90deg, rgba(212,175,55,0.95), rgba(255,215,100,0.9)); */
  color:var(--gold);
  border:0;
  padding:0.9rem 1.2rem;
  font-weight:600;
  text-decoration: none;
}
.btn-link-gold:hover{
  background: var(--gold-soft);
  text-decoration: none;
  box-shadow:0 6px 18px rgba(212,175,55,0.08);
}

/* ABOUT */
.glass-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(20,12,6,0.03));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.about-img{
  max-height:800px;
  object-fit:cover}

/* ROOM CARDS */
.room-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(20,12,6,0.02));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.room-card:hover{ transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.room-img{
  width:100%;
  height:300px;
  object-fit:cover
}
.room-name{ 
  fontFamily-forum: 'Forum', cursive; 
  font-size:1.1rem; 
  color:#fff; 
  letter-spacing:0.2px; 
}
.stars i{ 
  margin:0 2px; 
  font-size:1rem; 
  color: #f0c96b; 
  text-shadow: 0 2px 6px rgba(0,0,0,0.4); 
}

/* HR gold */
.hr-gold{ 
    font-family: 'DM Sans', sans-serif;
  border:0; 
  height:1px; 
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent); 
  margin:0.75rem 0; }

/* Promo mini glass */
.glass-mini{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(20,12,6,0.02));
  border: 1px solid rgba(212,175,55,0.10);
  transition: transform .24s ease, box-shadow .24s ease;
}
.glass-mini:hover{ transform: translateY(-6px); box-shadow: 0 16px 40px rgba(212,175,55,0.06); }

/* modal glass */
.glass-popup{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(20,12,6,0.02));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

/* small screens adjustments */
@media (max-width: 767px){
  .hero-title{ font-size:2rem; }
  .room-img{ height:300px; }
  section{padding:60px 0}
}

/* ---------- Animations (reveal) ---------- */
.fade-up{ opacity:0; transform:translateY(30px); transition:opacity .75s ease, transform .75s ease; }
.fade-left{ opacity:0; transform:translateX(-30px); transition:opacity .75s ease, transform .75s ease; }
.fade-right{ opacity:0; transform:translateX(30px); transition:opacity .75s ease, transform .75s ease; }
.fade-up.show, .fade-left.show, .fade-right.show{ opacity:1; transform:none }

/* tiny utilities */
.text-muted{ color:var(--muted) !important; }



/* ===== Royal Glassmorphism Table Style ===== */
.table-glass {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
  overflow: hidden;
  color: #f8e8b4;
  font-family: 'Montserrat', sans-serif;
}

/* Header */
.table-glass thead {
  background: rgba(255, 215, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffe18f;
}

.table-glass thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

/* Body */
.table-glass tbody tr {
  transition: background 0.3s ease, transform 0.2s ease;
}

.table-glass tbody tr:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.01);
}

.table-glass td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Action Buttons */
.table-action {
  display: flex;
  gap: 6px;
}

.table-action button {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.table-action button:hover {
  background: rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .table-glass thead {
    display: none;
  }

  .table-glass, .table-glass tbody, .table-glass tr, .table-glass td {
    display: block;
    width: 100%;
  }

  .table-glass tr {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
  }

  .table-glass td {
    border: none;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
  }

  .table-glass td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #ffd700;
  }
}


/* ===== Royal Glassmorphism Form Style ===== */
.form-glass {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  padding: 24px;
  color: #f8e8b4;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.form-glass h5 {
  font-family: 'Montserrat', serif;
  color: #ffeaa7;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.5px;
}

.form-glass label {
  font-weight: 500;
  color: #fcefb4 !important;
  display: block;
  margin-bottom: 6px;
}

.form-glass input[type="text"],
.form-glass input[type="password"],
.form-glass input[type="number"],
.form-glass input[type="file"],
.form-glass textarea,
.form-glass select {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #fff4cc;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-glass input:focus,
.form-glass textarea:focus,
.form-glass select:focus {
  outline: none;
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.form-glass textarea {
  resize: none;
}

/* Buttons */
.form-glass .btn-royal {
  /* display: inline-block; */
  /* width: 100%; */
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.form-glass .btn-royal:hover {
  background: rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
}

.form-glass .btn-reset {
  /* display: inline-block; */
  /* width: 100%; */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff8d6;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-glass .btn-reset:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Placeholder Styling */
.form-glass input::placeholder,
.form-glass textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .form-glass {
    padding: 16px;
  }
}

/* === Royal Glassmorphism Alert Style === */
.alert-glass {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  margin: 1rem auto;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease;
  animation: fadeSlideDown 0.6s ease;
}

/* Info, Success, Error variants */
.alert-glass.info {
  border-color: rgba(0, 191, 255, 0.4);
  color: #cfe8ff;
}

.alert-glass.success {
  border-color: rgba(50, 205, 50, 0.4);
  color: #b4ffb4;
}

.alert-glass.error {
  border-color: rgba(255, 99, 71, 0.4);
  color: #ffdcdc;
}

/* Gold accent border glow */
.alert-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.7), rgba(255, 255, 255, 0.1));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Close button */
.alert-glass .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: transparent;
  border: none;
  color: #ffd700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.alert-glass .btn-close:hover {
  transform: scale(1.2);
  color: #fff;
}

/* Entry animation */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}