/* =========================================================
   HOTEL SHRI MAHAKALESHWAR BHAKTA NIWAS
   Design tokens
   Palette: Navy #0B2545 / Navy Deep #071A33 / Gold #C9A227
            Gold Light #E8C766 / Cream #FBF8F1 / Ink #1C1C1C
            Maroon accent (temple) #8A2E2E
   Type: Display — 'Playfair Display' | Body — 'Poppins'
   Signature: Gopuram arch (temple-dome) frames + scalloped gold divider
   ========================================================= */

:root{
  --navy:#0B2545;
  --navy-deep:#071A33;
  --gold:#C9A227;
  --gold-light:#E8C766;
  --cream:#FBF8F1;
  --white:#FFFFFF;
  --ink:#1C1C1C;
  --maroon:#8A2E2E;
  --grey:#6B6F76;
  --radius-arch: 120px 120px 8px 8px;
  --shadow-soft: 0 12px 30px rgba(11,37,69,0.12);
  --shadow-card: 0 8px 24px rgba(11,37,69,0.10);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Poppins',sans-serif;
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
}
h1,h2,h3,h4,.font-display{
  font-family:'Playfair Display',serif;
  color:var(--navy);
  letter-spacing:0.3px;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
.container{width:100%;}

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:0.78rem;letter-spacing:2.5px;text-transform:uppercase;
  color:var(--maroon);font-weight:600;margin-bottom:10px;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--gold);display:inline-block;}
.section{padding:70px 0;}
.section-title{font-size:2.2rem;margin-bottom:14px;}
.section-sub{color:var(--grey);max-width:640px;margin-bottom:36px;font-size:1rem;}
.text-center{text-align:center;}
.mx-auto-sub{margin-left:auto;margin-right:auto;}

.btn-gold{
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:var(--navy-deep)!important;
  border:none;font-weight:600;padding:12px 28px;border-radius:6px;
  box-shadow:0 6px 18px rgba(201,162,39,0.35);
  transition:transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(201,162,39,0.45);color:var(--navy-deep);}
.btn-outline-navy{
  border:1.5px solid var(--navy);color:var(--navy)!important;background:transparent;
  font-weight:600;padding:11px 26px;border-radius:6px;transition:all .2s ease;
}
.btn-outline-navy:hover{background:var(--navy);color:var(--white)!important;}
.btn-whatsapp{
  background:#25D366;color:#fff!important;font-weight:600;border:none;
  padding:12px 26px;border-radius:6px;
}
.btn-call{
  background:var(--navy);color:#fff!important;font-weight:600;border:none;
  padding:12px 26px;border-radius:6px;
}

/* ---------- Scalloped gold divider (signature) ---------- */
.temple-divider{
  height:26px;width:100%;
  background:
    radial-gradient(circle at 10px 0, transparent 12px, var(--gold-light) 12.5px) repeat-x;
  background-size:24px 26px;
  opacity:0.55;
}
.temple-divider.flip{transform:rotate(180deg);}

/* ---------- Arch frame (signature) ---------- */
.arch-frame{
  border-radius: var(--radius-arch);
  overflow:hidden;
  position:relative;
  box-shadow:var(--shadow-soft);
}
.arch-frame img{width:100%;height:100%;object-fit:cover;}
.arch-frame::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  box-shadow:inset 0 0 0 3px rgba(201,162,39,0.55);
  pointer-events:none;
}

/* ---------- Header ---------- */
.top-strip{
  background:var(--navy-deep);color:var(--gold-light);
  font-size:0.82rem;padding:6px 0;
}
.top-strip a{color:var(--gold-light);}
.top-strip .container{gap:6px;}
.top-strip .loc-text{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
.navbar-main{
  background:var(--white);
  box-shadow:0 2px 14px rgba(11,37,69,0.08);
  padding:12px 0;
}
.navbar-brand-custom{
  font-family:'Playfair Display',serif;
  font-weight:700;color:var(--navy)!important;
  font-size:1.15rem;line-height:1.2;
  display:flex;align-items:center;gap:10px;
  max-width:78vw;
}
.navbar-brand-custom .brand-mark{
  width:40px;height:40px;border-radius:50% 50% 50% 0;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  display:flex;align-items:center;justify-content:center;
  color:var(--navy-deep);font-weight:700;font-size:1rem;flex-shrink:0;
}
.navbar-brand-custom .brand-text-wrap{display:flex;flex-direction:column;min-width:0;}
.navbar-brand-custom .brand-title{white-space:normal;word-break:break-word;}
.navbar-brand-custom .brand-tagline{
  font-family:'Poppins',sans-serif;font-weight:400;font-size:0.66rem;
  color:var(--maroon);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.nav-link-custom{
  color:var(--navy)!important;font-weight:500;margin:0 8px;position:relative;
}
.nav-link-custom.active,.nav-link-custom:hover{color:var(--maroon)!important;}
.navbar-cta{display:flex;gap:10px;align-items:center;}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:88vh;display:flex;align-items:center;
  background:linear-gradient(180deg, rgba(7,26,51,0.78), rgba(7,26,51,0.55)), url('../images/deluxe-4.jpeg') center/cover no-repeat;
  color:#fff;
}
.hero-content{max-width:720px;}
.hero .eyebrow{color:var(--gold-light);}
.hero .eyebrow::before{background:var(--gold-light);}
.hero h1{color:#fff;font-size:3rem;line-height:1.15;margin-bottom:18px;}
.hero p.lead-text{font-size:1.1rem;color:#EDEDED;margin-bottom:30px;max-width:560px;}
.hero-btns{display:flex;flex-wrap:wrap;gap:14px;}
.trust-bar{
  background:var(--navy-deep);color:var(--gold-light);padding:16px 0;
}
.trust-bar .item{display:flex;align-items:center;gap:8px;font-size:0.9rem;justify-content:center;}

/* ---------- Feature cards ---------- */
.feature-card{
  background:var(--white);border-radius:14px;padding:28px 22px;height:100%;
  box-shadow:var(--shadow-card);border-top:3px solid var(--gold);
  transition:transform .25s ease;
}
.feature-card:hover{transform:translateY(-6px);}
.feature-icon{
  width:52px;height:52px;border-radius:50%;
  background:rgba(201,162,39,0.15);color:var(--maroon);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px;font-size:1.4rem;
}

/* ---------- Room cards ---------- */
.room-card{
  background:var(--white);border-radius:16px;overflow:hidden;
  box-shadow:var(--shadow-card);height:100%;display:flex;flex-direction:column;
}
.room-img-wrap{position:relative;aspect-ratio:4/3;overflow:hidden;}
.room-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.room-card:hover .room-img-wrap img{transform:scale(1.06);}
.room-price-tag{
  position:absolute;top:14px;right:14px;background:var(--navy);color:var(--gold-light);
  padding:7px 14px;border-radius:20px;font-weight:600;font-size:0.9rem;box-shadow:var(--shadow-card);
}
.room-body{padding:22px;display:flex;flex-direction:column;flex:1;}
.amenity-pill{
  display:inline-block;background:var(--cream);color:var(--navy);
  font-size:0.76rem;padding:5px 11px;border-radius:20px;margin:2px 4px 2px 0;
  border:1px solid rgba(11,37,69,0.1);
}

/* ---------- Gallery ---------- */
.gallery-item{
  border-radius:12px;overflow:hidden;position:relative;cursor:pointer;
  box-shadow:var(--shadow-card);aspect-ratio:1/1;
}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.gallery-item:hover img{transform:scale(1.08);}
.gallery-overlay{
  position:absolute;inset:0;background:rgba(11,37,69,0.0);
  display:flex;align-items:center;justify-content:center;color:#fff;
  opacity:0;transition:all .3s ease;font-size:1.6rem;
}
.gallery-item:hover .gallery-overlay{opacity:1;background:rgba(11,37,69,0.45);}

/* ---------- Attraction cards ---------- */
.attraction-card{
  background:var(--white);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-card);
}
.attraction-card img{height:190px;width:100%;object-fit:cover;}
.attraction-body{padding:18px 20px;}

/* ---------- Booking form ---------- */
.booking-panel{
  background:var(--navy);color:#fff;border-radius:18px;padding:40px;
  box-shadow:var(--shadow-soft);
}
.booking-panel h2{color:#fff;}
.form-control-custom{
  width:100%;padding:12px 14px;border-radius:8px;border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.06);color:#fff;margin-bottom:16px;font-family:'Poppins',sans-serif;
}
.form-control-custom::placeholder{color:rgba(255,255,255,0.55);}
.form-control-custom:focus{outline:2px solid var(--gold);background:rgba(255,255,255,0.1);}
label.form-label-custom{font-size:0.85rem;color:var(--gold-light);margin-bottom:6px;display:block;}
.field-error{color:#ff9b9b;font-size:0.78rem;margin-top:-12px;margin-bottom:12px;display:none;}
.form-success{
  background:rgba(37,211,102,0.15);border:1px solid #25D366;color:#e9fff1;
  padding:14px 18px;border-radius:10px;margin-bottom:18px;display:none;
}

/* ---------- FAQ ---------- */
.faq-item{border-bottom:1px solid rgba(11,37,69,0.12);padding:18px 0;}
.faq-question{
  display:flex;justify-content:space-between;align-items:center;cursor:pointer;
  font-weight:600;color:var(--navy);font-size:1.02rem;
}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease;color:var(--grey);font-size:0.94rem;}
.faq-item.open .faq-answer{max-height:300px;padding-top:12px;}
.faq-item.open .faq-icon{transform:rotate(45deg);}
.faq-icon{transition:transform .25s ease;color:var(--gold);font-size:1.3rem;}

/* ---------- Reviews ---------- */
.review-card{
  background:var(--white);border-radius:14px;padding:26px;box-shadow:var(--shadow-card);height:100%;
}
.review-stars{color:var(--gold);margin-bottom:10px;letter-spacing:2px;}
.review-name{font-weight:600;color:var(--navy);margin-top:12px;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,0.8);padding:60px 0 0;}
.site-footer h5{color:var(--gold-light);font-family:'Playfair Display',serif;margin-bottom:16px;}
.site-footer a{color:rgba(255,255,255,0.75);}
.site-footer a:hover{color:var(--gold-light);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);margin-top:40px;padding:18px 0;
  font-size:0.85rem;text-align:center;color:rgba(255,255,255,0.55);
}

/* ---------- Floating buttons ---------- */
.floating-btns{position:fixed;right:18px;bottom:18px;z-index:999;display:flex;flex-direction:column;gap:12px;align-items:flex-end;}
.fab{
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,0.25);color:#fff;font-size:1.4rem;transition:transform .2s ease;
}
.fab:hover{transform:scale(1.08);}
.fab-call{background:var(--navy);}
.fab-whatsapp{background:#25D366;}
.fab-top{background:var(--gold);color:var(--navy-deep);opacity:0;pointer-events:none;transition:opacity .3s ease;}
.fab-top.show{opacity:1;pointer-events:auto;}

/* ---------- Breadcrumb / inner page hero ---------- */
.page-hero{
  background:linear-gradient(180deg, rgba(7,26,51,0.82), rgba(7,26,51,0.7)), url('../images/about-hotel.png') center/cover;
  color:#fff;padding:90px 0 50px;text-align:center;
}
.page-hero h1{color:#fff;margin-bottom:10px;}
.breadcrumb-custom a{color:var(--gold-light);}
.breadcrumb-custom span{color:rgba(255,255,255,0.6);}

/* ---------- Lightbox ---------- */
.lightbox-overlay{
  position:fixed;inset:0;background:rgba(7,26,51,0.92);z-index:1200;
  display:none;align-items:center;justify-content:center;padding:20px;
}
.lightbox-overlay.show{display:flex;}
.lightbox-overlay img{max-width:90vw;max-height:85vh;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,0.5);}
.lightbox-close{position:absolute;top:24px;right:32px;color:#fff;font-size:2rem;cursor:pointer;}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-size:2.4rem;cursor:pointer;padding:10px 16px;user-select:none;}
.lightbox-prev{left:10px;}
.lightbox-next{right:10px;}

/* ---------- Legal pages ---------- */
.legal-content h2{margin-top:34px;font-size:1.35rem;}
.legal-content p, .legal-content li{color:#333;line-height:1.75;}

/* ---------- 404 ---------- */
.error-page{min-height:70vh;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:40px 20px;}
.error-page .code{font-family:'Playfair Display',serif;font-size:6rem;color:var(--gold);line-height:1;}

@media (max-width:767px){
  .hero{min-height:auto;text-align:center;padding:60px 0 50px;}
  .hero-content{margin:0 auto;}
  .hero h1{font-size:1.7rem;line-height:1.25;}
  .hero p.lead-text{font-size:0.98rem;margin-left:auto;margin-right:auto;}
  .hero-btns{justify-content:center;}
  .hero-btns .btn{flex:1 1 auto;min-width:130px;font-size:0.85rem;padding:11px 16px;}
  .section{padding:44px 0;}
  .section-title{font-size:1.6rem;}
  .booking-panel{padding:22px;}
  .arch-frame{border-radius:60px 60px 8px 8px;}
  .top-strip .container{flex-direction:row;flex-wrap:nowrap;}
  .top-strip .d-none.d-md-flex{display:none!important;}
  .navbar-brand-custom{font-size:0.98rem;max-width:70vw;}
  .navbar-brand-custom .brand-mark{width:34px;height:34px;font-size:0.85rem;}
  .navbar-cta{flex-wrap:wrap;}
  .trust-bar .item{font-size:0.78rem;justify-content:flex-start;}
  .room-price-tag{font-size:0.78rem;padding:5px 10px;}
  .feature-card{padding:22px 16px;}
}

@media (max-width:420px){
  .navbar-brand-custom{max-width:62vw;font-size:0.88rem;}
  .top-strip .loc-text{font-size:0.72rem;}
}
