/* ===================================================================
   HOUSE 567 APARTMENT - ULTRA-LUXURY DESIGN SYSTEM & MOBILE RESPONSIVE
   Bespoke Hospitality UI for Serviced Apartments & Suites, Abuja
   =================================================================== */

:root {
  --bg-main: #070a0f;
  --bg-surface: #0e141d;
  --bg-card: #131b26;
  --bg-card-hover: #1a2535;
  --bg-input: #0a0f16;
  --border-color: #212c3d;
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e4b3;
  --gold-dark: #a67c1e;
  --gold-gradient: linear-gradient(135deg, #f7e6b7 0%, #d4af37 50%, #996e19 100%);
  --gold-glow: 0 4px 25px rgba(212, 175, 55, 0.22);
  
  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --red-accent: #ef4444;
  --blue-accent: #3b82f6;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #8494ad;
  
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0c1219;
  border: 1px solid var(--gold-light);
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-dark:hover {
  background: var(--bg-card);
  border-color: var(--gold-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: var(--transition);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

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

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  border-color: var(--gold-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2500;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #0d131b;
  border-left: 1px solid var(--border-gold);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.drawer-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-link:hover {
  color: var(--gold-light);
}

/* Currency Selector */
.currency-toggle {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.currency-btn {
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.currency-btn.active {
  background: var(--gold-primary);
  color: #0c1219;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 70px 0 50px;
  background: radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.09) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.12;
  margin: 18px 0;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-card-frame:hover .hero-main-img {
  transform: scale(1.03);
}

.hero-overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 20, 29, 0.88);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Quick Search Bar */
.search-bar-wrap {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.search-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 0.8fr 1.2fr;
  gap: 16px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Location & Accessibility Section */
.location-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #0c1219 100%);
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.map-container-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 10px;
}

.map-coords-badge {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

#map-frame {
  width: 100%;
  height: 480px;
  border: none;
  background: #111822;
}

.map-actions-bar {
  padding: 16px 20px;
  background: var(--bg-surface);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.transit-hubs-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.transit-hub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.transit-hub-item:last-child {
  border-bottom: none;
}

.hub-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hub-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.hub-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hub-stats {
  text-align: right;
  flex-shrink: 0;
}

.hub-time {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hub-dist {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* Turn-by-Turn Card */
.driver-guide-box {
  margin-top: 20px;
  background: linear-gradient(145deg, #151d29, #0e141d);
  border: 1px dashed var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 20px;
}

.driver-guide-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Suites Showcase */
.suites-section {
  padding: 90px 0;
}

.suites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.suite-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.suite-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.suite-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.suite-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.suite-card:hover .suite-img {
  transform: scale(1.05);
}

.suite-tag {
  position: absolute;
  top: 16px;
  right: 16px;
}

.suite-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.suite-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.suite-meta-bar {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.suite-amenities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.amenity-pill {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 4px;
  color: var(--text-muted);
}

.suite-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.suite-price-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
}

.suite-price-unit {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #fff;
  border-color: var(--gold-primary);
}

/* Floating WhatsApp Concierge */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 90vw;
}

.toast {
  background: #111722;
  border-left: 4px solid var(--gold-primary);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  animation: slideIn 0.3s ease;
  max-width: 380px;
  font-size: 0.88rem;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS (MOBILE, TABLET, DESKTOP)
   =================================================================== */

@media (max-width: 1024px) {
  .hero-grid, .location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  #map-frame {
    height: 380px;
  }
  .search-bar-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.7rem;
  }
  .hero-main-img {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .search-bar-wrap {
    margin-top: 10px;
  }
  .search-bar-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
  .suites-grid {
    grid-template-columns: 1fr;
  }
  .modal-box {
    padding: 22px 18px;
    max-height: 94vh;
  }
  .floating-whatsapp span:last-child {
    display: none;
  }
  .floating-whatsapp {
    padding: 14px;
    bottom: 18px;
    right: 18px;
  }
}
