/* ============================================================
   HOTEL KANTIPUR PLAZA — Main Stylesheet
   Design System: Deep Navy + Gold Luxury Theme
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --primary:       #0d1b3e;
  --primary-light: #1a2f6b;
  --gold:          #c9a84c;
  --gold-light:    #e8c96a;
  --gold-dark:     #a07830;
  --available:     #3d9970;
  --available-bg:  #e8f5ee;
  --booked:        #c0392b;
  --booked-bg:     #fdecea;
  --bg:            #f8f7f4;
  --white:         #ffffff;
  --text-dark:     #1a1a2e;
  --text-mid:      #4a4a6a;
  --text-light:    #8888aa;
  --border:        #e8e4dc;
  --shadow-sm:     0 2px 12px rgba(13,27,62,0.08);
  --shadow-md:     0 8px 32px rgba(13,27,62,0.12);
  --shadow-lg:     0 20px 60px rgba(13,27,62,0.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility Classes ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.gold { color: var(--gold); }

/* Basic Grid System - Professional Utility Set */
.row {
  display: flex !important;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.align-items-center { 
  align-items: center !important; 
}

.justify-content-center {
  justify-content: center !important;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  min-height: 1px;
}

@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
  .col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; }
}

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto;
  border-radius: 2px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition);
}

.logo-icon {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-top-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}

.logo-top-line .line {
  height: 1px;
  background: var(--gold);
  flex: 1;
}

.logo-top-line .text {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 400;
}

.logo-main-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff; /* Unified White */
  letter-spacing: 0.05em;
  margin-top: -2px;
  text-shadow: 0 0 10px rgba(0,0,0,0.5); /* subtle glow for readability */
}

/* Hide logo text in desktop navbar to prevent crowding */
@media (min-width: 769px) {
  .navbar .logo-text-wrap {
    display: none;
  }
}

.navbar.scrolled .logo-icon {
  height: 36px;
}

.navbar.scrolled .logo-main-text {
  color: var(--white);
  font-size: 1rem;
  text-shadow: none;
}

.navbar.scrolled .logo-top-line .text {
  color: var(--gold-light);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links > li > a:hover { color: var(--gold-light); }
.nav-links > li > a:hover::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  border-top: 3px solid var(--gold);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  background: var(--bg);
  color: var(--primary);
  border-left-color: var(--gold);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--primary);
  z-index: 999;
  padding: 70px 32px 40px; /* Increased top padding to shift links down */
  padding: 70px 32px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}


.mobile-branding .logo-top-line .text,
.mobile-branding .logo-top-line .line {
  color: var(--gold);
  background: var(--gold);
}

.mobile-nav.open { right: 0; }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }

.mobile-nav ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-nav ul li .nav-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav ul li i.fa:not(.mobile-chevron) {
  width: 24px;
  text-align: center;
}

.mobile-nav ul li a:hover { color: var(--gold); }

.mobile-nav .mobile-sub {
  display: none;
  padding-left: 16px;
  margin-top: 4px;
}

.mobile-nav .mobile-sub.open {
  display: block;
}

.mobile-nav .mobile-sub li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  border-bottom: none;
  padding: 8px 0;
}

.mobile-dropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.mobile-chevron {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  opacity: 0.7;
}

.mobile-dropdown-toggle[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,62,0.72) 0%,
    rgba(13,27,62,0.35) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: 0 24px;
}

.hero-text {
  max-width: 680px;
  margin-left: clamp(24px, 8vw, 120px);
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextIn 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextIn 0.8s 0.5s forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextIn 0.8s 0.7s forwards;
}

@keyframes heroTextIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.btn:hover::before { transform: scaleX(1); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,255,255,0.25);
}

.btn-white:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

/* ============================================================
   ROOM CATEGORIES SECTION
   ============================================================ */
.categories-section {
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card-img img {
  transform: scale(1.08);
}

.category-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.category-card-body {
  padding: 24px;
}

.category-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.category-card-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.category-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
}

.category-price span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-sans);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.contact-item:hover .contact-icon { transform: scale(1.1) rotate(5deg); }

.contact-item-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080f20;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-logo-icon {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.footer-logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-text-wrap .logo-main-text {
  /* color: var(--white); Inherit maroon */
  font-size: 1.3rem;
}

.footer-logo-text-wrap .line {
  background: var(--gold);
}

.footer-logo-text-wrap .text {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--gold); }

.developer-attribution {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: normal;
}

.footer-bottom .partner-logo {
  height: 30px; /* Optimal height for legibility and alignment */
  width: auto;
  opacity: 1;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-bottom .partner-logo:hover {
  transform: translateY(-1px);
}

/* ============================================================
   ROOM CATEGORY PAGE
   ============================================================ */
.page-hero {
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  /* align-items: flex-end; */
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.9) 0%, rgba(13,27,62,0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  text-align: left;
}

.page-hero-content .breadcrumb {
  display: flex;
  /* align-items: center; */
  justify-content: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.page-hero-content .breadcrumb a { color: var(--gold); }
.page-hero-content .breadcrumb span { color: rgba(255,255,255,0.4); }

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
}

.page-hero-desc {
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  font-size: 1rem;
}

/* Room Grid */
.rooms-section { padding: 60px 0 90px; }

.room-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.room-legend {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.legend-dot.available { background: var(--available); }
.legend-dot.booked    { background: var(--booked); }

.room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.room-cell {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.room-cell.available {
  background: var(--available-bg);
  color: var(--available);
  border-color: rgba(61,153,112,0.25);
}

.room-cell.available:hover {
  background: var(--available);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(61,153,112,0.35);
  border-color: var(--available);
}

.room-cell.booked {
  background: var(--booked-bg);
  color: var(--booked);
  border-color: rgba(192,57,43,0.2);
  cursor: not-allowed;
  opacity: 0.75;
}

.room-cell .room-number {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.room-cell .room-status {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
}

.room-cell.available::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.room-cell.available:hover::after { opacity: 1; }

/* Floor separator */
.floor-label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.floor-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   ROOM DETAIL PAGE
   ============================================================ */
.room-detail-section { padding: 60px 0 90px; }

.room-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* Detail Slider */
.detail-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-slide {
  display: none;
  position: relative;
}

.detail-slide.active { display: block; }

.detail-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.detail-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.detail-slider-arrow:hover {
  background: var(--gold);
  color: var(--white);
}

.detail-slider-arrow.prev { left: 14px; }
.detail-slider-arrow.next { right: 14px; }

.detail-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--white);
}

.detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.detail-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Room Info */
.room-info-header { margin-bottom: 28px; }

.room-category-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.room-info-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0;
}

.room-price-tag {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
}

.room-price-tag small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-light);
}

.room-description {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 20px 0;
}

/* Amenities */
.amenities-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.amenity-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Booking Form */
.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 32px;
}

.booking-form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.booking-form-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--booked);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

.form-error {
  font-size: 0.8rem;
  color: var(--booked);
  margin-top: 6px;
  display: none;
}

.form-error.show { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, var(--primary) 0%, #060e22 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  animation: brandEntrance 1.2s ease-out forwards;
}

.loader-branding .logo-icon {
  height: 90px;
  filter: brightness(0) invert(1);
  animation: logoPulse 3s infinite ease-in-out;
}

.loader-branding .logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.loader-branding .logo-main-text {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.loader-branding .logo-top-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.loader-branding .logo-top-line .line {
  height: 1px;
  background: var(--gold);
  flex: 1;
}

.loader-branding .logo-top-line .text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--gold);
}

@keyframes brandEntrance {
  from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(201,168,76,0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(201,168,76,0.4)); }
}

.loader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #fef6e4, var(--gold));
  background-size: 200% 100%;
  border-radius: 10px;
  width: 0;
  animation: loaderFill 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards, glowShift 2s linear infinite;
  box-shadow: 0 0 10px var(--gold);
}

@keyframes loaderFill {
  to { width: 100%; }
}

@keyframes glowShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .room-grid { grid-template-columns: repeat(4, 1fr); }
  .room-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  /* NOTE: mobile-nav-overlay visibility is controlled via JS (.open class) + pointer-events */
  .mobile-nav-overlay { display: block; pointer-events: none; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { 
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
  }
  .stat-item {
    flex: 1 1 120px;
    max-width: 160px;
  }
  .hero-arrow { display: none; }
  .hero-text {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .about-feature {
    text-align: left;
    max-width: 100%;
  }
  .amenities-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }

  /* Mobile Loader Fix */
  .page-loader .loader-branding {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .page-loader .loader-branding .logo-icon {
    height: 60px !important;
  }
  .page-loader .loader-branding .logo-text-wrap {
    align-items: center !important;
  }
  .page-loader .loader-branding .logo-main-text {
    font-size: 1.4rem !important;
    letter-spacing: 0.05em !important;
  }
  .page-loader .loader-branding .logo-top-line .line {
    display: none !important;
  }
  .page-loader .loader-branding .logo-top-line .text {
    font-size: 0.65rem !important;
    letter-spacing: 0.3em !important;
  }
}

@media (max-width: 480px) {
  .room-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .booking-form-card { padding: 24px 18px; }
  .loader-bar { width: 140px; }
}
