/* ==========================================================================
   NEOPOLIS SQUARE — LUXURY LOCATIONS & HYDERABAD MAP EXPERIENCE
   Interactive Night Map, Micro-Market Filtering, Property Showcase
   ========================================================================== */

/* Page Background & Base Layout */
.page-locations {
  background-color: var(--lux-ivory-light, #f8f6f0);
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Header Integration for locations page */
.page-locations .site-header.lux-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(248, 246, 240, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(231, 226, 214, 0.8) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.page-locations .lux-nav-item {
  color: #1a1c26 !important;
  font-weight: 500;
}

.page-locations .lux-nav-item:hover,
.page-locations .lux-nav-item.active {
  color: #0c0d12 !important;
  font-weight: 600;
}

.page-locations .lux-nav-item.active::after {
  background: var(--lux-gold-deep, #a6855b);
}

.page-locations .lux-icon-btn {
  color: #1a1c26 !important;
}

/* Locations Hero Section */
.lux-loc-hero {
  position: relative;
  padding: clamp(7.5rem, 9.5vw, 9.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3.5rem, 5vw, 4.5rem);
  background: var(--lux-ivory-light, #f8f6f0);
  background-image: 
    radial-gradient(ellipse at 85% 25%, rgba(255, 255, 255, 0.95) 0%, rgba(246, 243, 237, 0.6) 45%, transparent 75%),
    radial-gradient(ellipse at 25% 70%, rgba(255, 255, 255, 0.8) 0%, rgba(244, 240, 232, 0.4) 55%, transparent 85%);
  color: #0c0d12;
  overflow: hidden;
}

.lux-loc-hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(197, 168, 128, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.lux-loc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.lux-loc-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lux-gold-deep, #a6855b);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lux-loc-title {
  font-family: var(--lux-font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.15rem;
  max-width: 860px;
  color: #0c0d12;
}

.lux-loc-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--lux-gold-deep, #a6855b);
  display: block;
}

.lux-loc-subtitle {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  color: #555868;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 2rem;
}

/* Corridor Filter Pills Bar */
.lux-corridor-filter-wrap {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: -1.75rem auto 2.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.lux-corridor-pills {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(231, 226, 214, 0.8);
  scrollbar-width: none;
}

.lux-corridor-pills::-webkit-scrollbar {
  display: none;
}

.lux-pill-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444754;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lux-pill-btn:hover {
  color: #0c0d12;
  background: rgba(0, 0, 0, 0.04);
}

.lux-pill-btn.active {
  background: #0c0d12;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.lux-pill-btn .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lux-gold, #c5a880);
}

/* Main Map Stage Section */
.lux-loc-map-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 4rem;
}

.lux-loc-map-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #0c0d14;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.lux-loc-map-canvas {
  position: relative;
  width: 100%;
  height: clamp(520px, 60vh, 720px);
  overflow: hidden;
  user-select: none;
}

.lux-loc-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92) contrast(1.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-loc-map-canvas:hover .lux-loc-map-img {
  transform: scale(1.02);
}

.lux-loc-map-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 55%, transparent 30%, rgba(10, 12, 18, 0.45) 75%, rgba(10, 12, 18, 0.85) 100%);
  pointer-events: none;
}

/* Map Header Controls */
.lux-loc-map-topbar {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 15;
  pointer-events: none;
}

.lux-loc-map-badge {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(12, 13, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

.lux-loc-live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Glowing Map Pins */
.lux-loc-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  transition: z-index 0.2s;
}

.lux-loc-pin:hover,
.lux-loc-pin.active {
  z-index: 25;
}

.lux-loc-pin-beacon {
  width: 18px;
  height: 18px;
  background: var(--lux-gold, #c5a880);
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 16px rgba(197, 168, 128, 0.95);
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-loc-pin-beacon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--lux-gold, #c5a880);
  animation: pinPulse 2.4s infinite cubic-bezier(0.2, 0, 0, 1);
  opacity: 0.8;
}

.lux-loc-pin-beacon::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.4);
  animation: pinPulse 2.4s infinite cubic-bezier(0.2, 0, 0, 1) 0.6s;
  opacity: 0.5;
}

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.lux-loc-pin:hover .lux-loc-pin-beacon,
.lux-loc-pin.active .lux-loc-pin-beacon {
  transform: scale(1.25);
  background: #ffffff;
  border-color: var(--lux-gold, #c5a880);
  box-shadow: 0 0 24px rgba(255, 255, 255, 1);
}

/* Floating Locality Label Pill */
.lux-loc-pin-label {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 13, 18, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 168, 128, 0.4);
  border-radius: 14px;
  padding: 3px 10px;
  white-space: nowrap;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: all 0.25s ease;
}

.lux-loc-pin:hover .lux-loc-pin-label,
.lux-loc-pin.active .lux-loc-pin-label {
  background: var(--lux-gold, #c5a880);
  color: #0c0d12;
  border-color: #ffffff;
  transform: translateX(-50%) translateY(-2px);
}

/* Rich Map Popover Card */
.lux-loc-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 260px;
  background: rgba(14, 16, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 168, 128, 0.5);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 30;
}

.lux-loc-popover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(14, 16, 24, 0.96);
  border-right: 1px solid rgba(197, 168, 128, 0.5);
  border-bottom: 1px solid rgba(197, 168, 128, 0.5);
}

.lux-loc-pin:hover .lux-loc-popover,
.lux-loc-pin.active .lux-loc-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.lux-lpop-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.lux-lpop-tag {
  color: var(--lux-gold, #c5a880);
  font-size: 0.72rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.lux-lpop-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #b0b4c3;
}

.lux-lpop-stat-row strong {
  color: #ffffff;
  font-weight: 600;
}

.lux-lpop-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--lux-gold, #c5a880);
  color: #0c0d12;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.lux-lpop-link:hover {
  background: #ffffff;
}

/* Active Corridor Intelligence Dashboard Bar */
.lux-corridor-dashboard {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.6rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #e7e2d6;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.lux-cd-info h3 {
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #0c0d12;
}

.lux-cd-info p {
  font-size: 0.82rem;
  color: #636779;
  line-height: 1.45;
  margin: 0;
}

.lux-cd-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid #eae5dc;
  padding-left: 1.4rem;
}

.lux-cd-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b8f9e;
  font-weight: 600;
}

.lux-cd-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c0d12;
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
}

.lux-cd-stat-sub {
  font-size: 0.72rem;
  color: var(--lux-gold-deep, #a6855b);
  font-weight: 500;
}

/* Properties Grid Section */
.lux-loc-properties-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2.5rem) 5rem;
}

.lux-loc-prop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.lux-loc-prop-header-left .kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lux-gold-deep, #a6855b);
  margin-bottom: 0.4rem;
}

.lux-loc-prop-header-left h2 {
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 600;
  color: #0c0d12;
  margin: 0;
}

.lux-loc-prop-count {
  font-size: 0.85rem;
  color: #727685;
  background: #ede8df;
  padding: 4px 12px;
  border-radius: 12px;
}

/* Property Showcase Cards Grid */
.lux-loc-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.lux-lcard {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e7e2d6;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.lux-lcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--lux-gold, #c5a880);
}

.lux-lcard-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #111;
}

.lux-lcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lux-lcard:hover .lux-lcard-img {
  transform: scale(1.06);
}

.lux-lcard-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lux-lcard-locality-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0c0d12;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lux-lcard-body {
  padding: 1.4rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lux-lcard-price {
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0c0d12;
  margin-bottom: 0.25rem;
}

.lux-lcard-title {
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: #1a1c26;
  margin: 0 0 0.6rem 0;
  line-height: 1.3;
}

.lux-lcard-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.lux-lcard-title a:hover {
  color: var(--lux-gold-deep, #a6855b);
}

.lux-lcard-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #646877;
  padding: 0.75rem 0;
  border-top: 1px solid #f0ecdf;
  border-bottom: 1px solid #f0ecdf;
  margin-bottom: 1rem;
}

.lux-lcard-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lux-lcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.lux-lcard-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lux-gold-deep, #a6855b);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.lux-lcard-link:hover {
  gap: 7px;
}

/* Strategic Corridor Highlights Grid */
.lux-loc-highlights-section {
  background: #ede8df;
  padding: 4.5rem clamp(1.5rem, 5vw, 4rem);
  margin-top: 2rem;
}

.lux-highlights-container {
  max-width: 1280px;
  margin: 0 auto;
}

.lux-highlights-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.lux-highlights-header h2 {
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.lux-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.lux-hcard {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  border: 1px solid #e2ddd2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease;
}

.lux-hcard:hover {
  transform: translateY(-4px);
}

.lux-hcard-num {
  font-family: var(--lux-font-serif, 'Playfair Display', serif);
  font-size: 1.6rem;
  color: var(--lux-gold, #c5a880);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lux-hcard h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0c0d12;
}

.lux-hcard p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #646877;
  margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .lux-corridor-dashboard {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .lux-cd-stat {
    border-left: none;
    border-top: 1px solid #eae5dc;
    padding-left: 0;
    padding-top: 0.8rem;
  }
  .lux-loc-map-canvas {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .lux-loc-cards-grid {
    grid-template-columns: 1fr;
  }
  .lux-loc-pin-label {
    display: none;
  }
}
