/* ==========================================================================
   3BHK + STUDY APARTMENT PAGE - PROFESSIONAL LUXURY DESIGN SYSTEM
   Umbera Heights Architectural & Residential Showcase
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --uh-emerald: #48a036;
  --uh-emerald-light: #5cb847;
  --uh-emerald-dark: #378028;
  --uh-emerald-soft: rgba(72, 160, 54, 0.08);
  --uh-emerald-glow: rgba(72, 160, 54, 0.25);
  
  --uh-gold: #c59b27;
  --uh-gold-soft: rgba(197, 155, 39, 0.1);
  
  --uh-slate-900: #0d1117;
  --uh-slate-800: #161b22;
  --uh-slate-700: #21262d;
  --uh-slate-100: #f1f5f9;
  --uh-slate-50: #f8fafc;
  
  --uh-ink: #0f172a;
  --uh-ink-muted: #64748b;
  --uh-ink-light: #94a3b8;
  
  --uh-border: #e2e8f0;
  --uh-border-dark: rgba(255, 255, 255, 0.08);
  
  --uh-shadow-xs: 0 2px 6px rgba(15, 23, 42, 0.04);
  --uh-shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.06);
  --uh-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --uh-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  
  --uh-radius-sm: 8px;
  --uh-radius-md: 12px;
  --uh-radius-lg: 18px;
  --uh-radius-xl: 24px;
}

/* Base resets & typography */
.uh-3bhk-page {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--uh-ink);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.uh-font-heading {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--uh-ink);
}

/* Editorial Eyebrow & Badges */
.uh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uh-emerald);
  background: var(--uh-emerald-soft);
  border: 1px solid rgba(72, 160, 54, 0.2);
  padding: 6px 16px;
  border-radius: 99px;
}

.uh-eyebrow.uh-eyebrow-gold {
  color: var(--uh-gold);
  background: var(--uh-gold-soft);
  border-color: rgba(197, 155, 39, 0.25);
}

.uh-eyebrow.uh-eyebrow-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

/* Hero Section Enhancement */
.uh-hero-wrapper {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero-subtitle-3bhk {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 12px auto 0;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Floating Stats & Key Metrics Dock */
.uh-metrics-dock-wrapper {
  position: relative;
  margin-top: -60px;
  z-index: 30;
}

.uh-metrics-dock {
  background: #ffffff;
  border-radius: var(--uh-radius-lg);
  border: 1px solid var(--uh-border);
  box-shadow: var(--uh-shadow-md);
  padding: 16px 20px;
  transition: box-shadow 0.3s ease;
}

.uh-metrics-dock:hover {
  box-shadow: var(--uh-shadow-lg);
}

.uh-metric-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-right: 1px solid #f1f5f9;
  transition: transform 0.2s ease;
}

.uh-metric-cell:last-child {
  border-right: none;
}

.uh-metric-cell:hover {
  transform: translateY(-2px);
}

.uh-metric-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--uh-radius-md);
  background: var(--uh-emerald-soft);
  color: var(--uh-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.uh-metric-cell:hover .uh-metric-icon-box {
  background: var(--uh-emerald);
  color: #ffffff;
  box-shadow: 0 6px 16px var(--uh-emerald-glow);
}

.uh-metric-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--uh-ink);
  line-height: 1;
  margin-bottom: 3px;
}

.uh-metric-num small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--uh-ink-muted);
}

.uh-metric-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--uh-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   OVERVIEW & GALLERY SECTION
   ========================================================================== */
.uh-card-surface {
  background: #ffffff;
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-lg);
  padding: 36px;
  box-shadow: var(--uh-shadow-sm);
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.uh-card-surface:hover {
  box-shadow: var(--uh-shadow-md);
  border-color: rgba(72, 160, 54, 0.3);
}

.uh-gallery-wrap {
  position: relative;
  border-radius: var(--uh-radius-md);
  overflow: hidden;
  background: var(--uh-slate-900);
}

.uh-gallery-wrap .owl-carousel .item img {
  border-radius: var(--uh-radius-md);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.uh-thumbs-wrap {
  margin-top: 12px;
}

.uh-thumbs-wrap .owl-carousel .item img {
  border-radius: var(--uh-radius-sm);
  width: 100%;
  height: 70px;
  object-fit: cover;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.uh-thumbs-wrap .owl-carousel .item:hover img,
.uh-thumbs-wrap .owl-carousel .synced .item img {
  opacity: 1;
  border-color: var(--uh-emerald);
}

/* Data Particulars Matrix */
.uh-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
}

.uh-matrix-table tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.uh-matrix-table tr:hover {
  background-color: var(--uh-slate-50);
}

.uh-matrix-table td {
  padding: 14px 12px;
  vertical-align: middle;
}

.uh-matrix-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--uh-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.uh-matrix-label i {
  color: var(--uh-emerald);
  font-size: 0.95rem;
  width: 18px;
}

.uh-matrix-val {
  text-align: right;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--uh-ink);
}

.uh-matrix-highlight {
  background: rgba(72, 160, 54, 0.05);
  border-radius: var(--uh-radius-sm);
}

.uh-matrix-highlight td {
  padding: 16px 14px;
}

.uh-matrix-highlight .uh-matrix-val {
  color: var(--uh-emerald);
  font-size: 1.25rem;
}

/* ==========================================================================
   INTERACTIVE FLOOR PLAN STUDIO
   ========================================================================== */
.uh-floorplan-studio {
  background: #ffffff;
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-xl);
  padding: 36px;
  box-shadow: var(--uh-shadow-md);
}

.uh-view-tabs {
  display: inline-flex;
  background: var(--uh-slate-100);
  padding: 5px;
  border-radius: 99px;
  gap: 4px;
}

.uh-view-tabs .nav-tab-btn {
  border: none;
  background: transparent;
  color: var(--uh-ink-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.uh-view-tabs .nav-tab-btn.active,
.uh-view-tabs .nav-tab-btn:hover {
  background: var(--uh-ink);
  color: #ffffff;
}

.uh-plan-viewport {
  position: relative;
  background: radial-gradient(circle, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--uh-radius-lg);
  padding: 30px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.uh-plan-viewport img {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.uh-plan-viewport img:hover {
  transform: scale(1.02);
}

.uh-stamp-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.uh-stamp-badge i {
  color: var(--uh-emerald-light);
}

.uh-zoom-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: #ffffff;
  color: var(--uh-ink);
  border: 1px solid var(--uh-border);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--uh-shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.uh-zoom-btn:hover {
  background: var(--uh-emerald);
  color: #ffffff;
  border-color: var(--uh-emerald);
  box-shadow: var(--uh-shadow-md);
}

/* Adaptive Space Option Cards */
.uh-adaptive-card {
  background: #ffffff;
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-lg);
  padding: 28px;
  height: 100%;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--uh-shadow-xs);
  display: flex;
  flex-direction: column;
}

.uh-adaptive-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--uh-shadow-md);
  border-color: rgba(72, 160, 54, 0.35);
}

.uh-adaptive-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--uh-radius-md);
  background: var(--uh-emerald-soft);
  color: var(--uh-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.uh-adaptive-card:hover .uh-adaptive-icon-wrap {
  background: var(--uh-emerald);
  color: #ffffff;
}

.uh-adaptive-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--uh-ink);
  margin-bottom: 10px;
}

.uh-adaptive-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--uh-ink-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   DESIGN FEATURES GRID (8 ARCHITECTURAL HIGHLIGHTS)
   ========================================================================== */
.uh-feature-card {
  background: #ffffff;
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-lg);
  padding: 26px;
  height: 100%;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.uh-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--uh-shadow-md);
  border-color: var(--uh-emerald);
}

.uh-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--uh-radius-md);
  background: var(--uh-emerald-soft);
  color: var(--uh-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.uh-feature-card:hover .uh-feature-icon {
  background: var(--uh-emerald);
  color: #ffffff;
}

.uh-feature-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--uh-ink);
  margin-bottom: 6px;
}

.uh-feature-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--uh-ink-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   SPECIFICATIONS CARDS
   ========================================================================== */
.uh-specs-surface {
  background: var(--uh-slate-50);
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-xl);
  padding: 40px;
}

.uh-spec-box {
  background: #ffffff;
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-lg);
  overflow: hidden;
  box-shadow: var(--uh-shadow-xs);
  height: 100%;
  transition: all 0.25s ease;
}

.uh-spec-box:hover {
  box-shadow: var(--uh-shadow-md);
  border-color: rgba(72, 160, 54, 0.35);
}

.uh-spec-box-header {
  background: linear-gradient(135deg, var(--uh-slate-900) 0%, var(--uh-slate-800) 100%);
  color: #ffffff;
  padding: 18px 24px;
}

.uh-spec-box-header h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.uh-spec-box-header h5 i {
  color: var(--uh-emerald-light);
}

.uh-spec-data-table {
  width: 100%;
  margin-bottom: 0;
}

.uh-spec-data-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.uh-spec-data-table tr:last-child {
  border-bottom: none;
}

.uh-spec-data-table th {
  background: var(--uh-slate-50);
  color: var(--uh-ink-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  font-weight: 700;
  border: none;
}

.uh-spec-data-table td {
  padding: 13px 20px;
  font-size: 0.88rem;
  vertical-align: middle;
  border: none;
}

.uh-spec-data-table td.col-feature {
  font-weight: 600;
  color: var(--uh-ink);
  width: 32%;
}

.uh-spec-data-table td.col-spec {
  color: var(--uh-ink-muted);
}

/* ==========================================================================
   PHOTO AMENITIES (16 SIGNATURE FEATURES)
   ========================================================================== */
.uh-amenity-card-pro {
  background: #ffffff;
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-lg);
  overflow: hidden;
  box-shadow: var(--uh-shadow-xs);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.uh-amenity-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: var(--uh-shadow-lg);
  border-color: rgba(72, 160, 54, 0.45);
}

.uh-amenity-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--uh-slate-900);
}

.uh-amenity-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.uh-amenity-card-pro:hover .uh-amenity-img-box img {
  transform: scale(1.08);
}

.uh-amenity-pill-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 99px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uh-amenity-pill-tag i {
  color: var(--uh-emerald-light);
}

.uh-amenity-info {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.uh-amenity-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--uh-ink);
  margin-bottom: 8px;
}

.uh-amenity-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--uh-ink-muted);
  margin-bottom: 0;
}

/* Callout Info Banner */
.uh-callout-banner {
  background: #ffffff;
  border-left: 4px solid var(--uh-emerald);
  border-radius: 0 var(--uh-radius-md) var(--uh-radius-md) 0;
  padding: 18px 24px;
  box-shadow: var(--uh-shadow-xs);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--uh-ink-muted);
}

.uh-callout-banner i {
  color: var(--uh-emerald);
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.uh-btn-primary-emerald {
  background: var(--uh-emerald);
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  box-shadow: 0 8px 20px var(--uh-emerald-glow);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.uh-btn-primary-emerald:hover {
  background: var(--uh-emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px var(--uh-emerald-glow);
}

.uh-btn-dark-obsidian {
  background: var(--uh-slate-900);
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.uh-btn-dark-obsidian:hover {
  background: var(--uh-slate-700);
  transform: translateY(-2px);
}

.uh-btn-outline-clean {
  background: transparent;
  color: var(--uh-ink) !important;
  border: 1px solid var(--uh-border);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.uh-btn-outline-clean:hover {
  background: var(--uh-slate-50);
  border-color: var(--uh-ink);
}

/* 3D Virtual Tour Edge Frame */
.uh-tour-frame {
  border-radius: var(--uh-radius-xl);
  overflow: hidden;
  box-shadow: var(--uh-shadow-lg);
  border: 1px solid var(--uh-border);
  background: #000000;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .uh-metrics-dock-wrapper {
    margin-top: 20px;
  }
  .uh-metric-cell {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 8px;
  }
  .uh-metric-cell:last-child {
    border-bottom: none;
  }
  .uh-card-surface,
  .uh-floorplan-studio,
  .uh-specs-surface {
    padding: 24px 18px;
  }
  .uh-plan-viewport {
    min-height: 320px;
    padding: 15px;
  }
  .uh-amenity-img-box {
    height: 190px;
  }
}
