/* ========== KNIGHT OASIS - MAIN STYLES ========== */

:root {
  --banner-h: 0px;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A07830;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE0;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --dark-medium: #3D3D3D;
  --gray: #777777;
  --gray-light: #EEEEEE;
  --green: #2E7D52;
  --red: #C0392B;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.13);
  --radius: 14px;
  --radius-sm: 9px;
  --transition: all 0.28s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent horizontal scroll that causes wide mobile rendering */
}
html { overflow-x: hidden; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--dark-medium); }
a { text-decoration: none; color: inherit; }

.section-title { text-align: center; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 0.92rem; margin-bottom: 44px; }
.gold-line { width: 52px; height: 3px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); margin: 10px auto 14px; border-radius: 2px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition); letter-spacing: 0.2px;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); transform: translateY(-1px); box-shadow: 0 5px 18px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #245e3f; transform: translateY(-1px); }
.btn-lg { padding: 14px 34px; font-size: 0.96rem; }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
#main-header {
  position: fixed; top: var(--banner-h, 0px); left: 0; right: 0; z-index: 1000;
  /* Solid background instead of backdrop-filter — avoids stacking context
     that was preventing the flash banner (z-index:1001) from showing above header on mobile */
  background: #ffffff;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: top 0.15s ease, box-shadow 0.3s ease;
}
#main-header.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.09); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-icon-fallback {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-heading); font-size: 1.22rem; color: var(--dark); font-weight: 700; letter-spacing: 0.3px; }
.logo-tagline { font-size: 0.62rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--font-body); }
nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
nav ul li a { padding: 7px 13px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.875rem; color: var(--dark-medium); transition: var(--transition); }
nav ul li a:hover, nav ul li a.active { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-book-btn { background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important; color: var(--white) !important; border-radius: var(--radius-sm) !important; padding: 8px 18px !important; }
.nav-book-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201,168,76,0.4); background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===== FLASH BANNER =====
   Banner is fixed at top:0. JS measures its ACTUAL height after render
   and sets --banner-h CSS variable. Header uses this variable for its top.
   This works perfectly on ALL screen sizes regardless of text wrapping.
   ============================= */
#flash-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display: none;
  text-align: center;
  padding: 9px 44px 9px 14px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  line-height: 1.45;
  color: #fff;
  background: #B22222;
}
#flash-banner.visible { display: block; }
#flash-banner strong { color: #FFE066; }
.banner-close {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff;
  font-size: 1.1rem; cursor: pointer; opacity: 0.75; padding: 5px; line-height: 1;
}
.banner-close:hover { opacity: 1; }

/* Content padding = banner height (dynamic) + header height (68px) + breathing room.
   These calc() values auto-adjust for any banner height on any screen. */
#hero                   { padding-top: calc(var(--banner-h, 0px) + 84px); }
.page-hero              { padding-top: calc(var(--banner-h, 0px) + 108px); }
.booking-page-wrap      { padding-top: calc(var(--banner-h, 0px) + 112px); }
.room-detail-breadcrumb { padding-top: calc(var(--banner-h, 0px) + 84px); }

@media (max-width: 920px) {
  #flash-banner { font-size: 0.8rem; }
}
@media (max-width: 640px) {
  #flash-banner { font-size: 0.76rem; padding: 8px 38px 8px 12px; }
  /* Slightly tighter base offsets on mobile (header still 68px) */
  #hero                   { padding-top: calc(var(--banner-h, 0px) + 78px); }
  .page-hero              { padding-top: calc(var(--banner-h, 0px) + 98px); }
  /* Mobile: header is 62px, add 30px breathing room = 92px safe minimum */
  .booking-page-wrap      { padding-top: calc(var(--banner-h, 0px) + 96px); }
  .room-detail-breadcrumb { padding-top: calc(var(--banner-h, 0px) + 78px); }
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #111 0%, #222 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-image: url('images/hero-bg.webp'); background-size: cover; background-position: center; opacity: 0.32; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 32px 20px 40px; max-width: 940px; width: 100%; margin: 0 auto; }


/* ===== BOOKING SEARCH BOX ===== */
.booking-box {
  background: var(--white); border-radius: var(--radius); padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22); max-width: 1000px; margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.12);
  /* Offset for fixed header + banner when scrolled into view via anchor */
  scroll-margin-top: 90px;
}
.booking-box h3 { text-align: center; margin-bottom: 16px; font-size: 1.1rem; color: var(--dark); font-family: var(--font-body); font-weight: 600; }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
  gap: 10px; align-items: end;
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.7rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; }
.form-group input, .form-group select {
  padding: 10px 12px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.875rem; color: var(--dark); background: var(--cream);
  transition: var(--transition); outline: none; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.form-group input { background-image: none; }
.form-group input:focus, .form-group select:focus {
  border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.search-btn-wrap { display: flex; align-items: flex-end; }

/* ===== SECTIONS ===== */
.section { padding: 72px 20px; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.container { max-width: 1180px; margin: 0 auto; }

/* ===== FEATURES STRIP ===== */
.features-strip { background: var(--white); padding: 36px 20px; border-bottom: 1px solid var(--gray-light); }
.features-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 1.5px solid rgba(201,168,76,0.18); }
.feature-item h4 { font-size: 0.82rem; color: var(--dark); margin: 0; font-family: var(--font-body); font-weight: 700; }
.feature-item p { font-size: 0.72rem; color: var(--gray); margin: 0; }

/* ===== ROOM CARDS ===== */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.room-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
}
.room-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.room-img-wrap { position: relative; height: 220px; overflow: hidden; }
.room-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-img-wrap img { transform: scale(1.04); }
.room-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.65); color: var(--white); padding: 3px 11px; border-radius: 50px; font-size: 0.72rem; backdrop-filter: blur(4px); font-family: var(--font-body); }
.room-badge.popular { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; }
/* Subtle dark glass — all non-popular badges use same premium dark style */
.room-badge.romantic { background: rgba(0,0,0,0.62); color: #fff; }
.room-badge.family   { background: rgba(0,0,0,0.62); color: #fff; }
.room-qty {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.92); color: var(--red);
  padding: 3px 10px; border-radius: 50px; font-size: 0.68rem; font-weight: 700;
  font-family: var(--font-body); backdrop-filter: blur(4px);
}
.room-qty.few-left { background: rgba(192,57,43,0.9); color: #fff; }
.room-body { padding: 18px 20px; }
.room-body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.room-desc { font-size: 0.83rem; color: var(--gray); margin-bottom: 12px; line-height: 1.55; }

/* ===== COMPACT AMENITY CHIPS ===== */
.room-amenities { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.amenity-tag {
  background: var(--cream-dark); color: var(--dark-medium);
  padding: 3px 9px; border-radius: 50px; font-size: 0.7rem; font-weight: 500;
  font-family: var(--font-body); white-space: nowrap;
}
/* Room detail amenities - compact grid */
.room-amenities-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.amenity-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--cream); border: 1px solid rgba(201,168,76,0.2);
  padding: 5px 12px; border-radius: 50px;
  font-size: 0.8rem; color: var(--dark-medium); font-family: var(--font-body);
  white-space: nowrap;
}
.amenity-chip .aic { font-size: 0.9rem; }

.room-pricing {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--gray-light); gap: 10px; flex-wrap: wrap;
}
.price-block { display: flex; flex-direction: column; }
.original-price { font-size: 0.78rem; color: var(--gray); text-decoration: line-through; }
.discounted-price { font-size: 1.4rem; font-weight: 700; color: var(--dark); line-height: 1; font-family: var(--font-body); }
.discounted-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray); font-family: var(--font-body); }
.discount-badge { background: #e8f5e9; color: var(--green); padding: 2px 8px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; margin-top: 3px; display: inline-block; font-family: var(--font-body); }

/* ===== ROOM DETAIL PAGE ===== */
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 270px 270px; gap: 6px; border-radius: var(--radius); overflow: hidden; }
.gallery-main { grid-row: 1 / 3; position: relative; overflow: hidden; }
.gallery-main img, .gallery-side img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { position: relative; overflow: hidden; }
.gallery-more { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.video-preview { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.68); color: var(--white); border: 2px solid rgba(255,255,255,0.4); padding: 7px 14px; border-radius: 50px; font-size: 0.78rem; cursor: pointer; display: flex; align-items: center; gap: 5px; backdrop-filter: blur(4px); transition: var(--transition); font-family: var(--font-body); }
.video-preview:hover { background: rgba(201,168,76,0.8); }
.room-info-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; margin-top: 36px; }
.booking-sticky { position: sticky; top: 82px; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid rgba(201,168,76,0.15); }
.booking-sticky .big-price { font-size: 1.7rem; font-weight: 700; color: var(--dark); font-family: var(--font-body); }
.booking-sticky .big-price span { font-size: 0.82rem; font-weight: 400; color: var(--gray); font-family: var(--font-body); }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.83rem; }
.price-row:last-child { border-bottom: none; font-weight: 700; }
.price-total { font-size: 1rem !important; }

/* ===== STICKY BOOK BUTTON (mobile) ===== */
.sticky-book-bar {
  display: none; /* shown only on ≤920px via media query */
  position: fixed;
  /* env(safe-area-inset-bottom) pushes bar above Android nav / iPhone home indicator */
  /* Lifted 8px above the system nav bar for a floating feel */
  bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
  left: 8px; right: 8px; border-radius: 16px;
  z-index: 900;
  background: var(--white);
  padding: 10px 16px;
  padding-bottom: 10px;
  box-shadow: 0 -3px 16px rgba(0,0,0,0.1);
  border-top: 1px solid var(--gray-light);
}
#sbb-price { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--dark); }
#sbb-details { font-size: 0.7rem; color: var(--gray); }
#sbb-book-btn { font-weight: 700; font-size: 0.88rem; }
/* Prevent buttons in sticky bar from showing tap colour on mobile */
.sticky-book-bar button, .sticky-book-bar a { -webkit-tap-highlight-color: transparent; outline: none; }
.sticky-book-bar button:active { opacity: 0.85; transform: scale(0.97); }
@media (max-width: 360px) {
  .sticky-book-bar { padding: 10px 12px; gap: 8px; }
  #sbb-book-btn { padding: 9px 14px; font-size: 0.82rem; }
}

/* ===== INFO TABS (room-detail: Policies / Restaurant / Distances) ===== */
.info-tabs { margin-top: 20px; }
.info-tab-buttons {
  display: flex; gap: 0; border-bottom: 2px solid var(--gray-light); margin-bottom: 0;
}
.info-tab-btn {
  padding: 9px 16px; border: none; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  color: var(--gray); border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all 0.2s; white-space: nowrap;
}
.info-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.info-tab-btn:hover { color: var(--dark-medium); }
.info-tab-panel {
  display: none; padding: 16px; background: var(--cream);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border: 1px solid var(--gray-light); border-top: none;
  font-size: 0.85rem; color: var(--dark-medium); line-height: 1.7;
}
.info-tab-panel.active { display: block; }

/* ===== LIGHTBOX ===== */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-inner {
  position: relative; max-width: 92vw; max-height: 90vh;
  /* Swipe cursor hint */
  cursor: grab;
  user-select: none;
}
.lightbox-inner:active { cursor: grabbing; }
.lightbox-inner img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); object-fit: contain; display: block; pointer-events: none; }
.lightbox-inner video { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }

/* ── Close button — solid white, clearly visible ── */
.lightbox-close {
  position: fixed; top: 16px; right: 16px; z-index: 10001;
  background: #ffffff; color: #1a1a1a;
  font-size: 1.1rem; font-weight: 700; line-height: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 16px rgba(0,0,0,0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lightbox-close:hover { transform: scale(1.1); box-shadow: 0 4px 20px rgba(0,0,0,0.6); }

/* ── Prev / Next — solid white circles, always visible ── */
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 10001;
  background: #ffffff; color: #1a1a1a;
  border: none; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 16px rgba(0,0,0,0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-2px) scale(1.08); box-shadow: 0 4px 20px rgba(0,0,0,0.55); }
.lightbox-next:hover { transform: translateY(-50%) translateX(2px) scale(1.08); box-shadow: 0 4px 20px rgba(0,0,0,0.55); }
/* On very small screens, make buttons smaller */
@media (max-width: 480px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(201,168,76,0.1); }
.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 1px; }
.testimonial-card p { font-style: italic; font-size: 0.86rem; margin-bottom: 14px; color: var(--dark-medium); line-height: 1.65; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar { width: 38px; height: 38px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.85rem; }
.reviewer-name { font-weight: 700; font-size: 0.84rem; }
.reviewer-source { font-size: 0.72rem; color: var(--gray); }

/* ===== FAQ ===== */
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 8px; border: 1px solid rgba(0,0,0,0.06); overflow: hidden; }
.faq-question { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--dark); gap: 12px; transition: var(--transition); }
.faq-question:hover { background: var(--cream); }
.faq-icon { font-size: 1.2rem; color: var(--gold); min-width: 22px; text-align: center; font-weight: 400; transition: transform 0.3s; }
.faq-answer { display: none; padding: 0 18px 16px; font-size: 0.86rem; color: var(--dark-medium); line-height: 1.75; border-top: 1px solid var(--gray-light); padding-top: 12px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===== DISTANCES / INFO CARDS ===== */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.info-card .ic-icon { font-size: 1.6rem; margin-bottom: 6px; }
.info-card h4 { font-size: 0.78rem; color: var(--gray); font-family: var(--font-body); font-weight: 500; margin-bottom: 3px; }
.info-card p { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 0; font-family: var(--font-heading); }
.info-card small { font-size: 0.7rem; color: var(--gray); }

/* ===== MAP / CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-info-item { display: flex; gap: 13px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: linear-gradient(135deg, rgba(201,168,76,0.14), rgba(201,168,76,0.05)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; min-width: 42px; border: 1px solid rgba(201,168,76,0.2); }
.contact-text h4 { font-size: 0.8rem; color: var(--gray); font-family: var(--font-body); font-weight: 600; margin-bottom: 2px; }
.contact-text p, .contact-text a { font-size: 0.88rem; color: var(--dark-medium); }
.map-embed { width: 100%; height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; border: none; }
/* WhatsApp float removed */

/* ===== FOOTER ===== */
footer { background: #111; color: var(--white); padding: 56px 20px 0; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-about p { color: rgba(255,255,255,0.55); font-size: 0.83rem; line-height: 1.7; margin-top: 12px; }
.footer-logo-name { font-family: var(--font-heading); font-size: 1.35rem; color: var(--white); }
.footer-logo-tag { font-size: 0.62rem; color: var(--gold); letter-spacing: 1.8px; text-transform: uppercase; font-family: var(--font-body); }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; color: var(--white); margin-bottom: 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.83rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; }
.footer-contact-item .fi { color: var(--gold); min-width: 17px; margin-top: 2px; font-size: 0.85rem; }
.footer-contact-item span { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: rgba(255,255,255,0.38); font-size: 0.76rem; }
.footer-bottom a { color: var(--gold); font-size: 0.76rem; }
.social-links { display: flex; gap: 9px; }
.social-link { width: 34px; height: 34px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; transition: var(--transition); color: rgba(255,255,255,0.65); }
.social-link:hover { background: var(--gold); color: var(--white); }

/* ===== BOOKING PAGE ===== */
.booking-page-wrap { padding-top: 90px; padding-bottom: 100px; min-height: 100vh; background: var(--cream); }
/* Sticky "Continue to Pay" bar — always visible at bottom of booking page (all screens) */
.booking-sticky-pay {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--white); padding: 12px 20px;
  box-shadow: 0 -3px 18px rgba(0,0,0,0.1);
  border-top: 1px solid var(--gray-light);
}
.booking-sticky-pay .inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
}
@media (max-width: 640px) {
  .booking-sticky-pay { padding: 12px 16px; }
  .booking-sticky-pay .inner { justify-content: stretch; }
  .booking-sticky-pay .btn { flex: 1; }
}
.booking-form-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; border: 1px solid rgba(201,168,76,0.1); }
.booking-steps { display: flex; gap: 0; margin-bottom: 28px; }
.step { flex: 1; display: flex; align-items: center; gap: 7px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--gray-light); color: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 0.76rem; font-weight: 700; min-width: 28px; font-family: var(--font-body); }
.step.active .step-num { background: var(--gold); color: var(--white); }
.step.done .step-num { background: var(--green); color: var(--white); }
.step-label { font-size: 0.74rem; font-weight: 600; color: var(--gray); font-family: var(--font-body); }
.step.active .step-label { color: var(--gold); }
.step-line { flex: 1; height: 1px; background: var(--gray-light); margin: 0 6px; }

/* ===== ADMIN PANEL ===== */
.admin-wrap { min-height: 100vh; background: #F0F2F5; }
.admin-header { background: #1a1a1a; color: var(--white); padding: 0 22px; height: 58px; display: flex; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.admin-header h1 { font-size: 1rem; color: var(--white); font-family: var(--font-body); font-weight: 600; }
.admin-sidebar { position: fixed; top: 58px; left: 0; bottom: 0; width: 230px; background: var(--white); border-right: 1px solid var(--gray-light); overflow-y: auto; padding: 16px 0; z-index: 50; }
.admin-sidebar a { display: flex; align-items: center; gap: 9px; padding: 11px 18px; font-size: 0.84rem; color: var(--dark-medium); transition: var(--transition); font-weight: 500; font-family: var(--font-body); }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(201,168,76,0.08); color: var(--gold); border-right: 3px solid var(--gold); }
.admin-sidebar .sidebar-section { padding: 14px 18px 5px; font-size: 0.66rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.admin-content { margin-left: 230px; padding: 74px 24px 40px; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 7px rgba(0,0,0,0.06); margin-bottom: 22px; border: 1px solid rgba(0,0,0,0.05); }
.admin-card h3 { margin-bottom: 18px; font-size: 1.05rem; color: var(--dark); font-family: var(--font-heading); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 7px rgba(0,0,0,0.06); border-left: 4px solid var(--gold); }
.stat-card .stat-value { font-size: 1.7rem; font-weight: 700; color: var(--dark); font-family: var(--font-body); }
.stat-card .stat-label { font-size: 0.74rem; color: var(--gray); margin-top: 3px; font-family: var(--font-body); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.admin-table th { background: var(--cream); padding: 10px 13px; text-align: left; font-weight: 700; font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--gray-light); }
.admin-table td { padding: 10px 13px; border-bottom: 1px solid var(--gray-light); color: var(--dark-medium); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; font-family: var(--font-body); }
.badge-green { background: #e8f5e9; color: var(--green); }
.badge-red { background: #fde8e8; color: var(--red); }
.badge-orange { background: #fff3e0; color: #E65100; }
.badge-blue { background: #e3f2fd; color: #1565C0; }
.admin-input { width: 100%; padding: 9px 11px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.875rem; outline: none; transition: var(--transition); }
.admin-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.admin-label { display: block; font-size: 0.74rem; font-weight: 700; color: var(--gray); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-body); }
.admin-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: end; }
.toggle-switch { position: relative; display: inline-block; width: 42px; height: 23px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; border-radius: 23px; transition: 0.3s; }
.toggle-slider:before { content: ''; position: absolute; height: 17px; width: 17px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
input:checked + .toggle-slider { background: var(--green); }
input:checked + .toggle-slider:before { transform: translateX(19px); }
.availability-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 0.78rem; cursor: pointer; transition: var(--transition); border: 1.5px solid transparent; font-family: var(--font-body); }
.cal-day.available { background: #e8f5e9; color: var(--green); }
.cal-day.blocked { background: #fde8e8; color: var(--red); }
.cal-day.partial { background: #fff3e0; color: #E65100; }
.cal-day:hover { border-color: var(--gold); }
.cal-header { text-align: center; font-size: 0.68rem; font-weight: 700; color: var(--gray); padding: 3px; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a1a, #2d2d2d); }
.login-card { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.38); max-width: 370px; width: 100%; }

/* ===== ALERTS ===== */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 0.86rem; display: flex; align-items: center; gap: 9px; font-family: var(--font-body); }
.alert-success { background: #e8f5e9; color: var(--green); border: 1px solid #c8e6c9; }
.alert-error { background: #fde8e8; color: var(--red); border: 1px solid #f5c6cb; }
.alert-info { background: #e3f2fd; color: #1565C0; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3e0; color: #E65100; border: 1px solid #ffe0b2; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, #111 0%, #2a2a2a 100%); padding: 110px 20px 54px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 52px; background: var(--cream); clip-path: ellipse(60% 100% at 50% 100%); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.65); }

/* ===== POLICY PAGES ===== */
.policy-content { max-width: 780px; margin: 0 auto; background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.policy-content h2 { font-size: 1.2rem; margin: 26px 0 9px; color: var(--dark); }
.policy-content p { margin-bottom: 12px; font-size: 0.88rem; color: var(--dark-medium); line-height: 1.82; }
.policy-content ul { padding-left: 18px; margin-bottom: 12px; }
.policy-content ul li { font-size: 0.88rem; color: var(--dark-medium); line-height: 1.8; margin-bottom: 5px; }
.policy-content h2:first-child { margin-top: 0; }

/* ===== AVAILABILITY RESULT ===== */
.avail-room-card { background: var(--white); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow); display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; border: 2px solid transparent; transition: var(--transition); }
.avail-room-card:hover { border-color: var(--gold); }
.avail-room-thumb { width: 80px; height: 68px; border-radius: var(--radius-sm); object-fit: cover; }
.avail-room-price { text-align: right; }
.avail-room-price .price { font-size: 1.4rem; font-weight: 700; color: var(--dark); line-height: 1; font-family: var(--font-body); }
.avail-room-price small { font-size: 0.74rem; color: var(--gray); display: block; }
.avail-nights { font-size: 0.78rem; color: var(--gray); margin-top: 2px; }
.sold-out { opacity: 0.58; pointer-events: none; }
.sold-out-label { background: #fde8e8; color: var(--red); padding: 3px 11px; border-radius: 50px; font-size: 0.76rem; font-weight: 700; font-family: var(--font-body); }

/* ===== ABOUT PAGE ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; display: block; }
.about-text h2 { margin-bottom: 14px; }
.about-text p { margin-bottom: 12px; color: var(--dark-medium); font-size: 0.9rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.about-stat { text-align: center; }
.about-stat .num { font-size: 1.9rem; font-weight: 700; color: var(--gold); font-family: var(--font-body); }
.about-stat .lbl { font-size: 0.76rem; color: var(--gray); }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.58); z-index: 2000; align-items: center; justify-content: center; padding: 18px; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 28px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.28); position: relative; }
.modal-close { position: absolute; top: 13px; right: 16px; font-size: 1.3rem; cursor: pointer; color: var(--gray); background: none; border: none; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-gray { color: var(--gray); }
.fw-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== MOBILE NAV ===== */
@media (max-width: 920px) {
  .hamburger { display: flex; }
  nav ul {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.1); border-top: 1px solid var(--gray-light); gap: 2px;
  }
  nav ul.open { display: flex; }
  nav ul li a { display: block; padding: 11px 14px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-main { grid-row: auto; height: 240px; }
  .gallery-side { height: 150px; }
  .room-info-grid { grid-template-columns: 1fr; }
  /* Show booking widget below room info on tablet/mobile — not as sidebar */
  .booking-sticky {
    display: block;          /* ← always visible */
    position: relative;      /* not sticky — flows in the page */
    top: auto;
    margin-top: 24px;
    padding: 18px;
  }
  /* Sticky "Book Now" bar shown on mobile — scrolls to widget on click */
  .sticky-book-bar { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
  /* Booking widget on tablet/mobile: compact & full-width */
  .booking-sticky .big-price { font-size: 1.5rem; }
  .booking-sticky { padding: 16px; }
}

@media (max-width: 640px) {
  .booking-grid { grid-template-columns: 1fr 1fr; }
  /* Check-in & Check-out dates: always full width on mobile */
  .booking-grid .form-group:nth-child(1),
  .booking-grid .form-group:nth-child(2) { grid-column: 1 / -1; }
  .booking-grid .search-btn-wrap { grid-column: 1 / -1; }
  /* Ensure inputs never overflow on very small screens */
  .booking-grid input[type="date"],
  .booking-grid select { width: 100%; min-width: 0; }
  /* On very narrow screens (< 360px) collapse adults/children/rooms to 1 col too */
}
@media (max-width: 360px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-grid .form-group { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
  .booking-form-card { padding: 22px 16px; }
  .avail-room-card { grid-template-columns: 68px 1fr; }
  .avail-room-price { grid-column: 1 / -1; text-align: left; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  #hero { padding-top: 68px; }
  .header-inner { height: 62px; }
  nav ul { top: 62px; }
  #flash-banner { top: 62px; font-size: 0.74rem; }
  .room-gallery { grid-template-columns: 1fr; }
  .gallery-side { height: 130px; }
  .page-hero { padding: 96px 16px 48px; }
  .booking-box { padding: 18px 16px; }
  .booking-box h3 { font-size: 0.95rem; }
}

@media (max-width: 400px) {
  .booking-grid { grid-template-columns: 1fr; }
}


/* ===== DISTANCES STRIP — dark responsive ===== */
@media (max-width: 640px) {
  .distances-strip .distances-divider { display: none; }
  .distances-strip .dist-items { gap: 12px; flex-wrap: wrap; }
  .distances-strip .dist-item { flex: 1 1 calc(50% - 12px); }
}

/* Distances strip: Get Directions button full-width on mobile */
@media (max-width: 640px) {
  .distances-inner { flex-direction: column; align-items: stretch !important; }
  .directions-btn { width: 100% !important; justify-content: center; flex-shrink: 1 !important; }
}