/* ==========================================================================
   GHANABOOKING.COM — SHARED DESIGN SYSTEM (ORANGE & BLACK THEME)
   ========================================================================== */

/* ── FONT IMPORT ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

/* ── ROOT VARIABLES ── */
:root {
  /* Colors */
  --bg-darkest: #ffffff;             /* General Background (White): #FFFFFF */
  --bg-dark: #333333;                /* Main Background Elements (Dark Gray): #333333 */
  --bg-surface: #ffffff;             /* Highlight Elements (White): #FFFFFF */
  --bg-surface-hover: #f5f5f5;       /* Subtle hover background */
  
  --border-color: #cccccc;           /* Subtle Background Elements (Light Gray): #CCCCCC */
  --border-light: #e5e5e5;           /* Even lighter gray for subtle lines */
  
  --orange: #FDB813;                 /* Primary Accent Color (Gold/Yellow): #FDB813 */
  --orange-hover: #e0a30d;           /* Slightly darker gold/yellow for hover contrast */
  --orange-light: rgba(253, 184, 19, 0.12);
  --orange-glow: rgba(253, 184, 19, 0.3);
  
  --white: #333333;                  /* Mapped to dark gray for inline text compatibility */
  --pure-white: #ffffff;             /* Pure White background variable */
  --text-primary: #333333;           /* Main Text (Dark Gray): #333333 */
  --text-secondary: #666666;         /* Secondary Text (readable gray) */
  --text-muted: #cccccc;             /* Subtle text color */
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --info: #3b82f6;
  
  /* Fonts */
  --font-main: 'Montserrat', sans-serif;
  --serif: var(--font-main);
  --sans: var(--font-main);
  
  /* Radii & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(253, 184, 19, 0.15);
  
  /* Heights */
  --nav-height: 72px;
}

/* ── RESET & GLOBAL STYLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-darkest);
}

body {
  font-family: var(--sans);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--orange);
}

.view-all-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed var(--orange);
  padding-bottom: 2px;
}
.view-all-link:hover {
  color: var(--white);
  border-color: var(--white);
  transform: translateX(4px);
}

/* ── BUTTONS & BADGES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--bg-darkest);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(252, 185, 0, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--text-muted);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.btn-outline:hover {
  background-color: var(--orange-light);
  color: var(--white);
  border-color: var(--orange-hover);
}

.btn-dark {
  background-color: var(--bg-darkest);
  color: var(--white);
  border: 1px solid var(--border-color);
}
.btn-dark:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: var(--bg-darkest);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-orange {
  background-color: var(--orange-light);
  color: var(--orange);
}
.badge-success {
  background-color: var(--success-bg);
  color: var(--success);
}
.badge-danger {
  background-color: var(--danger-bg);
  color: var(--danger);
}
.badge-dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ── NAV BAR ── */
nav.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(7, 7, 8, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.main-nav.scrolled {
  background: var(--bg-darkest);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-color);
  height: 64px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='6' fill='%23FDB813'/%3E%3Cpath d='M7 17V7H12C13.6569 7 15 8.34315 15 10C15 11.6569 13.6569 13 12 13H7M7 13H12C13.6569 13 15 14.3431 15 16C15 17.6569 13.6569 19 12 19H7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links li.active a {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── FOOTER ── */
footer.main-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 320px;
  margin: 16px 0 24px;
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
}
.social-btn:hover {
  background-color: var(--orange);
  color: var(--bg-darkest);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
}
.footer-col a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* ── FORMS & INPUTS ── */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.25s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  background-color: var(--bg-surface-hover);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.form-control::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--text-secondary);
}
.form-check input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

/* ── STAR RATING ── */
.stars {
  color: var(--orange);
  font-size: 12px;
  display: flex;
  gap: 2px;
}
.stars span {
  font-weight: bold;
}
.stars-muted {
  color: var(--text-muted);
}

/* ── RATING BADGE ── */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rating-num {
  background-color: var(--orange);
  color: var(--bg-darkest);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: var(--radius-md);
}
.rating-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.rating-reviews {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   PAGE-SPECIFIC COMPONENT STYLES
   ========================================================================== */

/* ── 1. HOME & SEARCH BOX ── */
.hero-search-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 10px;
  width: 100%;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.search-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.search-tab-btn {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-tab-btn:hover {
  color: var(--white);
}
.search-tab-btn.active {
  background-color: var(--orange-light);
  color: var(--orange);
}

.search-inputs-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1fr auto;
  align-items: center;
  gap: 8px;
}

.search-input-field {
  display: flex;
  flex-direction: column;
  padding: 6px 14px;
  border-right: 1px solid var(--border-color);
}
.search-input-field:nth-last-of-type(2) {
  border-right: none;
}

.search-input-field label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 4px;
}

.search-input-field input,
.search-input-field select {
  font-size: 14px;
  color: var(--white);
  width: 100%;
  outline: none;
}
.search-input-field input::placeholder {
  color: var(--text-muted);
}

.search-trigger-btn {
  background-color: var(--orange);
  color: var(--bg-darkest);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  transition: all 0.2s;
}
.search-trigger-btn:hover {
  background-color: var(--orange-hover);
  transform: scale(1.04);
}
.search-trigger-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--bg-darkest);
  stroke-width: 2.5;
  fill: none;
}

/* ── 2. SEARCH RESULTS PAGE ── */
.search-results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 40px;
}

/* Sidebar Filters */
.filters-sidebar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.filter-section {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.filter-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Results Content Area */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.results-count {
  font-size: 14px;
  color: var(--text-secondary);
}
.results-count span {
  color: var(--white);
  font-weight: 600;
}

.results-sorting {
  display: flex;
  align-items: center;
  gap: 12px;
}
.results-sorting span {
  font-size: 13px;
  color: var(--text-muted);
}
.sort-select {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Property List Card */
.property-list-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  transition: transform 0.25s, border-color 0.25s;
}
.property-list-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.prop-img-box {
  position: relative;
  height: 100%;
  min-height: 220px;
}
.prop-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 5;
}
.prop-wishlist {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 5;
  background-color: rgba(7,7,8,0.6);
  backdrop-filter: blur(8px);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s;
}
.prop-wishlist:hover {
  color: var(--orange);
  background-color: var(--white);
}

.prop-details-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prop-info-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prop-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.prop-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}
.prop-location {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.prop-amenities-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.prop-amenities-row span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.prop-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.prop-price-container {
  display: flex;
  flex-direction: column;
}
.prop-price-label {
  font-size: 11px;
  color: var(--text-muted);
}
.prop-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--serif);
}
.prop-price span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  font-family: var(--sans);
}
.prop-tax-info {
  font-size: 11px;
  color: var(--text-muted);
}

/* Mock Map Overlay Container */
.map-view-container {
  display: none;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 600px;
  position: relative;
}
.map-view-container.active {
  display: block;
}
.mock-map {
  background-color: #1a1a24;
  width: 100%;
  height: 100%;
  position: relative;
}
/* Visual dots for map mock properties */
.map-pin {
  position: absolute;
  background-color: var(--orange);
  color: var(--bg-darkest);
  font-weight: bold;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.map-pin::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: var(--orange) transparent;
}
.map-pin:hover {
  background-color: var(--white);
  color: var(--black);
  z-index: 10;
}

/* ── 3. PROPERTY DETAIL PAGE ── */
/* Photo Grid Gallery */
.property-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 400px;
  gap: 12px;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-main-img {
  height: 100%;
}
.gallery-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-side-imgs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  height: 100%;
}
.gallery-side-img {
  position: relative;
  overflow: hidden;
}
.gallery-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
}

/* Content Split Layout */
.property-content-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-top: 40px;
}

.property-main-desc h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 16px;
}
.property-main-desc p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.amenities-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.amenity-item svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

/* Sticky Reserve Sidebar */
.reserve-sticky-sidebar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

/* Room Selection Table */
.rooms-table-container {
  margin-top: 56px;
  border-top: 1px solid var(--border-color);
  padding-top: 48px;
}
.rooms-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  text-align: left;
}
.rooms-table th {
  border-bottom: 2px solid var(--border-color);
  padding: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.rooms-table td {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 16px;
  vertical-align: top;
}
.room-type-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.room-type-meta {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.room-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.room-price span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── 4. CHECKOUT PAGE ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  margin-top: 32px;
}

/* Stepper Component */
.stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}
.step-item.active {
  color: var(--orange);
}
.step-item.completed {
  color: var(--white);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.step-item.active .step-num {
  border-color: var(--orange);
  background-color: var(--orange);
  color: var(--bg-darkest);
}
.step-item.completed .step-num {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--black);
}

.step-divider {
  flex: 1;
  height: 2px;
  background-color: var(--border-color);
  margin: 0 16px;
}

/* Payment Selection Boxes */
.payment-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.payment-option-card {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s;
}
.payment-option-card:hover {
  border-color: var(--orange-glow);
}
.payment-option-card.active {
  border-color: var(--orange);
  background-color: rgba(252, 185, 0, 0.04);
}
.pay-opt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pay-opt-title {
  font-weight: 600;
  color: var(--white);
}
.pay-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-option-card.active .pay-opt-radio {
  border-color: var(--orange);
}
.payment-option-card.active .pay-opt-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--orange);
  border-radius: var(--radius-full);
}
.pay-opt-logos {
  display: flex;
  gap: 8px;
}
.pay-opt-logos img {
  height: 24px;
  object-fit: contain;
}

.checkout-summary-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: fit-content;
}
.summary-hotel-detail {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.summary-hotel-detail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.summary-hotel-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}
.summary-hotel-loc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.summary-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  font-size: 14px;
}
.summary-detail-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}
.summary-detail-row strong {
  color: var(--white);
}

.summary-cost-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}
.cost-row.total {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 4px;
}

/* ── 5. MY ACCOUNT PAGE ── */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 32px;
}

.account-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
}
.account-menu-item:hover {
  background-color: var(--bg-surface);
  color: var(--white);
}
.account-menu-item.active {
  background-color: var(--orange-light);
  color: var(--orange);
}
.account-menu-item svg {
  width: 18px;
  height: 18px;
}

.account-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.account-card-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.account-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.account-stat-box {
  background-color: var(--bg-darkest);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.account-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.account-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-top: 4px;
}

.bookings-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.booking-tab-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.booking-tab-btn.active {
  color: var(--orange);
  border-color: var(--orange);
}

.booking-item-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-darkest);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.booking-item-card:last-child {
  margin-bottom: 0;
}
.booking-item-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.booking-item-info {
  flex: 1;
  padding: 0 20px;
}
.booking-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.booking-item-dates {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.booking-item-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 4px;
}

/* ── 6. PROPERTY SIGNUP / ONBOARDING ── */
.signup-flow-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: var(--shadow-lg);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}
.wizard-steps::after {
  content: '';
  position: absolute;
  top: 14px; left: 0; right: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}
.wizard-step-circle {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background-color: var(--bg-darkest);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s;
}
.wizard-step.active .wizard-step-circle {
  border-color: var(--orange);
  background-color: var(--orange);
  color: var(--bg-darkest);
}
.wizard-step.completed .wizard-step-circle {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--black);
}
.wizard-step-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
  color: var(--text-muted);
}
.wizard-step.active .wizard-step-label {
  color: var(--white);
}

/* Custom Upload Drag/Drop */
.upload-drag-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  background-color: var(--bg-darkest);
  transition: all 0.25s;
  margin-top: 10px;
}
.upload-drag-zone:hover {
  border-color: var(--orange);
  background-color: rgba(255,102,0,0.02);
}
.upload-zone-icon {
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 12px;
}
.upload-zone-text {
  font-size: 14px;
  color: var(--text-secondary);
}
.upload-zone-text span {
  color: var(--orange);
  font-weight: 600;
}

/* ── 7. ADMIN / EXTRANET DASHBOARD ── */
.admin-dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}
.admin-nav-item:hover {
  background-color: var(--bg-surface-hover);
  color: var(--white);
}
.admin-nav-item.active {
  background-color: var(--orange-light);
  color: var(--orange);
}

.admin-content {
  padding: 40px 48px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-title-group h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
}
.admin-title-group p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Dashboard Analytics Grid */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.analytic-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.analytic-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.analytic-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
}
.analytic-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.analytic-trend {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}
.analytic-trend.up {
  color: var(--success);
}
.analytic-trend.down {
  color: var(--danger);
}

/* Charts & Lists layout */
.dashboard-details-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.dashboard-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* Tables in Admin Extranet */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  border-bottom: 1px solid var(--border-color);
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
}
.admin-table td {
  border-bottom: 1px solid var(--border-light);
  padding: 16px 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table-title {
  font-weight: 600;
  color: var(--white);
}

/* MOCK CHART SVG GRAPH */
.mock-chart-svg {
  width: 100%;
  height: 220px;
  background-color: var(--bg-darkest);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: 10px;
  padding: 10px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT RESPONSES
   ========================================================================== */
@media (max-width: 1024px) {
  .search-results-layout {
    grid-template-columns: 1fr;
  }
  .filters-sidebar {
    position: static;
    margin-bottom: 24px;
  }
  .property-content-split {
    grid-template-columns: 1fr;
  }
  .reserve-sticky-sidebar {
    position: static;
    margin-top: 32px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none; /* In production: hamburger menu. For UI demo: full height fallback */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .search-inputs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .search-input-field {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
  }
  .search-trigger-btn {
    width: 100%;
    height: 48px;
    margin-top: 8px;
  }
  .property-list-card {
    grid-template-columns: 1fr;
  }
  .prop-img-box {
    height: 200px;
  }
  .payment-selector {
    grid-template-columns: 1fr;
  }
  .account-stats-row {
    grid-template-columns: 1fr;
  }
  .analytics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-details-grid {
    grid-template-columns: 1fr;
  }
  .stepper-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .step-divider {
    display: none;
  }
  .nav-links {
    display: none; /* Responsive Nav TBD */
  }
}

@media (max-width: 480px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   LIGHT THEME OVERRIDES
   ========================================================================= */

/* Headings, labels, and titles that should be dark gray (#333333) */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.logo,
.search-hero-title,
.prop-title,
.prop-amenities h4,
.detail-hero-title,
.amenities-group h3,
.spec-item strong,
.booking-sidebar h3,
.pay-opt-title,
.summary-heading,
.summary-row.total,
.confirmation-card h2,
.account-card-title,
.dashboard-panel h3,
.admin-table th,
.auth-form h2,
.partner-hero h1,
.step-card h3,
.faq-question,
.form-label,
.tab-btn,
.nav-links a {
  color: var(--text-primary);
}

/* Specific component overrides */
nav.main-nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-light);
}

nav.main-nav.scrolled {
  background: var(--bg-darkest);
  border-bottom-color: var(--border-color);
}

.view-all-link:hover {
  color: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn-primary {
  color: #333333 !important; /* Ensure primary button text has contrast */
}
.btn-primary:hover {
  color: #333333 !important;
}

.btn-secondary:hover {
  color: var(--text-primary);
  background-color: var(--bg-surface-hover);
}

.btn-outline:hover {
  color: var(--text-primary);
}

.badge-dark {
  background-color: var(--bg-dark);
  color: var(--pure-white);
}

.mock-map {
  background-color: var(--border-light);
}

.checkout-steps li.active {
  color: var(--text-primary);
}

/* Form inputs styling */
.form-control {
  background-color: var(--bg-darkest);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.form-control:focus {
  border-color: var(--orange);
  background-color: var(--bg-darkest);
}

/* Ensure footer text is highly legible on the dark gray footer background */
footer.main-footer,
footer.main-footer h4,
footer.main-footer p,
footer.main-footer a,
footer.main-footer span {
  color: var(--text-muted);
}
footer.main-footer h4 {
  color: var(--pure-white);
}
footer.main-footer a:hover {
  color: var(--orange);
}

/* ── TYPOGRAPHY WEIGHTS & RULE ── */
body {
  font-family: var(--font-main);
  font-weight: 400; /* Regular */
}

/* Headings (h1, h2, h3): Montserrat, Bold (700) */
h1, h2, h3,
.section-title,
.hero-title,
.search-hero-title,
.prop-title,
.detail-hero-title,
.summary-heading,
.confirmation-card h2,
.account-card-title,
.dashboard-panel h3,
.partner-hero h1,
.auth-form h2 {
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
}

/* Captions/Details: Montserrat, Light (300) */
.text-muted,
.text-secondary,
.section-eyebrow,
.offer-region,
.prop-amenities span,
.spec-item span,
.form-label,
.form-control::placeholder,
.footer-brand p,
.footer-bottom,
.nav-links a,
.caption,
.details,
.detail-label,
.meta-text,
.prop-badge,
.hk-badge {
  font-family: var(--font-main) !important;
  font-weight: 300 !important;
}
