
/* ========================================
   HOME PAGE TEMPLATE STYLES
   ======================================== */

/* ===========================
   CTA Block 2
   =========================== */

.cta-block {
	position: relative;
	/* padding: 120px 40px; */
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 600px;
	overflow: hidden;
}

.cta-block__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: blur(12px);
	z-index: 1;
}

.cta-block__background::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgb(0 0 0 / 47%) 100%); */
	z-index: 2;
}

.cta-block__bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.cta-block__bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
}

.cta-block__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 3;
}

.cta-block__container {
	position: relative;
	z-index: 4;
	max-width: 1120px;
	margin: 0 auto;
	width: 100%;
}


/* CTA block 2 styles */


.cta-block-2 {
position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 600px;
    overflow: hidden;
    padding: 100px 40px;
}

.cta-block-2__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.cta-block-2__bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.cta-block-2__bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
}

.cta-block-2__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 3;
}

.cta-block-2__container {
	position: relative;
	z-index: 4;
	max-width: 1120px;
	margin: 0 auto;
	width: 100%;
}

.cta-block-2__content {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	padding: 4rem;
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 4rem;
	align-items: center;
}

.cta-block-2__left {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-self: normal;
}

.cta-block-2__title {
	font-size: 3rem;
	font-weight: 200;
	line-height: 1.2;
	color: #ffffff;
	margin: 0;
	width: 70%;
}

.cta-block-2__description {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.6;
	color: #ffffff;
	margin: 0;
	height: 100%;
}

.cta-block-2__button {
	display: inline-block;
	padding: 16px 48px;
	background: transparent;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border: 2px solid #ffffff;
	border-radius: 32px;
	transition: all 0.3s ease;
	line-height: 1;
	align-self: flex-start;
}

.cta-block-2__button:hover {
	background-color: #ffffff;
	color: var(--color-text-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta-block-2__right {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cta-block-2__image {
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
	max-height: 400px;
	aspect-ratio: 1 / 1;
}

/* Responsive */
@media (max-width: 768px) {
	.cta-block__container {
		max-width: 80%;
	}
	.cta-block-2 {
		padding: 80px 20px;
		min-height: auto;
		max-height: fit-content;
	}

	.cta-block-2__content {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 24px;
	}

	.cta-block-2__title {
		font-size: 2rem;
	}

	.cta-block-2__description {
		font-size: 1rem;
	}

	.cta-block-2__button {
		padding: 14px 40px;
		font-size: 15px;
		align-self: stretch;
		text-align: center;
	}

	.cta-block-2__image {
		max-height: 300px;
	}
}

/* Hero Section */
.home-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	margin-top: -4rem; /* Pull hero up to start from top of page */
	padding-top: 32px; /* Maintain spacing for content */
}

.home-hero__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.home-hero__background::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.64) 97.89%);
	z-index: 1;
}

.home-hero__bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__bg-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: none;
	border: none;
	cursor: pointer;
	transition: transform 0.3s ease;
	z-index: 2;
}

.home-hero__play-btn:hover {
	transform: translate(-50%, -50%) scale(1.1);
}

.home-hero__content {
	position: relative;
	display: flex;
	justify-content: space-between;
	z-index: 2;
	width: 100%;
	max-width: 1440px;
    margin: auto auto 0;
    padding: 0 20px;
}

.home-hero__container {
	max-width: 640px;
}

.home-hero__title {
	font-size: 64px;
	font-weight: 200;
	line-height: 1.2;
	color: #fff;
	margin-bottom: 2rem;
	/* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
}

.home-hero__title .highlight-personal {
	color: var(--color-primary);
	font-style: italic;
	font-family: Cambria, Georgia, serif;
}

.home-hero__cta {
	display: inline-block;
	padding: 1rem 2.5rem;
	background-color: var(--color-primary);
	color: var(--color-white);
	text-decoration: none;
	font-weight: 300;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.home-hero__cta:hover {
	background-color: var(--color-secondary);
}

.home-hero__overlay-image {
	/* bottom: 4rem;
    right: 2rem; */
    width: 300px;
    height: 210px; 
	overflow: hidden;
	border-radius: 4px;
}

.home-hero__overlay-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__overlay-btn {
    position: relative;
    bottom: 4rem;
    left: 1rem;
	z-index: 3;
}

/* Featured Properties Section */
.home-properties {
	padding: 5rem 0 1rem;
	background-color: var(--color-bg-page);
}

.home-properties__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
}


.home-properties__filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2.5rem;

}

.home-properties__filters-left {
	display: inline-flex;
	gap: 1rem;
	align-items: center;
}

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

.property-card__price {
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-text-dark);
}

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

.property-card:hover {
	/* transform: translateY(-5px); */
	/* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); */
}

.property-card__link {
	text-decoration: none;
	color: var(--color-text-dark);
}

.property-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.property-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	aspect-ratio: 3/2;
}

.property-card:hover .property-card__image img {
	transform: scale(1.05);
}

.property-card__overlay {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 4px 16px;
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.39);
	backdrop-filter: blur(19.45px);
	color: var(--color-white);
	font-size: 0.875rem;
	font-weight: 400;
	z-index: 2;
}

.property-card__type,
.property-card__suburb {
	white-space: nowrap;
	font-weight: 300;
	font-size: 16px;
	letter-spacing: 0.48px;
}

.property-card__suburb {
	font-weight: 600 !important;
}

.property-card__divider {
	opacity: 0.5;
}

.property-card__content {
	padding: 1.5rem;
}

.property-card__title {
	font-size: 1.25rem;
	font-weight: 300;
	margin-bottom: 0.5rem;
}

.property-card__title a {
	color: var(--color-text-dark);
	text-decoration: none;
}


/* Suburb Guide Section */
.home-suburb-guide {
	padding: 5rem 0;
	/* background-color: var(--color-bg-page); */
	@media (max-width: 768px) {
		padding: 3rem 0;
	}
}

.home-suburb-guide__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
}

.home-suburb-guide__heading {
	font-size: 2.5rem;
	/* font-weight: 300; */
	text-align: center;
	margin-bottom: 3rem;
}

.home-suburb-guide__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.home-suburb-guide__media {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	height: 100%;
	aspect-ratio: 1;
}

.home-suburb-guide__media img,
.home-suburb-guide__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-suburb-guide__play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: none;
	border: none;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.home-suburb-guide__play-btn:hover {
	transform: translate(-50%, -50%) scale(1.1);
}

.home-suburb-guide__info {
	padding: 3rem;
	/* background: var(--color-white); */
	border-radius: 8px;
}

.home-suburb-guide__header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.home-suburb-guide__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.home-suburb-guide__icon svg {
	width: 28px;
	height: 28px;
	color: var(--color-primary);
}

.home-suburb-guide__title {
	font-size: 32px;
	font-weight: 200;
	color: var(--color-text-dark);
	margin: 0;
}

.home-suburb-guide__selector {
	margin-bottom: 2rem;
}

.home-suburb-guide__selector label {
	display: none;
}

.home-suburb-guide__dropdown {
	width: 100%;
	max-width: 260px;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-text-dark);
	border: 1px solid #E0E0E0;
	border-radius: 50px;
	background-color: var(--color-bg-page);
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23081F2C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.home-suburb-guide__dropdown:focus {
	outline: none;
	border-color: var(--color-primary);
}

.home-suburb-guide__description {
	margin-bottom: 2.5rem;
	font-size: 18px;
	font-style: normal;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 300;
	line-height: 120%; 
	color: var(--color-text-dark);
}

.home-suburb-guide__metrics {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem 3rem;
	margin-bottom: 3rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid #E0E0E0;
}

.suburb-metric {
	text-align: left;
}

.suburb-metric__number {
	font-size: 4.5rem;
	font-weight: 200;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
	line-height: 1;
}

/* Make dollar signs and percent symbols smaller */
.suburb-metric__number .stat-symbol {
	font-size: 4rem;
}

.suburb-metric__label {
	font-size: 16px;
	color: var(--color-text-dark);
	font-weight: 300;
	line-height: 1.4;
}

.home-suburb-guide__cta {
	display: inline-block;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-primary);
	background-color: transparent;
	border: 1px solid var(--color-primary);
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
	line-height: 1;
}

.home-suburb-guide__cta:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

/* Reviews Section */
.home-reviews {
	padding: 5rem 0;
	/* background-color: var(--color-white); */
	@media (max-width: 768px) {
		padding: 3rem 0;
	}
}

.home-reviews__container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 0px;
}

.home-reviews__header {
	text-align: center;
	margin-bottom: 3rem;
}

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

.home-reviews__label {
	font-size: 1rem;
	color: var(--color-text-body);
	letter-spacing: 2px;
}

.home-reviews__carousel {
	overflow: hidden;
	width: 100%;
	position: relative;
}

.home-reviews__track {
	display: flex;
	gap: 2rem;
	animation: marquee 180s linear infinite;
	width: fit-content;
}

.home-reviews__track:hover {
	animation-play-state: paused;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.testimonial-card {
	flex: 0 0 350px;
	min-width: 350px;
}


/* Information Block Section */
.home-info-block {
	margin: 0;
	padding: 0;
}

.home-info-block__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.info-block-item {
	position: relative;
	height: 400px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.info-block-item__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	transition: background 0.3s ease;
}

.info-block-item:hover .info-block-item__overlay {
	background: rgba(0, 0, 0, 0.6);
}

.info-block-item__text {
	font-size: 2rem;
	font-weight: 300;
	color: #fff;
	text-align: center;
	margin-bottom: 1.5rem;
}

.info-block-item__cta {
	display: inline-block;
	padding: 1rem 2.5rem;
	background-color: #fff;
	color: #000;
	text-decoration: none;
	font-weight: 300;
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.info-block-item__cta:hover {
	background-color: #000;
	color: #fff;
}

/* Property Insights Section */
.home-insights {
	padding: 5rem 0;
	background-color: var(--color-bg-page);
}

.home-insights__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
}

.home-insights__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	/* border-bottom: 1px solid #E5E5E5; */
}

.home-insights__header-left {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.home-insights__title {
	font-size: 2rem;
	font-weight: 200;
	margin: 0;
	color: var(--color-text-dark);
}

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

.insight-card {
	/* background: var(--color-white); */
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.insight-card:hover {
	transform: translateY(-4px);
}

.insight-card__image-link {
	text-decoration: none;
	display: block;
	height: 100%;
}

.insight-card__image {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	border-radius: 4px;
}

.insight-card__image img {
	width: 100%;
	height: 100%;
	/* aspect-ratio: 3/4; */
	object-fit: cover;
	transition: transform 0.3s ease;
}

.insight-card:hover .insight-card__image img {
	transform: scale(1.05);
}

.insight-card__category {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	  padding: 0.5rem 1rem;
  width: fit-content;
  font-weight: 400;
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(19.45px);
	color: var(--color-white);
	font-size: 0.875rem;
}

.insight-card__content {
	padding: 16px 0px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.insight-card__title {
color: var(--color-text-dark);
font-family: var(--font-primary);
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 120%; /* 21.6px */
margin-bottom: 0px;
}

.insight-card__title a {
	color: var(--color-text-dark);
font-family: var(--font-primary);
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 21.6px */
	text-decoration: none;
	transition: color 0.3s ease;
}

.insight-card__title a:hover {
	color: var(--color-text-dark);
}

.insight-card__excerpt {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text-body);
	margin: 0;
	flex: 1;
		display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.insight-card__read-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: var(--color-text-dark);
	transition: all 0.3s ease;
	align-self: flex-start;
}

.insight-card__read-more:hover {
	color: var(--color-primary);
	transform: translateX(4px);
}

/* Responsive Styles for Home Page */
@media (max-width: 1024px) {
	.home-hero__title {
		font-size: 2.5rem;
	}

	.home-insights {
		padding: 2rem 0;
	}

	.home-properties {
		padding: 2rem 0 1rem;
	}
	.home-properties__grid,
	.home-insights__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-stats__grid {
		grid-template-columns: repeat(3, 1fr);
		justify-content: center;
	}

	.testimonial-card {
		flex: 0 0 300px;
		min-width: 300px;
		max-height: 300px;
		overflow: hidden;
	}

	.testimonial-card__review {
		font-size: 16px;
		text-align: left;
		font-weight: 300;
		-webkit-line-clamp: 9;
		-webkit-box-orient: vertical;
		overflow-y: scroll;
	}

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

	.home-suburb-guide__info {
		padding: 2rem;
	}

	.suburb-metric__number {
		font-size: 2.5rem;
	}

	.info-block-item__text {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {

	.home-hero__content {
		flex-direction: column;
	}
	.home-hero__title {
		font-size: 2rem;
	}

	.home-hero__overlay-image {
		/* display: none; */
		width: 100%;
		margin-bottom: 2rem;
	}

	.home-properties__filters {
		flex-direction: column;
		gap: 1.5rem;
		align-items: stretch;
	}

	.filter-tabs {
		width: 100%;
		justify-content: center;
		overflow: auto;
	}

	.filter-tabs__item {
		flex: 1;
		padding: 12px 12px !important;
		min-width: fit-content;
		font-size: 0.875rem;
	}

	.btn--view-all {
		width: 100%;
		text-align: center;
	}

	.home-insights__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.home-insights__header-left {
		flex-direction: row;
		align-items: flex-start;
		gap: 1rem;
	}

	.home-insights__title {
		font-size: 1.5rem;
	}

	.insight-card__image {
		height: 300px;
	}

	.insight-card__content {
		/* padding: 1.5rem; */
	}

	.insight-card__title {
		font-size: 1.25rem;
	}

	.testimonial-card__header {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 0.75rem;
	}

	.testimonial-card__name {
		font-size: 16px;
		font-weight: 400;
	}

	.testimonial-card__rating-number {
		font-size: 14px;
	}

	.testimonial-card__star {
		width: 14px;
		height: 14px;
	}



	.home-properties__grid,
	.home-insights__grid
	{
		grid-template-columns: 1fr;
	}



/* .stat-item__label{font-size:12px;line-height:1.4;color:#627d98;} */
/* .stat-symbol{font-size:.7em;vertical-align:top;position:relative;top:-.15em;} */

	.testimonial-card {
		flex: 0 0 280px;
		min-width: 280px;
	}

	.home-info-block__grid {
		grid-template-columns: 1fr;
	}

	.info-block-item {
		height: 300px;
	}



	.home-reviews__count {
		font-size: 3rem;
	}

	.home-suburb-guide__info {
		padding: 0;
	}

	.home-suburb-guide__icon {
		width: 48px;
		height: 48px;
	}

	.home-suburb-guide__icon svg {
		width: 24px;
		height: 24px;
	}

	.home-suburb-guide__title {
		font-size: 24px;
	}

	.home-suburb-guide__dropdown {
		max-width: 100%;
	}

	.home-suburb-guide__metrics {
		gap: 0;
		display: flex;
        flex-wrap: wrap;
        flex-direction: row;
		border-bottom: unset;
		margin-bottom: 4px;
	}

	.suburb-metric {
		text-align: left;
        padding: 0px 12px 36px 12px;
        margin-right: 0px;
        width: 48%;
	}

	.suburb-metric__number {
		font-size: 3rem;
	}

	.suburb-metric__number .stat-symbol {
		font-size: 2.5rem;
	}

	.suburb-metric:nth-child(2n) {
        padding-left: 32px;
    }

	.suburb-metric:nth-child(1),
	.suburb-metric:nth-child(3) {
		border-right: 1px solid var(--color-text-dark);
	}

}
