/* ==========================================================================
   Hotel Neelkanth Retreat — Royal Luxury Theme
   Custom stylesheet (Bootstrap 5 overrides + components)
   ========================================================================== */

:root {
  --gold: #d4a028;
  --gold-light: #f4d98b;
  --gold-deep: #a97c14;
  --black: #0b0b0b;
  --charcoal: #171717;
  --charcoal-2: #1f1f1f;
  --white: #ffffff;
  --muted: #b9b4a9;
  --grad-gold: linear-gradient(135deg, #a97c14 0%, #d4a028 35%, #f4d98b 60%, #c9971f 100%);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, .55);
  --glow: 0 0 28px rgba(212, 160, 40, .45);
  --radius: 18px;
}

/* ---------- Base ---------- */
* { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Jost', system-ui, sans-serif;
  overflow-x: hidden;
  letter-spacing: .2px;
}
h1, h2, h3, h4, .display-font { font-family: 'Cormorant Garamond', serif; font-weight: 700; }
p { color: var(--muted); line-height: 1.85; }
a { text-decoration: none; }
section { position: relative; padding: 96px 0; }
.bg-charcoal { background: var(--charcoal); }

.text-gold { color: var(--gold); }
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Section headings ---------- */
.section-eyebrow {
  display: inline-block; letter-spacing: 6px; text-transform: uppercase;
  font-size: .72rem; color: var(--gold); margin-bottom: 10px;
}
.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.divider-gold {
  width: 120px; height: 2px; margin: 18px auto 34px;
  background: var(--grad-gold); position: relative; border-radius: 2px;
}
.divider-gold::after {
  content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--black); color: var(--gold); font-size: .6rem; padding: 0 8px;
}
.bg-charcoal .divider-gold::after { background: var(--charcoal); }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--grad-gold); color: #17110070 !important; color: #1a1200 !important;
  border: none; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 13px 30px; border-radius: 999px; font-size: .82rem;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--glow); filter: brightness(1.06); color: #1a1200 !important; }
.btn-outline-gold {
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 12px 29px; border-radius: 999px; font-size: .82rem;
  transition: all .3s ease;
}
.btn-outline-gold:hover { background: var(--grad-gold); color: #1a1200; box-shadow: var(--glow); transform: translateY(-3px); }

/* ---------- Loading screen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 99999; background: var(--black);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid rgba(212,160,40,.2); border-top-color: var(--gold);
  animation: spin 1s linear infinite;
}
.loader-text { margin-top: 18px; letter-spacing: 5px; font-size: .7rem; color: var(--gold); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.navbar-luxury {
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
  padding: 18px 0; background: transparent;
}
.navbar-luxury.scrolled {
  background: rgba(11, 11, 11, .94);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  border-bottom: 1px solid rgba(212,160,40,.22);
}
.navbar-brand img { height:58px; width:auto; aspect-ratio:1/1; object-fit:contain; transition:height .4s ease; }
.navbar-luxury.scrolled .navbar-brand img { height: 46px; }
.navbar-luxury .nav-link {
  color: #efeae0; font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase;
  margin: 0 2px; position: relative; padding: 8px 12px !important;
}
.navbar-luxury .nav-link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.navbar-luxury .nav-link:hover, .navbar-luxury .nav-link.active { color: var(--gold); }
.navbar-luxury .nav-link:hover::after, .navbar-luxury .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid rgba(212,160,40,.5); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--gold); }
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(15,15,15,.98); margin-top: 12px; padding: 18px;
    border-radius: 14px; border: 1px solid rgba(212,160,40,.2);
  }
}

/* ---------- Hero ---------- */
.hero { height: 100vh; min-height: 620px; padding: 0; overflow: hidden; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero .carousel-item {
  background-size: cover; background-position: center;
  transform: scale(1); animation: kenburns 12s ease-out forwards;
}
.hero .carousel-item.active { animation: kenburns 12s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.9) 100%);
}
.hero-content { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; }
.hero-badge {
  display: inline-block; border: 1px solid rgba(212,160,40,.55); border-radius: 999px;
  padding: 7px 20px; letter-spacing: 4px; font-size: .68rem; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; background: rgba(0,0,0,.35);
}
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.05; margin-bottom: 16px; }
.hero .hero-sub { font-size: clamp(1rem, 2vw, 1.3rem); color: #e8e2d6; margin-bottom: 30px; }
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5;
  color: var(--gold); font-size: .66rem; letter-spacing: 3px; text-transform: uppercase; text-align: center;
}
.scroll-mouse {
  width: 24px; height: 40px; border: 1px solid var(--gold); border-radius: 14px;
  margin: 0 auto 8px; position: relative;
}
.scroll-mouse::before {
  content: ''; position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 7px; border-radius: 2px; background: var(--gold);
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { top: 8px; opacity: 1; } 100% { top: 24px; opacity: 0; } }

/* ---------- Cards ---------- */
.lux-card {
  background: var(--charcoal); border: 1px solid rgba(212,160,40,.16);
  border-radius: var(--radius); padding: 30px 24px; height: 100%;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.lux-card:hover {
  transform: translateY(-8px); border-color: rgba(212,160,40,.6);
  box-shadow: var(--shadow-soft), var(--glow);
}
.lux-card .icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(212,160,40,.12); color: var(--gold); font-size: 1.35rem; margin-bottom: 16px;
  transition: background .35s ease, color .35s ease;
}
.lux-card:hover .icon { background: var(--grad-gold); color: #1a1200; }
.lux-card h5 { font-family: 'Jost', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .6px; margin: 0; }

/* Feature pills (Why choose us) */
.pill {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--charcoal-2); border: 1px solid rgba(212,160,40,.14);
  border-radius: 14px; height: 100%; transition: all .35s ease;
}
.pill i { color: var(--gold); }
.pill:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--glow); }
.pill span { font-size: .92rem; color: #eae5db; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; object-fit: cover; }
.about-img-main { height: 460px; }
.about-img-float {
  position: absolute; right: -18px; bottom: -34px; width: 55%; height: 220px;
  border: 6px solid var(--black); border-radius: var(--radius);
}
.stat-box { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat-box .num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat-box small { color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; font-size: .68rem; }

/* ---------- Rooms ---------- */
.room-card {
  background: var(--charcoal); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,160,40,.16); height: 100%;
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.room-card:hover { transform: translateY(-10px); border-color: rgba(212,160,40,.6); box-shadow: var(--shadow-soft), var(--glow); }
.room-media { position: relative; overflow: hidden; height: 250px; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.room-card:hover .room-media img { transform: scale(1.12); }
.room-price {
  position: absolute; right: 14px; bottom: 14px; background: var(--grad-gold);
  color: #1a1200; font-weight: 600; font-size: .8rem; padding: 7px 16px; border-radius: 999px;
}
.room-body { padding: 24px; }
.room-feature { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.room-feature i { color: var(--gold); font-size: .75rem; }

/* ---------- Tariff ---------- */
.price-card {
  background: var(--charcoal); border: 1px solid rgba(212,160,40,.2); border-radius: 24px;
  padding: 40px 32px; height: 100%; position: relative; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft), var(--glow); }
.price-card.popular { border-color: var(--gold); background: linear-gradient(180deg, #201a0c 0%, var(--charcoal) 55%); }
.ribbon {
  position: absolute; top: 22px; right: -46px; transform: rotate(45deg);
  background: var(--grad-gold); color: #1a1200; font-size: .68rem; font-weight: 700;
  letter-spacing: 2px; padding: 7px 56px; text-transform: uppercase;
}
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px dashed rgba(212,160,40,.22);
}
.price-row:last-of-type { border-bottom: none; }
.price-row .amt { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold); font-weight: 700; }
.price-feat { list-style: none; padding: 0; margin: 20px 0 26px; }
.price-feat li { color: var(--muted); font-size: .9rem; padding: 6px 0; }
.price-feat i { color: var(--gold); margin-right: 9px; }
.tariff-note { background: var(--charcoal-2); border: 1px dashed rgba(212,160,40,.3); border-radius: 16px; padding: 22px 26px; }
.tariff-note p { margin: 0 0 6px; font-size: .9rem; }
.tariff-note p:last-child { margin: 0; }

/* ---------- Attractions carousel ---------- */
.attr-card {
  background: var(--charcoal); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,160,40,.16); height: 100%;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.attr-card:hover { transform: translateY(-8px); border-color: rgba(212,160,40,.55); box-shadow: var(--glow); }
.attr-media { height: 210px; overflow: hidden; position: relative; }
.attr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.attr-card:hover .attr-media img { transform: scale(1.13); }
.attr-dist {
  position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.72);
  border: 1px solid rgba(212,160,40,.5); color: var(--gold);
  font-size: .72rem; padding: 5px 12px; border-radius: 999px;
}
.attr-body { padding: 20px 22px 26px; }
.attr-body h5 { font-family: 'Jost', sans-serif; font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.attr-body p { font-size: .86rem; margin: 0; }
.carousel-nav-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold);
  background: transparent; color: var(--gold); display: grid; place-items: center;
  transition: all .3s ease;
}
.carousel-nav-btn:hover { background: var(--grad-gold); color: #1a1200; box-shadow: var(--glow); }

/* ---------- Gallery ---------- */
.masonry { column-count: 3; column-gap: 18px; }
@media (max-width: 991.98px) { .masonry { column-count: 2; } }
@media (max-width: 575.98px) { .masonry { column-count: 1; } }
.masonry-item {
  break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius);
  overflow: hidden; position: relative; display: block; cursor: pointer;
}
.masonry-item img { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .8s ease; }
.masonry-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: var(--gold); font-size: 1.6rem;
  opacity: 0; transition: opacity .4s ease;
}
.masonry-item:hover img { transform: scale(1.1); }
.masonry-item:hover::after { opacity: 1; }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 20000; background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 92%; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-soft); }
#lightbox .lb-btn {
  position: absolute; background: transparent; border: 1px solid var(--gold);
  color: var(--gold); width: 46px; height: 46px; border-radius: 50%;
}
#lightbox .lb-close { top: 24px; right: 24px; }
#lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.review-card {
  background: var(--charcoal); border: 1px solid rgba(212,160,40,.16);
  border-radius: var(--radius); padding: 30px 26px; height: 100%;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.review-card:hover { transform: translateY(-8px); border-color: rgba(212,160,40,.55); box-shadow: var(--glow); }
.review-card .quote { color: rgba(212,160,40,.25); font-size: 2rem; }
.stars i { color: var(--gold); font-size: .82rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--grad-gold);
  color: #1a1200; display: grid; place-items: center; font-weight: 700;
}

/* ---------- Booking form ---------- */
.booking-panel {
  background: var(--charcoal); border: 1px solid rgba(212,160,40,.24);
  border-radius: 26px; padding: 42px; box-shadow: var(--shadow-soft);
}
.form-label { font-size: .76rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.form-control, .form-select {
  background: #101010; border: 1px solid rgba(212,160,40,.22); color: var(--white);
  border-radius: 12px; padding: 12px 15px; font-size: .93rem;
}
.form-control:focus, .form-select:focus {
  background: #101010; color: var(--white); border-color: var(--gold);
  box-shadow: 0 0 0 .18rem rgba(212,160,40,.18);
}
.form-control::placeholder { color: #6f6a61; }
.form-select option { background: #101010; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .ci-icon {
  min-width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(212,160,40,.12); color: var(--gold);
}
.contact-item h6 { font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--muted); margin: 0; font-size: .95rem; }
.contact-item a:hover { color: var(--gold); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(212,160,40,.24); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35) contrast(1.1); }

/* ---------- Footer ---------- */
footer { background: #070707; border-top: 1px solid rgba(212,160,40,.18); padding: 70px 0 0; }
footer h6 { color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; margin-bottom: 20px; }
footer a { color: var(--muted); font-size: .92rem; display: inline-block; padding: 5px 0; transition: color .3s, transform .3s; }
footer a:hover { color: var(--gold); transform: translateX(4px); }
.social-ic {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(212,160,40,.4);
  display: grid; place-items: center; color: var(--gold); margin-right: 8px; transition: all .3s ease;
}
.social-ic:hover { background: var(--grad-gold); color: #1a1200; box-shadow: var(--glow); transform: translateY(-3px); }
.copyright { border-top: 1px solid rgba(255,255,255,.07); margin-top: 46px; padding: 22px 0; font-size: .84rem; color: #7d786f; }

/* ---------- Floating buttons ---------- */
.floating-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 9000;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.15rem; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.5);
  transition: transform .3s ease, box-shadow .3s ease; border: none;
}
.fab:hover { transform: scale(1.1); }
.fab-wa { background: #25d366; }
.fab-call { background: var(--grad-gold); color: #1a1200; }
.fab-book { background: var(--charcoal); color: var(--gold); border: 1px solid var(--gold); font-size: 1rem; }
.fab-top { background: #2a2a2a; color: var(--gold); opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-wa::after {
  content: ''; position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(37,211,102,.5); animation: pulse 2s infinite; z-index: -1;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-46px); }
.reveal-right { transform: translateX(46px); }
.reveal-zoom { transform: scale(.92); }

/* ---------- Parallax band ---------- */
.parallax {
  background-attachment: fixed; background-size: cover; background-position: center;
  position: relative;
}
.parallax::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.parallax .container { position: relative; z-index: 2; }
@media (max-width: 991.98px) { .parallax { background-attachment: scroll; } }

/* ---------- Alerts ---------- */
.alert-lux { border-radius: 14px; border: 1px solid; padding: 16px 20px; font-size: .93rem; }
.alert-ok { background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.5); color: #a8f0c6; }
.alert-err { background: rgba(220,53,69,.1); border-color: rgba(220,53,69,.5); color: #f5b6bc; }

@media (max-width: 767.98px) {
  section { padding: 68px 0; }
  .booking-panel { padding: 26px 20px; }
  .about-img-float { display: none; }
  .about-img-main { height: 320px; }
}

.footer-logo img{object-fit:contain!important;aspect-ratio:1/1;}
