/* ==========================================================
   Stella Fyti Heights — property.css
   "About the property": title, specs, video + main amenities
   ========================================================== */

.property {
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
  background: var(--color-surface);
}

.property__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.property__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.property__header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 4.8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.property__specs {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--color-ink-soft);
  text-wrap: balance;
}

/* Two columns: video | amenities */
.property__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.property__media {
  display: flex;
  justify-content: center;
}

/* The house video is vertical (9:16). Height drives the size so it never gets taller than the screen. */
.property__video {
  width: auto;
  max-width: 100%;
  height: min(80vh, 40rem);
  height: min(80svh, 40rem);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #1f1b18;
  border-radius: 4px;
  box-shadow: 0 24px 48px -24px rgba(31, 27, 24, 0.45);
}

/* Main amenities */
.amenity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}

.amenity-list__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 1.125rem;
  line-height: 1.4;
}

.amenity-list__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--color-accent);
  background: #f7ebe4;
  border-radius: 50%;
}

.amenity-list__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property__details .btn {
  margin-top: 2rem;
}

/* Tablet and mobile: video first, amenities below */
@media (max-width: 899px) {
  .property__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    max-width: 38rem;
    margin: 0 auto;
  }

  .property__video {
    width: min(100%, 21rem);
    height: auto;
  }
}

@media (max-width: 599px) {
  .property__details .btn {
    width: 100%;
  }
}
