/* =====================================================
   HOME - Neighborhoods Section (Variant 1)
   ===================================================== */

.home-neighborhoods-1 {
  padding: 80px 20px;
  background: var(--color-white);
}

.neighborhoods-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.neighborhoods-header {
  text-align: center;
  margin-bottom: 60px;
}

.neighborhoods-eyebrow {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
}

.neighborhoods-eyebrow .eyebrow-accent {
  color: var(--color-accent);
}

.neighborhoods-eyebrow .eyebrow-text {
  color: var(--color-primary);
  margin: 0 8px;
}

.neighborhoods-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--color-primary);
  margin: 0;
}

/* Neighborhoods Grid */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
  align-items: start;
}

.neighborhood-card {
  background: #f5f5f5;
  padding: 40px 40px 60px 40px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}

/* Left card - bottom-left rounded */
.neighborhood-card:first-child {
  border-bottom-left-radius: 150px;
}

/* Right card - bottom-right rounded */
.neighborhood-card:last-child {
  border-bottom-right-radius: 150px;
}

.neighborhood-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.neighborhood-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.neighborhood-description {
  font-size: 16px;
  line-height: 1.38;
  color: var(--color-primary);
  margin: 0;
  opacity: 0.9;
}

/* CTA Button */
.neighborhoods-cta {
  text-align: center;
}

.neighborhoods-cta .cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.neighborhoods-cta .cta-button:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

/* Tablet (1024px - 1199px) */
@media screen and (max-width: 1199px) {
  .home-neighborhoods-1 {
    padding: 60px 20px;
  }

  .neighborhoods-header {
    margin-bottom: 50px;
  }

  .neighborhoods-heading {
    font-size: 40px;
  }

  .neighborhoods-grid {
    gap: 20px;
    margin-bottom: 45px;
  }

  .neighborhood-card {
    padding: 36px 32px 50px 32px;
  }

  /* Scale down rounded corners */
  .neighborhood-card:first-child {
    border-bottom-left-radius: 120px;
  }

  .neighborhood-card:last-child {
    border-bottom-right-radius: 120px;
  }

  .neighborhood-name {
    font-size: 22px;
  }

  .neighborhood-description {
    font-size: 15px;
  }
}

/* Tablet - 2 columns (768px - 1023px) */
@media screen and (max-width: 1023px) {
  .neighborhoods-heading {
    font-size: 36px;
  }

  .neighborhoods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: start;
  }

  /* Scale down rounded corners */
  .neighborhood-card:first-child {
    border-bottom-left-radius: 100px;
  }

  .neighborhood-card:last-child {
    border-bottom-right-radius: 100px;
  }

  .neighborhood-name {
    font-size: 20px;
  }
}

/* Mobile (< 768px) */
@media screen and (max-width: 767px) {
  .home-neighborhoods-1 {
    padding: 50px 20px;
  }

  .neighborhoods-header {
    margin-bottom: 40px;
  }

  .neighborhoods-eyebrow {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .neighborhoods-heading {
    font-size: 28px;
  }

  .neighborhoods-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
    align-items: start;
  }

  .neighborhood-card {
    padding: 32px 28px 45px 28px;
    border-radius: 12px;
    text-align: center;
  }

  /* On mobile (single column), reset special corners */
  .neighborhood-card:first-child {
    border-bottom-left-radius: 80px;
  }

  .neighborhood-card:last-child {
    border-bottom-right-radius: 80px;
  }

  .neighborhood-name {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .neighborhood-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .neighborhoods-cta .cta-button {
    padding: 14px 36px;
    font-size: 15px;
  }
}

/* Small Mobile (< 480px) */
@media screen and (max-width: 479px) {
  .neighborhoods-heading {
    font-size: 24px;
  }

  .neighborhood-card {
    padding: 28px 24px 40px 24px;
  }

  /* Scale down rounded corners for very small screens */
  .neighborhood-card:first-child {
    border-bottom-left-radius: 60px;
  }

  .neighborhood-card:last-child {
    border-bottom-right-radius: 60px;
  }

  .neighborhood-name {
    font-size: 18px;
  }

  .neighborhood-description {
    font-size: 13px;
  }
}
