/* =============================================
   SDPG – Premium PG Stay | Main Stylesheet
   Theme: Luxury Navy + Gold
   Font: Playfair Display + Nunito
   ============================================= */

:root {
  --navy:     #0d1b3e;
  --navy2:    #132243;
  --gold:     #f5c842;
  --gold2:    #e0a800;
  --gold-lt:  #fff4c2;
  --white:    #ffffff;
  --off-wh:   #f8f6f0;
  --text:     #2c2c2c;
  --text-lt:  #666;
  --border:   #e8e0cc;
  --shadow:   0 4px 24px rgba(13,27,62,.13);
  --radius:   12px;
  --wa-green: #25d366;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; }
img { max-width: 100%; }
section { padding: 80px 0; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: #ccc;
  font-size: 13px;
  padding: 7px 0;
}
.topbar a { color: #ccc; }

.btn-wa-sm {
  background: var(--wa-green);
  color: #fff !important;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  transition: .2s;
}
.btn-wa-sm:hover { background: #1ebe5d; color: #fff; }

/* ---- NAVBAR ---- */
#mainNav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
  padding: 10px 0;
  transition: background .3s;
}
#mainNav.scrolled { background: var(--navy) !important; }
#mainNav.scrolled .nav-link { color: #ddd !important; }
#mainNav.scrolled .navbar-brand .logo-name { color: var(--gold); }

/* Logo */
.logo-box {
  background: var(--navy);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
}
.logo-box.sm { font-size: 14px; padding: 4px 8px; }
.logo-sd { color: var(--gold); }
.logo-pg { color: var(--white); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--navy); }
.logo-sub  { font-size: 11px; color: var(--text-lt); letter-spacing: 1px; text-transform: uppercase; }

.nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px !important;
  border-radius: 6px;
  transition: .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold2) !important;
  background: var(--gold-lt);
}

/* Book Now Button */
.btn-book {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 3px 12px rgba(245,200,66,.4);
  transition: .25s;
  display: inline-flex;
  align-items: center;
}
.btn-book:hover {
  background: linear-gradient(135deg, var(--gold2), #c8900a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,200,66,.5);
  color: #fff !important;
}

/* ---- SECTION TITLE ---- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .badge-tag {
  background: var(--gold-lt);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 14px;
}
.section-title p { color: var(--text-lt); max-width: 560px; margin: auto; font-size: 16px; }
.gold-line {
  width: 55px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 55%, #0d1b3e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero::before {
  content:'';
  position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f5c842' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.hero-badge {
  background: rgba(245,200,66,.15);
  border: 1px solid rgba(245,200,66,.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 18px;
  animation: fadeInUp .6s ease both;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp .7s .1s ease both;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: #aec0e8;
  font-size: 17px;
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 34px;
  animation: fadeInUp .7s .2s ease both;
}
.hero-btns { animation: fadeInUp .7s .3s ease both; }
.hero-btns .btn-outline-light {
  border-radius: 25px;
  padding: 11px 26px;
  font-weight: 700;
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  animation: fadeInUp .7s .4s ease both;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
}
.hero-stat .lbl { font-size: 12px; color: #8da0c4; text-transform: uppercase; letter-spacing: 1px; }

/* Hero visual card */
.hero-visual {
  animation: fadeInRight .8s .2s ease both;
  position: relative;


}
.hero-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 30px;
  color: #fff;
  background-image: url(https://lh3.googleusercontent.com/gps-cs-s/AHVAweohS3jHYuPqnc72ApVJIqPmEEwFBsygV-cpSYQJp8cJ1hLVcUyY47JZ8muN0gwQdxQq5Z1wMGUpNFeYWWbDm0IZJQDxRGXV1RNIrBhLumUR2NSyOe6ODXQ2pnouwkg--1WF6Q51jEYej3F5=s680-w680-h510-rw);

}
.hero-card .room-img-placeholder {
  background: linear-gradient(135deg, rgba(245,200,66,.2), rgba(26,47,110,.5));
  border-radius: 14px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  margin-bottom: 18px;
  border: 1px solid rgba(245,200,66,.2);
}
.avail-badge {
  background: rgba(37,211,102,.2);
  border: 1px solid var(--wa-green);
  color: #4dff8f;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.hero-card h5 { color: var(--gold); }
.hero-card p  { color: #aab; font-size: 13px; }
.hero-amenities { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.amen-tag {
  background: rgba(245,200,66,.12);
  border: 1px solid rgba(245,200,66,.25);
  color: var(--gold);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ====================================================
   WHY CHOOSE US / FEATURES
   ==================================================== */
.features-section { background: var(--off-wh); }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: .3s;
  border-bottom: 3px solid transparent;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 36px rgba(13,27,62,.15);
  border-bottom-color: var(--gold);
}
.feature-icon {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, var(--gold-lt), #ffe57a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--navy);
}
.feature-card h5 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.feature-card p  { color: var(--text-lt); font-size: 14px; margin: 0; }

/* ====================================================
   ROOMS
   ==================================================== */
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
  height: 100%;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(13,27,62,.16); }
.room-img {
  height: 210px;
  display: flex; align-items: center; justify-content: center;
  font-size: 70px;
  background: linear-gradient(135deg, #1a2f6e, #0d1b3e);
  position: relative;
}
.room-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.room-body { padding: 22px; }
.room-body h5 { color: var(--navy); margin-bottom: 8px; }
.room-body p  { color: var(--text-lt); font-size: 14px; margin-bottom: 14px; }
.room-price { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold2); font-weight: 700; }
.room-price span { font-size: 13px; color: var(--text-lt); font-family: 'Nunito', sans-serif; font-weight: 400; }
.room-features { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.room-feat { background: var(--gold-lt); color: #7a5a00; font-size: 12px; padding: 3px 10px; border-radius: 20px; }

/* ====================================================
   SERVICES
   ==================================================== */
.services-section { background: var(--navy); }
.services-section .section-title h2 { color: var(--white); }
.services-section .section-title p   { color: #8da0c4; }
.services-section .badge-tag { background: rgba(245,200,66,.15); }

.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: .3s;
  height: 100%;
}
.service-card:hover {
  background: rgba(245,200,66,.08);
  border-color: rgba(245,200,66,.35);
  transform: translateY(-5px);
}
.service-icon { font-size: 34px; color: var(--gold); margin-bottom: 14px; }
.service-card h5 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.service-card p  { color: #8da0c4; font-size: 14px; margin: 0; }

/* ====================================================
   GALLERY
   ==================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  background: linear-gradient(135deg, var(--navy), #1a2f6e);
  border-radius: 10px;
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 50px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: .3s;
  border: 2px solid transparent;
}
.gallery-item:hover { transform: scale(1.03); border-color: var(--gold); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(245,200,66,.12);
  opacity: 0; transition: .3s;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 28px;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item.large { grid-column: span 2; height: 250px; }

/* ====================================================
   REVIEWS
   ==================================================== */
.reviews-section { background: var(--off-wh); }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  height: 100%;
  transition: .3s;
}
.review-card:hover { transform: translateY(-4px); }
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.review-text { color: var(--text-lt); font-size: 15px; line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.reviewer-tag  { font-size: 12px; color: var(--text-lt); }

/* ====================================================
   CTA SECTION
   ==================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 100%);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content:''; position:absolute; top:-60px; left:-60px;
  width:250px; height:250px;
  background: radial-gradient(circle, rgba(245,200,66,.15) 0%, transparent 70%);
}
.cta-section::after {
  content:''; position:absolute; bottom:-60px; right:-60px;
  width:250px; height:250px;
  background: radial-gradient(circle, rgba(245,200,66,.1) 0%, transparent 70%);
}
.cta-section h2 { color:#fff; font-size: clamp(28px,4vw,44px); margin-bottom: 14px; }
.cta-section p  { color:#aec0e8; font-size:17px; max-width:520px; margin:0 auto 30px; }
.btn-cta-wa {
  background: var(--wa-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-cta-wa:hover { background: #1ebe5d; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.5); }

/* ====================================================
   PAGE HERO (inner pages)
   ==================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23f5c842' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px,5vw,52px); margin-bottom: 10px; }
.page-hero p  { color: #aec0e8; font-size: 16px; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: #aec0e8; }
.breadcrumb-item+.breadcrumb-item::before { color: #aec0e8; }

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-img-box {
  background: linear-gradient(135deg, var(--navy), #1a2f6e);
  border-radius: 20px;
  height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  position: relative;
}
.about-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 6px 24px rgba(245,200,66,.4);
}
.about-float .big { font-size: 32px; font-weight: 900; line-height: 1; }
.about-float .sm  { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.value-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.value-icon {
  width: 44px; height: 44px;
  background: var(--gold-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2); font-size: 20px; flex-shrink: 0;
}
.value-item h6 { color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.value-item p  { color: var(--text-lt); font-size: 14px; margin: 0; }

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
  height: 100%;
}
.contact-info-card h4 { color: var(--gold); margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(245,200,66,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 18px; flex-shrink: 0;
}
.contact-item h6 { color: #ddd; font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.contact-item p  { color: #fff; margin: 0; font-weight: 600; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  transition: .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,200,66,.15);
}
.btn-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 25px;
  border: none;
  width: 100%;
  font-size: 15px;
  transition: .25s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,200,66,.4); }

/* ====================================================
   FOOTER
   ==================================================== */
.footer { background: #0a1428; }
.footer-top { padding: 60px 0 40px; }
.footer-desc { color: #888; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-heading { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 15px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #888; font-size: 14px; transition: .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links .bi { font-size: 11px; margin-right: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { color: #888; font-size: 14px; margin-bottom: 10px; display: flex; gap: 10px; }
.footer-contact .bi { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { background: #060e1e; padding: 16px 0; color: #555; font-size: 13px; }
.social-icons { display: flex; gap: 10px; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: .2s;
}
.soc-btn.wa { background: rgba(37,211,102,.15); color: var(--wa-green); }
.soc-btn.fb { background: rgba(66,103,178,.15); color: #4267b2; }
.soc-btn.ig { background: rgba(228,64,95,.15); color: #e4405f; }
.soc-btn:hover { transform: translateY(-3px); opacity: .85; }

/* ====================================================
   FLOAT BUTTONS
   ==================================================== */
.wa-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 56px; height: 56px;
  background: var(--wa-green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: .25s;
  animation: pulse 2s infinite;
}
.wa-float:hover { background: #1ebe5d; color: #fff; transform: scale(1.1); }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.8); }
}

.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: .25s;
}
.back-to-top:hover { background: var(--gold); color: var(--navy); }
.back-to-top.show { display: flex; }

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInRight {
  from { opacity:0; transform:translateX(36px); }
  to   { opacity:1; transform:translateX(0); }
}
.fade-up { opacity:0; transform:translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media(max-width:991px) {
  .navbar-toggler { border-color: var(--gold); }
  .navbar-toggler-icon { filter: invert(80%) sepia(50%) saturate(500%) hue-rotate(5deg); }
  .hero { padding: 80px 0 40px; min-height: auto; }
  .hero-visual { margin-top: 40px; }
  .hero-stats { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.large { grid-column: span 1; }
}
@media(max-width:575px) {
  section { padding: 56px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}

.room-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
   
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}