
/* ===========================
   Suburb Insights Template
   =========================== */

/* Suburb Selection Page */
.suburb-select {
  padding: 4rem 0;
  background: white;
  min-height: 60vh;
}

.suburb-select__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.suburb-select__container h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.suburb-select__container p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 3rem;
}

.suburb-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.suburb-list__item {
  display: block;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text-dark);
  font-size: 1.125rem;
  font-weight: 300;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.suburb-list__item:hover {
  background: white;
  border-color: #0066cc;
  color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Suburb Hero Section */
.suburb-hero {
  position: relative;
  margin-bottom: 2rem;
 	margin-top: -4rem; /* Pull hero up to start from top of page */
}

.suburb-hero__image-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.suburb-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.3s ease; */
}

.suburb-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6rem 0 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.suburb-hero__title {
  color: white;
  font-size: 64px;
  font-weight: 300;

}

/* Suburb metrics now use .home-stats classes from style.css */

/* Suburb Introduction now uses .media-block component from style-about.css */

/* Properties Section */
.suburb-properties {
  padding: 4rem 0;
  background: #f9f9f9;
}

.suburb-properties__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.suburb-properties__title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--color-text-dark);
}

.suburb-properties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.property-card {
  /* background: white; */
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Map Section */
.suburb-map {
  padding: 4rem 0;
  background: white;
}

.suburb-map__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.suburb-map__title {
  font-size: 2.5rem;
  font-weight: 200;
  margin-bottom: 2rem;
  color: var(--color-text-dark);
}

.suburb-map__legend {
    display: flex;
    gap: 24px;
    row-gap: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot--schools {
  background-color: #4A90E2;
}

.legend-dot--transport {
  background-color: #F5A623;
}

.legend-dot--parks {
  background-color: #7ED321;
}

.legend-dot--shopping {
  background-color: #E85D75;
}

.legend-label {
  font-size: 14px;
  color: var(--color-text-dark);
  font-weight: 400;
}

.suburb-map__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.suburb-map__image:hover {
  transform: none !important;
}

.gm-style .gm-style-iw-c {
  display: flex;
      flex-direction: row-reverse;
    align-items: flex-end;
}
/* Testimonials Section */
.suburb-testimonials {
  padding: 4rem 0;
  background: #f9f9f9;
}

.suburb-testimonials__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.suburb-testimonials__metrics {
  text-align: center;
  margin-bottom: 3rem;
}

.suburb-testimonials__number {
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.suburb-testimonials__label {
  font-size: 1rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.suburb-testimonials__carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}


/* Blog Insights Section now uses .home-insights and .insight-card classes from style-home.css */

/* FAQ Section */
.suburb-faq {
  padding: 4rem 0;
  background: #f9f9f9;
}

.suburb-faq__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.suburb-faq__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.suburb-faq__title {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
  color: var(--color-text-dark);
}

.suburb-faq__subtitle {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
}

.suburb-faq__right {
  width: 100%;
}

.suburb-faq__accordion {
  /* background: white; */
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.faq-item {
  border-bottom: 1px solid #00000040;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__question {
  width: 100%;
  padding: 1.5rem;
  background: var(--color-bg-page);
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-item__question:hover {
  background-color: #f9f9f9;
}

.faq-item__icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-item__answer:not([hidden]) {
  max-height: 500px;
}

.faq-item__answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.suburb-faq__form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.suburb-not-found {
  max-width: 900px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  text-align: center;
}

.suburb-not-found h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.suburb-not-found p {
  font-size: 1.125rem;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 1024px) {

.suburb-properties__container {
    padding: 0 20px;
  }
  .suburb-hero__title {
    font-size: 3rem;
  }

  .suburb-map__container {
    padding: 0 20px;
  }

  .suburb-properties__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-item__question {
    padding: 10px 0px;
  }
  .faq-item__answer-content {
    padding: 10px 0px 20px;
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .suburb-hero__title {
    font-size: 3rem;
    margin-bottom: 0;
  }

  .suburb-hero__image-container {
    height: 60vh;
  }

  .suburb-hero .home-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .suburb-hero .stat-item__number {
    font-size: 2.5rem;
  }

  .suburb-hero .stat-item {
    padding: 1.5rem 1rem;
  }

  .suburb-properties__grid,
  .suburb-testimonials__carousel {
    grid-template-columns: 1fr;
  }

  .suburb-properties__title,
  .suburb-faq__title {
    font-size: 2rem;
  }

  .suburb-faq__container {
    grid-template-columns: 1fr;
  }

  .suburb-faq__left {
    gap: 1rem;
  }

  .suburb-faq__right {
    width: 100%;
  }
}
