/* ============================================
   HOMEPAGE MODERN DESIGN - Aiden Premier
   ============================================ */

/* Hero Section */
.hero-section {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 24px 100px;
	overflow: hidden;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #1a1f36 0%, #2d3748 50%, #1a1f36 100%);
	z-index: 0;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
	            radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.4;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	width: 100%;
	text-align: center;
}

.hero-text-wrapper {
	margin-bottom: 48px;
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-badge {
	display: inline-block;
	padding: 8px 20px;
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 50px;
	color: #60a5fa;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 24px;
	backdrop-filter: blur(10px);
}

.hero-title {
	font-size: 64px;
	font-weight: 800;
	line-height: 1.1;
	color: #ffffff;
	margin: 0 0 24px 0;
	letter-spacing: -1px;
}

.gradient-text {
	background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	margin-top: 8px;
}

.hero-subtitle {
	font-size: 20px;
	line-height: 1.6;
	color: #cbd5e1;
	max-width: 700px;
	margin: 0 auto;
}

/* Hero Search Card */
.hero-search-card {
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
	margin-bottom: 60px;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.search-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.search-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: all 0.3s ease;
}

.search-tab:hover {
	background: #f8fafc;
	color: #1e293b;
}

.search-tab.active {
	background: #1e293b;
	color: #ffffff;
	border-color: #1e293b;
}

.search-tab svg {
	width: 20px;
	height: 20px;
}

.search-inputs {
	display: grid;
	grid-template-columns: 2fr 1.5fr 1.5fr 120px;
	gap: 16px;
	align-items: center;
}

.search-field {
	position: relative;
	display: flex;
	align-items: center;
}

.search-field svg {
	position: absolute;
	left: 16px;
	width: 20px;
	height: 20px;
	color: #64748b;
	pointer-events: none;
}

.search-field input,
.search-field select {
	width: 100%;
	padding: 16px 16px 16px 48px;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-size: 15px;
	color: #1e293b;
	transition: all 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
	outline: none;
	border-color: #60a5fa;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.search-field input::placeholder {
	color: #94a3b8;
}

.search-submit-btn {
	height: 56px;
	padding: 0 24px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	border: none;
	border-radius: 12px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}

.search-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 30px -10px rgba(59, 130, 246, 0.6);
}

.search-submit-btn svg {
	width: 20px;
	height: 20px;
}

/* Hero Stats */
.hero-stats {
	display: flex;
	justify-content: center;
	gap: 80px;
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 48px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1;
	margin-bottom: 8px;
	background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stat-label {
	font-size: 15px;
	color: #cbd5e1;
	font-weight: 500;
}

/* Section Styles */
.featured-properties-section,
.why-choose-section,
.property-types-section,
.testimonials-section {
	padding: 100px 24px;
}

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

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 60px;
}

.section-header-center {
	text-align: center;
	margin-bottom: 60px;
}

.section-badge {
	display: inline-block;
	padding: 6px 16px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 50px;
	color: #3b82f6;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.section-title {
	font-size: 48px;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 12px 0;
	letter-spacing: -1px;
	line-height: 1.2;
}

.section-description {
	font-size: 18px;
	color: #64748b;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto;
}

.view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: #1e293b;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.view-all-btn:hover {
	background: #0f172a;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(30, 41, 59, 0.25);
}

.view-all-btn svg {
	width: 20px;
	height: 20px;
}

/* Properties Grid */
.properties-grid-featured {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

/* Why Choose Section */
.why-choose-section {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.why-choose-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.why-choose-text .section-title {
	text-align: left;
}

.why-choose-text .section-description {
	text-align: left;
	margin: 0 0 40px 0;
	max-width: 100%;
}

.features-list {
	display: grid;
	gap: 24px;
	margin-bottom: 40px;
}

.feature-box {
	display: flex;
	gap: 20px;
	padding: 24px;
	background: #ffffff;
	border-radius: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	border-radius: 12px;
	color: #ffffff;
}

.feature-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 8px 0;
}

.feature-content p {
	font-size: 15px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.cta-button-primary {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 32px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}

.cta-button-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 30px -10px rgba(59, 130, 246, 0.6);
}

/* Visual Cards */
.why-choose-visual {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, 1fr);
}

.visual-card {
	background: #ffffff;
	padding: 40px 32px;
	border-radius: 20px;
	text-align: center;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.visual-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.visual-card.card-1 {
	grid-column: span 2;
}

.visual-icon {
	font-size: 56px;
	margin-bottom: 20px;
}

.visual-stat {
	font-size: 42px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 8px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.visual-label {
	font-size: 16px;
	color: #64748b;
	font-weight: 600;
}

/* Property Types Section */
.property-types-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.property-type-card {
	padding: 48px 32px;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 20px;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.property-type-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.property-type-card:hover::before {
	transform: scaleX(1);
}

.property-type-card:hover {
	border-color: #3b82f6;
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.type-card-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
	border-radius: 16px;
	color: #3b82f6;
	transition: all 0.3s ease;
}

.property-type-card:hover .type-card-icon {
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: #ffffff;
	transform: scale(1.1) rotate(5deg);
}

.type-card-title {
	font-size: 22px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 8px 0;
}

.type-card-count {
	font-size: 15px;
	color: #64748b;
	margin: 0;
}

/* Testimonials Section */
.testimonials-section {
	background: #ffffff;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.testimonial-card {
	padding: 40px;
	background: #f8fafc;
	border-radius: 20px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	border-color: #3b82f6;
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
	font-size: 20px;
	margin-bottom: 20px;
}

.testimonial-text {
	font-size: 16px;
	line-height: 1.7;
	color: #475569;
	margin: 0 0 24px 0;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 16px;
}

.author-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	flex-shrink: 0;
}

.author-name {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 4px;
}

.author-role {
	font-size: 14px;
	color: #64748b;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.hero-title {
		font-size: 48px;
	}
	
	.search-inputs {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	
	.search-submit-btn {
		grid-column: span 2;
	}
	
	.properties-grid-featured {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.why-choose-content {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	
	.property-types-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.testimonials-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hero-section {
		min-height: auto;
		padding: 60px 20px 80px;
	}
	
	.hero-title {
		font-size: 36px;
	}
	
	.hero-subtitle {
		font-size: 16px;
	}
	
	.hero-search-card {
		padding: 24px;
	}
	
	.search-inputs {
		grid-template-columns: 1fr;
	}
	
	.search-submit-btn {
		grid-column: 1;
	}
	
	.hero-stats {
		flex-direction: column;
		gap: 32px;
	}
	
	.section-title {
		font-size: 32px;
	}
	
	.section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}
	
	.properties-grid-featured {
		grid-template-columns: 1fr;
	}
	
	.property-types-grid {
		grid-template-columns: 1fr;
	}
	
	.visual-card.card-1 {
		grid-column: span 1;
	}
}
