/* ==========================================================================
   Pooja Mahajan - Lucknow Location Page Header Stylesheet (assets/css/lucknow-location.css)
   ========================================================================== */

:root {
  --vl-pink: #f52f55;
  --vl-pink-dark: #e91e49;
  --vl-pink-light: #fdecef;
  --vl-bg: #fffdfd;
  --vl-text: #101820;
  --vl-muted: #737887;
  --vl-white: #ffffff;
  --vl-font-serif: 'Playfair Display', Georgia, serif;
  --vl-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --vl-font-hand: 'Caveat', 'Dancing Script', cursive;
}

/* Outer Section with subtle warm blush canvas */
.vl-lucknow {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #FFFDFD 0%, #FFF5F7 45%, #FEECEF 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 47, 85, 0.08);
}

/* Ambient Radial Glows complementing the map blend */
.vl-lucknow::before {
  content: '';
  position: absolute;
  top: -15%;
  right: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 47, 95, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.vl-lucknow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 175, 195, 0.16) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.vl-lucknow__container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 580px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

/* ==========================================================================
   1. LEFT PORTRAIT PANEL (~28%)
   ========================================================================== */
.vl-lucknow__portrait {
  position: relative;
  flex: 0 0 28%;
  max-width: 460px;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 5;
  pointer-events: none;
}

.vl-lucknow__portrait-img {
  width: 100%;
  height: 100%;
  transform: scale(1.25);
  object-fit: contain;
  object-position: bottom left;
  display: block;
  user-select: none;
  filter: drop-shadow(4px 0 14px rgba(245, 47, 85, 0.08));
}

/* Handwritten Note (Top Left) */
.vl-lucknow__handwritten {
  position: absolute;
  top: 38px;
  left: 36px;
  z-index: 10;
  font-family: var(--vl-font-hand);
  color: #FFFFFF;
  font-size: 27px;
  line-height: 1.15;
  font-weight: 700;
  transform: rotate(-6deg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.vl-hw-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vl-hw-heart {
  font-size: 13px;
  color: var(--vl-pink);
  transform: rotate(12deg);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   2. CENTER CONTENT & SEARCH PANEL (~35%)
   ========================================================================== */
.vl-lucknow__content {
  position: relative;
  flex: 0 0 35%;
  max-width: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 10px 40px 25px;
  z-index: 10;
  box-sizing: border-box;
}

/* Location Badge */
.vl-lucknow__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background-color: var(--vl-pink-light);
  color: var(--vl-pink);
  font-family: var(--vl-font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(245, 47, 85, 0.08);
}

/* Main H1 Title */
.vl-lucknow__heading {
  font-family: var(--vl-font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--vl-text);
  line-height: 1.14;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.vl-lucknow__pink-text {
  color: var(--vl-pink);
}

/* Description */
.vl-lucknow__desc {
  font-family: var(--vl-font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--vl-muted);
  margin: 0 0 24px 0;
  max-width: 340px;
}

/* Location Search Box */
.vl-lucknow__search-box {
  display: flex;
  align-items: center;
  background: var(--vl-white);
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(245, 47, 85, 0.18);
  max-width: 360px;
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vl-lucknow__search-box:focus-within {
  border-color: var(--vl-pink);
  box-shadow: 0 6px 24px rgba(245, 47, 85, 0.15);
}

.vl-lucknow__select-wrapper {
  flex: 1;
  position: relative;
}

.vl-lucknow__select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  outline: none;
  padding: 5px 7px 5px 9px;
  cursor: pointer;
  text-align: left;
  font-family: var(--vl-font-sans);
}

.vl-select-icon {
  color: var(--vl-pink);
  font-size: 16px;
  display: flex;
  align-items: center;
}

.vl-select-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #374151;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vl-select-arrow {
  color: #9CA3AF;
  font-size: 12px;
  transition: transform 0.25s ease;
  margin-right: 6px;
}

.vl-lucknow__select-wrapper.is-open .vl-select-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.vl-lucknow__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 290px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--vl-white);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(245, 47, 85, 0.14);
  padding: 8px;
  z-index: 100;
  list-style: none;
  display: none;
  margin: 0;
  box-sizing: border-box;
}

.vl-lucknow__dropdown::-webkit-scrollbar {
  width: 5px;
}

.vl-lucknow__dropdown::-webkit-scrollbar-thumb {
  background: #F3C1CC;
  border-radius: 10px;
}

.vl-lucknow__select-wrapper.is-open .vl-lucknow__dropdown {
  display: block;
  animation: vlDropAnim 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes vlDropAnim {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vl-dropdown-item {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1F2937;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.vl-dropdown-item i {
  font-size: 12px;
  color: #9CA3AF;
  transition: color 0.15s ease;
}

.vl-dropdown-item:hover,
.vl-dropdown-item.active {
  background-color: var(--vl-pink-light);
  color: var(--vl-pink);
  font-weight: 600;
}

.vl-dropdown-item:hover i,
.vl-dropdown-item.active i {
  color: var(--vl-pink);
}

/* View Profiles Button */
.vl-lucknow__btn-cta {
  background-color: var(--vl-pink);
  color: var(--vl-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--vl-font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 26px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 47, 85, 0.3);
  cursor: pointer;
}

.vl-lucknow__btn-cta:hover {
  background-color: var(--vl-pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 47, 85, 0.42);
}

.vl-lucknow__btn-cta:active {
  transform: translateY(0);
}

/* Popular Areas Pills */
.vl-lucknow__popular-areas {
  max-width: 470px;
}

.vl-popular-title {
  font-family: var(--vl-font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--vl-text);
  margin-bottom: 10px;
  display: block;
}

.vl-popular-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.vl-popular-row:last-child {
  margin-bottom: 0;
}

.vl-area-pill {
  background-color: var(--vl-pink-light);
  color: var(--vl-pink);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--vl-font-sans);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.vl-area-pill:hover {
  background-color: #FBD7DF;
  transform: translateY(-1px);
}

.vl-area-pill.active {
  background-color: var(--vl-pink);
  color: var(--vl-white);
  box-shadow: 0 3px 10px rgba(245, 47, 85, 0.35);
}

/* ==========================================================================
   3. RIGHT MAP & LOCALITY MARKERS PANEL (~65% WIDTH) WITH SEAMLESS BLEND
   ========================================================================== */
.vl-lucknow__map-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  min-width: 920px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.vl-lucknow__map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Seamless feathering gradient on left edge dissolving map into section bg */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.04) 8%, rgba(0, 0, 0, 0.35) 20%, rgba(0, 0, 0, 0.85) 32%, #000000 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.04) 8%, rgba(0, 0, 0, 0.35) 20%, rgba(0, 0, 0, 0.85) 32%, #000000 45%);
}

.vl-lucknow__map-inner {
  position: relative;
  height: 100%;
  aspect-ratio: 1672 / 941;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vl-lucknow__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.95;
  user-select: none;
}

.vl-lucknow__markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

/* Central Lucknow Marker */
.vl-marker-center {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 20;
  text-align: center;
}

.vl-center-badge {
  display: inline-block;
  background-color: var(--vl-pink);
  color: var(--vl-white);
  font-family: var(--vl-font-sans);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(245, 47, 85, 0.45);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.vl-center-badge:hover {
  transform: scale(1.06);
  background-color: var(--vl-pink-dark);
}

.vl-center-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(245, 47, 85, 0.25);
  animation: vlPulse 2.4s infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes vlPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Locality Marker Item */
.vl-marker-item {
  position: absolute;
  transform: translate(0, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--vl-white);
  border-radius: 20px;
  padding: 4px 10px 4px 7px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  pointer-events: auto;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  z-index: 10;
  user-select: none;
}

.vl-marker-pin {
  color: var(--vl-pink);
  font-size: 11px;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.vl-marker-name {
  font-family: var(--vl-font-sans);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--vl-text);
  white-space: nowrap;
}

.vl-marker-item:hover,
.vl-marker-item.active {
  transform: translate(0, -50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(245, 47, 85, 0.35);
  border-color: var(--vl-pink);
  z-index: 25;
}

.vl-marker-item.active .vl-marker-pin {
  animation: vlBounce 0.5s ease;
}

@keyframes vlBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* Precise Marker Coordinates relative to map-inner landmark circles */
.marker-alambagh {
  left: 42.5% !important;
  top: 19% !important;
}

.marker-aminabad {
  left: 38.5% !important;
  top: 37% !important;
}

.marker-chowk {
  left: 46% !important;
  top: 50.5% !important;
}

.marker-charbagh {
  left: 52% !important;
  top: 68% !important;
}

.marker-rajajipuram {
  left: 56.5% !important;
  top: 82% !important;
}

.marker-kapoorthala {
  left: 79.5% !important;
  top: 84% !important;
}

.marker-mahanagar {
  left: 87.5% !important;
  top: 65% !important;
}

.marker-hazratganj {
  left: 81.5% !important;
  top: 47% !important;
}

.marker-gomtinagar {
  left: 80.5% !important;
  top: 29% !important;
}

.marker-indiranagar {
  left: 63.5% !important;
  top: 24.5% !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Large screens (up to 1440px) */
@media (max-width: 1440px) {
  .vl-lucknow__heading {
    font-size: 38px;
  }

  .vl-lucknow__content {
    flex: 0 0 38%;
    padding-left: 20px;
  }

  .vl-lucknow__handwritten {
    font-size: 24px;
    top: 30px;
    left: 28px;
  }
}

/* Medium Desktop / Small Laptop (up to 1200px) */
@media (max-width: 1200px) {
  .vl-lucknow__container {
    min-height: 540px;
  }

  .vl-lucknow__portrait {
    flex: 0 0 26%;
    min-height: 540px;
  }

  .vl-lucknow__content {
    flex: 0 0 40%;
    max-width: 480px;
  }

  .vl-lucknow__map-panel {
    width: 68%;
    min-width: 820px;
  }

  .vl-lucknow__heading {
    font-size: 34px;
  }

  .vl-lucknow__desc {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .vl-marker-item {
    padding: 3px 8px 3px 6px;
  }

  .vl-marker-name {
    font-size: 10.5px;
  }

  .vl-marker-pin {
    font-size: 10px;
  }
}

/* Tablet (768px to 1023px) */
@media (max-width: 1023px) {
  .vl-lucknow__container {
    flex-direction: column;
    min-height: auto;
  }

  .vl-lucknow__portrait {
    display: none;
    /* Collapse portrait on tablet to give room to content and interactive map */
  }

  .vl-lucknow__content {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 40px 30px 20px;
    z-index: 10;
  }

  .vl-lucknow__map-panel {
    position: relative;
    width: 100%;
    min-width: auto;
    height: 480px;
    order: 2;
    pointer-events: auto;
  }

  .vl-lucknow__map-wrapper {
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .vl-lucknow__map-inner {
    height: 100%;
    max-width: 100%;
  }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  .vl-lucknow__container {
    flex-direction: column;
    min-height: auto;
    max-width: 100%;
  }

  .vl-lucknow__portrait {
    display: flex;
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 340px;
    min-height: 340px;
    align-items: center;
    justify-content: center;
    background: #FFF5F7;
    order: 1;
    overflow: hidden;
  }

  .vl-lucknow__portrait-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    transform: none;
    object-fit: cover;
    object-position: center top;
  }

  .vl-lucknow__handwritten {
    font-size: 22px;
    top: 20px;
    left: 20px;
  }

  .vl-lucknow__content {
    padding: 30px 20px;
    order: 2;
    flex: none;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .vl-lucknow__heading {
    font-size: 30px;
  }

  .vl-lucknow__desc {
    font-size: 13.5px;
    max-width: 100%;
  }

  .vl-lucknow__search-box {
    flex-direction: column;
    border-radius: 18px;
    padding: 8px;
    gap: 8px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .vl-lucknow__select-wrapper {
    width: 100%;
  }

  .vl-lucknow__select-btn {
    padding: 10px 12px;
  }

  .vl-select-label {
    font-size: 13px;
  }

  .vl-lucknow__btn-cta {
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .vl-lucknow__dropdown {
    width: 100%;
    max-height: 240px;
  }

  .vl-lucknow__popular-areas {
    max-width: 100%;
    width: 100%;
  }

  .vl-popular-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .vl-area-pill {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  .vl-lucknow__map-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1672 / 941;
    order: 3;
    pointer-events: auto;
    overflow: hidden;
  }

  .vl-lucknow__map-wrapper {
    width: 100%;
    height: 100%;
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .vl-lucknow__map-inner {
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .vl-lucknow__map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .vl-marker-item {
    padding: 2px 6px;
  }

  .vl-marker-name {
    font-size: 9.5px;
  }

  .vl-marker-pin {
    font-size: 9px;
  }

  .vl-center-badge {
    font-size: 11px;
    padding: 4px 12px;
  }
}

/* Extra Small (up to 400px) */
@media (max-width: 400px) {
  .vl-lucknow__content {
    padding: 24px 16px;
  }

  .vl-lucknow__heading {
    font-size: 26px;
  }

  .vl-lucknow__portrait {
    height: 300px;
    min-height: 300px;
  }

  .vl-area-pill {
    font-size: 11px;
    padding: 5px 10px;
  }
}