/* Locations Premium Redesign Stylesheet */

:root {
  --color-gold: #C5A059;
  --color-gold-hover: #d4b56e;
  --color-dark: #111111;
  --color-bg-light: #FAF8F4;
  --color-card-bg: #ffffff;
  --color-border-subtle: #ECECEC;
  --color-border-gold: rgba(197, 160, 89, 0.35);
  --font-serif: 'Kaisei Tokumin', serif !important;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 30px 60px rgba(197, 160, 89, 0.15);
}

.locations-page-wrapper {
  background-color: var(--color-bg-light);
  font-family: var(--font-sans);
  color: var(--color-dark);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 6rem;
}

/* Luxury Hero Section */
.locations-luxury-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 6rem;
  background-image: url('../common/Drone Night.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .locations-luxury-hero {
    min-height: 60vh;
    padding: 6rem 1.5rem 4rem;
    background-attachment: scroll;
  }
}

.hero-luxury-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.75);
  z-index: 1;
}

.hero-ambient-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0) 70%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.hero-luxury-content {
  position: relative;
  z-index: 3;
  max-width: 60rem;
  text-align: center;
  color: #ffffff;
}

.hero-kicker-gold {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #ffffff;
  animation: fadeInUp 1s ease forwards;
}

.hero-title-serif span {
  color: var(--color-gold);
}

.hero-intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1.4s ease forwards;
}

@media (max-width: 640px) {
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

@media (max-width: 640px) {
  .hero-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

.hero-btn-gold {
  background-color: var(--color-gold);
  color: #111111;
  border: 1px solid var(--color-gold);
}

.hero-btn-gold:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.hero-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Split Main Container */
.locations-main-container {
  max-width: 85rem;
  margin: 5rem auto 4rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .locations-main-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Left building details & switcher column */
.locations-details-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .locations-details-col {
    grid-column: span 1;
  }
}

.locations-card-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.building-select-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-premium);
}

.building-select-card:hover {
  border-color: var(--color-gold);
  transform: translateX(4px);
}

.building-select-card.active {
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.15);
  background-color: #FFFBF4;
}

.building-card-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.building-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.building-card-address {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
}

.building-card-radio {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid #DCDCDC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.building-select-card.active .building-card-radio {
  border-color: var(--color-gold);
}

.building-select-card.active .building-card-radio::after {
  content: '';
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--color-gold);
}

.locations-desc-text {
  font-size: 1rem;
  color: #6F6F6F;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
}

.proximity-list-premium {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.proximity-item-premium {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.proximity-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background-color: rgba(197, 160, 89, 0.08);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proximity-info-premium {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.proximity-title-premium {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
}

.proximity-desc-premium {
  font-size: 0.8125rem;
  color: #8C8C8C;
  margin-top: 0.125rem;
}

/* Right map column */
.locations-map-col {
  grid-column: span 7;
  height: 520px;
}

@media (max-width: 1024px) {
  .locations-map-col {
    grid-column: span 1;
    height: 400px;
  }
}

.locations-map-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.locations-map-iframe-wrap {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.locations-map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-action-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.locations-map-iframe-wrap:hover .map-action-overlay {
  opacity: 1;
  background-color: rgba(17, 17, 17, 0.3);
}

.map-action-btn {
  background-color: #ffffff;
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.locations-map-iframe-wrap:hover .map-action-btn {
  transform: translateY(0);
}

/* Section Header Custom */
.amenities-section-header {
  text-align: center !important;
  max-width: 48rem !important;
  margin: 6rem auto 3rem !important;
  padding: 0 1.5rem !important;
}

.section-label-gold {
  color: var(--color-gold) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
}

.section-title-serif {
  font-family: var(--font-serif) !important;
  font-size: clamp(2rem, 4.5vw, 2.75rem) !important;
  font-weight: 700 !important;
  color: var(--color-dark) !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1.25rem !important;
}

.section-desc-muted {
  font-size: 1rem !important;
  color: #6F6F6F !important;
  line-height: 1.7 !important;
}

/* Transit & Proximity Bento Grid */
.proximity-bento-grid-wrap {
  max-width: 85rem;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.proximity-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .proximity-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .proximity-bento-grid {
    grid-template-columns: 1fr;
  }
}

.proximity-bento-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-premium);
  transition: all 0.4s ease;
  text-align: left;
}

.proximity-bento-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bento-card-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background-color: rgba(197, 160, 89, 0.08);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  background-color: rgba(197, 160, 89, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.bento-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.bento-card-desc {
  font-size: 0.875rem;
  color: #6F6F6F;
  line-height: 1.6;
}

/* Call to Action Grid */
.locations-cta-row-wrap {
  width: 100%;
  max-width: 85rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.locations-cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .locations-cta-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.locations-cta-btn {
  display: block;
  width: 100%;
  padding: 1.1rem 2rem;
  border-radius: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.locations-cta-btn-outline {
  background-color: #ffffff;
  color: var(--color-dark);
  border: 1px solid var(--color-border-subtle);
}

.locations-cta-btn-outline:hover {
  border-color: var(--color-gold);
  background-color: #FFFBF4;
  transform: translateY(-2px);
}

.locations-cta-btn-gold-border {
  background-color: #ffffff;
  color: var(--color-dark);
  border: 1.5px solid var(--color-gold);
}

.locations-cta-btn-gold-border:hover {
  background-color: var(--color-gold);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.15);
}

.locations-cta-btn-gold {
  background-color: var(--color-gold);
  color: #111111;
  border: 1px solid var(--color-gold);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.locations-cta-btn-gold:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
