/* ==========================================================================
   Kho Nhà Đẹp - Home Page Styles (Matching Image 1)
   ========================================================================== */

/* Hero Section */
.hero-section {
	position: relative;
	background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(66, 4, 0, 0.75)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
	padding: 70px 0 90px;
	color: #FFFFFF;
	text-align: center;
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
}

.hero-headline {
	font-family: var(--font-heading);
	font-size: 42px;
	font-weight: 800;
	color: #FFFFFF;
	letter-spacing: 1px;
	margin-bottom: 8px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subhead {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 35px;
	font-weight: 400;
}

/* Hero Search Box Container */
.hero-search-box {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.3);
	color: var(--color-text-dark);
	text-align: left;
}

/* Search Tabs */
.search-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
}

.search-tab-btn {
	padding: 8px 24px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid #E5E7EB;
	background: #F3F4F6;
	color: #4B5563;
	transition: all 0.2s ease;
}

.search-tab-btn.active {
	background: var(--color-burgundy);
	color: #FFFFFF;
	border-color: var(--color-burgundy);
	box-shadow: 0 2px 8px rgba(92, 6, 1, 0.3);
}

/* Search Fields Grid */
.search-fields-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 15px;
	align-items: center;
}

.search-field-item {
	display: flex;
	flex-direction: column;
}

.search-field-item label {
	font-size: 12px;
	font-weight: 600;
	color: #6B7280;
	margin-bottom: 4px;
}

.search-select-wrap {
	position: relative;
}

.search-select-wrap select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #D1D5DB;
	background: #FFFFFF;
	font-size: 14px;
	font-family: inherit;
	font-weight: 500;
	color: #1F2937;
	appearance: none;
	cursor: pointer;
}

.search-select-wrap::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center/contain;
}

.btn-search-submit {
	background: var(--color-burgundy);
	color: #FFFFFF;
	border: none;
	padding: 13px 30px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	height: 48px;
	margin-top: 18px;
}

.btn-search-submit:hover {
	background: var(--color-burgundy-dark);
	box-shadow: 0 4px 12px rgba(66, 4, 0, 0.4);
}

/* Quick Pills */
.quick-pills-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	flex-wrap: wrap;
}

.pill-item {
	background: #F3F4F6;
	border: 1px solid #E5E7EB;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: #4B5563;
	cursor: pointer;
	transition: all 0.2s ease;
}

.pill-item:hover, .pill-item.active {
	background: #FEE2E2;
	color: var(--color-burgundy);
	border-color: #FCA5A5;
}

/* Feature Highlights Bar */
.features-bar-section {
	background: var(--color-burgundy-dark);
	color: #FFFFFF;
	padding: 24px 0;
	border-bottom: 2px solid var(--color-gold);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.feature-icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(212, 175, 55, 0.15);
	border: 1px solid var(--color-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-gold);
	font-size: 20px;
	flex-shrink: 0;
}

.feature-text h4 {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 800;
	color: var(--color-gold);
	text-transform: uppercase;
	margin-bottom: 2px;
}

.feature-text p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
}

/* Property Listings Grid */
.bds-section {
	padding: 60px 0;
}

.location-tabs {
	display: flex;
	gap: 10px;
}

.location-tab-btn {
	background: #FFFFFF;
	border: 1px solid var(--color-border);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
	cursor: pointer;
}

.location-tab-btn.active {
	background: var(--color-burgundy);
	color: #FFFFFF;
	border-color: var(--color-burgundy);
}

.property-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.property-card {
	background: #FFFFFF;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid #E5E7EB;
	transition: all 0.3s ease;
	position: relative;
}

.property-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.card-img-wrap {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

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

.card-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
	z-index: 2;
}

.heart-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255,255,255,0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6B7280;
	cursor: pointer;
	z-index: 2;
	transition: all 0.2s ease;
}

.heart-btn:hover {
	background: #FFFFFF;
	color: #DC2626;
}

.card-body {
	padding: 16px;
}

.card-title {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 44px;
}

.card-location {
	font-size: 13px;
	color: #6B7280;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.card-specs {
	display: flex;
	gap: 14px;
	font-size: 12px;
	color: #4B5563;
	padding-top: 10px;
	border-top: 1px solid #F3F4F6;
	margin-bottom: 12px;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.card-price {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 800;
	color: #DC2626;
}

/* Featured Projects Section */
.projects-section {
	background: #F9FAFB;
	padding: 60px 0;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.project-card {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	height: 280px;
	box-shadow: var(--shadow-md);
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%);
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #FFFFFF;
}

.project-overlay h3 {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.project-overlay p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
}

.project-price-tag {
	font-size: 12px;
	color: var(--color-gold);
	font-weight: 700;
	margin-top: 6px;
}

/* Location Cards Section */
.locations-section {
	padding: 60px 0;
}

.location-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

.location-card {
	position: relative;
	height: 180px;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.location-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.location-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(92, 6, 1, 0.85), transparent 70%);
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #FFFFFF;
}

.location-overlay h3 {
	font-size: 16px;
	font-weight: 800;
}

.location-overlay span {
	font-size: 12px;
	color: var(--color-gold-light);
}

/* Agent / Broker & Callout Section */
.agents-section {
	padding: 60px 0;
	background: #FFFFFF;
}

.agents-wrapper {
	display: grid;
	grid-template-columns: 2.5fr 1fr;
	gap: 30px;
}

.agent-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.agent-card {
	background: #FAF7F2;
	border: 1px solid #E2D9CD;
	border-radius: var(--radius-md);
	padding: 20px 14px;
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.agent-avatar-img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 12px;
	border: 2px solid var(--color-gold);
}

.agent-name {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
	color: #1F2937;
	margin-bottom: 2px;
}

.agent-title {
	font-size: 11px;
	color: #6B7280;
	margin-bottom: 8px;
}

.agent-phone {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-burgundy);
	margin-bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.agent-listings-count {
	font-size: 11px;
	color: #9CA3AF;
	margin-bottom: 12px;
}

/* Right Callout Banner (Ký gửi BĐS) */
.kygui-callout-box {
	background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 100%);
	border-radius: var(--radius-md);
	padding: 28px;
	color: #FFFFFF;
	border: 2px solid var(--color-gold);
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.kygui-callout-box h3 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 800;
	color: var(--color-gold);
	margin-bottom: 8px;
	text-transform: uppercase;
}

.kygui-callout-box p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 18px;
}

.kygui-checklist {
	margin-bottom: 24px;
}

.kygui-checklist li {
	font-size: 13px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.kygui-checklist i {
	color: var(--color-gold);
}

/* CTA Banner */
.cta-banner-section {
	background: linear-gradient(135deg, var(--color-burgundy-dark), var(--color-burgundy));
	color: #FFFFFF;
	padding: 35px 0;
	margin-top: 50px;
	border-top: 1px solid var(--color-gold);
}

.cta-banner-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cta-banner-text h2 {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 800;
	color: var(--color-gold);
	text-transform: uppercase;
	margin-bottom: 4px;
}
