/* =====================================================================
   Hotel Management System — Public Website Styles
   ===================================================================== */
:root {
  /* Black + Red brand palette (logo). Legacy variable names are kept for
     compatibility — only their VALUES were remapped to the new colors. */
  --gold: #c8102e;     /* brand accent — red */
  --dark: #141414;     /* near-black surfaces */
  --darker: #0b0b0b;   /* deepest black */
  --green: #c8102e;    /* price accent — red */
  --body: #575757;     /* neutral body text */
  --light-bg: #f7f8fa;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, .serif { font-family: 'Playfair Display', Georgia, serif; color: var(--dark); }
img { max-width: 100%; }
a { text-decoration: none; }
.text-gold { color: var(--gold) !important; }
.bg-dark-hms { background: var(--dark) !important; }

/* ---------------- Navbar ---------------- */
#siteNav {
  background: transparent;
  padding: .9rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  z-index: 1030;
}
#siteNav.scrolled, #siteNav.menu-open {
  background: rgba(10, 10, 10, .96);
  backdrop-filter: blur(8px);
  padding: .55rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
#siteNav .brand-logo {height: 60px;width: auto;}
#siteNav .brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #9b0c22);
  color: #fff; font-size: 1.35rem;
}
#siteNav .brand-name {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-weight: 700;
  font-size: 2.18rem;
  line-height: 1.1;
  display: block;
}
#siteNav .brand-sub {
  color: rgba(255,255,255,.6);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  display: block;
}
#siteNav .nav-link {
  color: rgba(255,255,255,.85); font-weight: 500; font-size: .93rem;
  padding: .5rem .85rem !important; position: relative;
}
#siteNav .nav-link::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .18rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
#siteNav .nav-link:hover, #siteNav .nav-link.active { color: #fff; }
#siteNav .nav-link:hover::after, #siteNav .nav-link.active::after { transform: scaleX(1); }
#siteNav .navbar-toggler i { color: #fff; }
.btn-book {
  background: linear-gradient(135deg, var(--gold), #a00d24);
  color: #fff; font-weight: 600; border-radius: 50rem;
  box-shadow: 0 6px 18px rgba(200,16,46,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-book:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,16,46,.5); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background: var(--dark);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.72) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 8rem 0 5rem; }
.hero-content .eyebrow {
  color: var(--gold); letter-spacing: .28em; text-transform: uppercase;
  font-size: .78rem; font-weight: 600;
}
.hero-content h1 {
  color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 700; margin: .8rem 0 1rem;
}
.hero-content p.lead { color: rgba(255,255,255,.85); max-width: 620px; font-size: 1.08rem; }
.hero-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .5rem; }
.hero-dots button {
  width: 34px; height: 4px; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.35); transition: background .3s;
}
.hero-dots button.active { background: var(--gold); }
.hero-fallback {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, #241417 0%, var(--darker) 70%);
}
/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(180deg, #1a1a1a, var(--darker));
  color: #fff; padding: 9rem 0 4rem; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .crumb { color: rgba(255,255,255,.65); font-size: .9rem; }
.page-hero .crumb a { color: var(--gold); }

/* ---------------- Sections ---------------- */
.section { padding: 5rem 0; }
.section.alt { background: var(--light-bg); }
.section-eyebrow {
  color: var(--gold); letter-spacing: .25em; text-transform: uppercase;
  font-size: .74rem; font-weight: 700;
}
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
.section-lead { max-width: 640px; margin: 0 auto; }
.gold-line { width: 60px; height: 3px; background: var(--gold); border-radius: 2px; }

/* Room cards */
.room-card {
  border: 0; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.09);
  transition: transform .28s ease, box-shadow .28s ease;
  background: #fff; height: 100%;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.room-card .room-img { height: 220px; object-fit: cover; width: 100%; }
.room-card .room-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--green);
}
.room-card .room-price small { color: var(--body); font-family: 'Inter'; font-weight: 400; }
.room-card .old-price { text-decoration: line-through; color: #98a2ad; font-size: .9rem; }
.amenity-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--light-bg); border: 1px solid #e8ecf1;
  border-radius: 50rem; padding: .18rem .6rem; font-size: .74rem; color: var(--dark);
}
.status-chip {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(0,0,0,.78); color: #fff;
  font-size: .7rem; padding: .25rem .7rem; border-radius: 50rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.status-chip.available { background: rgba(46,139,87,.92); }
.status-chip.reserved { background: rgba(13,110,253,.85); }
.status-chip.occupied { background: rgba(220,53,69,.85); }
.status-chip.cleaning, .status-chip.maintenance, .status-chip.checkout_pending { background: rgba(253,164,20,.92); }

/* Facility / why-us tiles */
.feature-tile {
  background: #fff; border: 0; border-radius: 1rem;
  box-shadow: 0 6px 26px rgba(0,0,0,.07);
  padding: 1.6rem; height: 100%;
  transition: transform .25s ease;
}
.feature-tile:hover { transform: translateY(-4px); }
.feature-tile .icon-circle {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,16,46,.14), rgba(200,16,46,.05));
  color: var(--gold); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: .9rem;
}
.feature-tile h5 { font-size: 1.05rem; }
.feature-tile p { font-size: .88rem; margin: 0; }

/* Testimonials */
.testi-card {
  background: #fff; border-radius: 1rem; padding: 1.8rem;
  box-shadow: 0 6px 26px rgba(0,0,0,.07); height: 100%;
}
.testi-card .stars { color: var(--gold); }
.testi-card .quote { font-size: .92rem; font-style: italic; color: var(--body); }
.testi-card .who { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.testi-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-card .who .name { font-weight: 600; color: var(--dark); font-size: .9rem; }
.testi-card .who .role { font-size: .75rem; color: #98a2ad; }

/* Gallery */
.gallery-item {
  position: relative; border-radius: .9rem; overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.10); cursor: pointer;
}
.gallery-item img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: #fff; padding: 1.6rem .9rem .7rem; font-size: .85rem;
}
.gallery-filter .btn {
  border-radius: 50rem; padding: .3rem 1rem; font-size: .82rem;
  border: 1px solid #dde3ea; color: var(--dark); background: #fff;
}
.gallery-filter .btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Booking CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, #2e0f14 100%);
  color: #fff; padding: 4rem 0; text-align: center;
}
.cta-band h2 { color: #fff; }

/* About / intro */
.intro-img-stack { position: relative; }
.intro-img-stack img { border-radius: 1rem; box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.intro-img-stack .img-2 {
  position: absolute; right: -6%; bottom: -12%; width: 55%;
  border: 6px solid #fff;
}

/* Forms / booking */
.search-band {
  background: #fff; border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  padding: 1.4rem; margin-top: -3.4rem; position: relative; z-index: 5;
}
.form-label.fw { font-weight: 600; color: var(--dark); font-size: .82rem; }
.result-room {
  border: 1px solid #e8ecf1; border-radius: .9rem; overflow: hidden;
  transition: box-shadow .2s ease; height: 100%; background: #fff;
}
.result-room:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.result-room img { height: 150px; width: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--darker); color: rgba(255,255,255,.82); margin-top: 4rem; }
.site-footer .footer-brand {
  font-family: 'Playfair Display', serif; color: #fff; font-size: 1.3rem;
}
.site-footer h6 { color: var(--gold); letter-spacing: .12em; }
.site-footer .footer-links, .site-footer .footer-contact {
  list-style: none; padding: 0; margin: 0; font-size: .9rem;
}
.site-footer .footer-links li { margin-bottom: .5rem; }
.site-footer .footer-links a { color: rgba(255,255,255,.75); transition: color .2s; }
.site-footer .footer-links a:hover { color: var(--gold); }
.site-footer .footer-contact li { display: flex; gap: .55rem; margin-bottom: .55rem; font-size: .87rem; }
.site-footer .footer-contact i { color: var(--gold); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-link:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.app-download {
  background: linear-gradient(135deg, #1c1c1c, #33141a);
  border-radius: 1.2rem; padding: 2rem;
  transform: translateY(-3.4rem);
  box-shadow: 0 22px 50px rgba(0,0,0,.3);
}
.app-qr { width: 92px; height: 92px; border-radius: .6rem; background: #fff; padding: .3rem; }
.btn-app { text-align: left; line-height: 1.15; font-size: .78rem; border-radius: .7rem; }
.btn-app strong { display: block; font-size: .95rem; }

/* Toast holder */
#siteToastHolder {
  position: fixed; top: 1rem; right: 1rem; z-index: 2000;
  display: flex; flex-direction: column; gap: .5rem;
}
.site-toast { opacity: 0; transform: translateX(20px); transition: all .35s ease; min-width: 260px; }
.site-toast.show { opacity: 1; transform: translateX(0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* Misc */
.detail-hero-img { border-radius: 1rem; box-shadow: 0 14px 40px rgba(0,0,0,.14); width: 100%; height: 420px; object-fit: cover; }
.thumb-strip img { width: 84px; height: 64px; object-fit: cover; border-radius: .5rem; cursor: pointer; border: 2px solid transparent; }
.thumb-strip img.active { border-color: var(--gold); }
.empty-note { text-align: center; padding: 3rem 1rem; color: var(--body); }
.empty-note i { font-size: 2.4rem; display: block; margin-bottom: .6rem; opacity: .4; }

@media (max-width: 767.98px) {
  .section { padding: 3.4rem 0; }
  .hero { min-height: 76vh; }
  .intro-img-stack .img-2 { display: none; }
  .app-download { transform: none; margin-top: 2rem; }
  .detail-hero-img { height: 260px; }
}


