/* ================================================
   MANARE RESIDENCE — Section 06 (Location / Cascais)
   ================================================ */

.location-section {
  position: relative;
  width: 100%;
  padding: 6rem 4% 8rem 4%;
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.location__container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Header Area (Cascais. Onde o Oceano...) */
.location__header {
  margin-bottom: 6rem;
  max-width: 800px;
}

.location__label {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--color-grey-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.location__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin: 0;
}

/* Staggered Grid Layout */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 900px) {
  .location__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
    align-items: flex-start;
  }
}

/* Card Styling */
.location__card {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Offset the second card slightly upwards on desktop for asymmetric staggered look */
@media (min-width: 900px) {
  .location__card--offset {
    margin-top: -8rem;
  }
}

.location__card-img-wrapper {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.location__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

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

/* Text Content within Cards */
.location__card-text {
  max-width: 450px;
}

.location__card-title {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--color-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.location__card-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--color-grey-dark);
  margin-bottom: 2rem;
}

/* Specific floating positioning modifier if we want text slightly overlapping */
@media (min-width: 1024px) {
  .location__card-text--overlap {
    position: absolute;
    bottom: -3rem; /* Drops below image slightly */
    right: -2rem; /* Pulls right to break box model */
    background: var(--color-white);
    padding: 2.5rem;
    width: 80%;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(40, 56, 90, 0.05);
  }

  .location__card--offset .location__card-text--overlap {
    right: auto;
    left: -2rem; /* The second card pulls left */
  }
}

/* ================================================
   Location Description (after map)
   ================================================ */
.location-desc {
  width: 100%;
  padding: 3rem 4% 7rem;
  background-color: var(--color-white);
}

.location-desc__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.location-desc__text {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2;
  color: var(--color-grey-warm);
  letter-spacing: 0.01em;
}
