/**
 * MainFlare Real Estate Theme Styles (Minimal)
 *
 * Tailwind CSS is used for all frontend styling.
 * This file only contains essential base utilities.
 *
 * @package MainFlare_RealEstate
 * @since 1.0.0
 */
* {
	margin: 0;
	padding: 0;
}

html {
	margin: 0 !important;
}

/* Theme tokens aligned with lovable.dev design */
:root {
	--background: 210 20% 98%;
	--foreground: 215 25% 20%;
	--card: 0 0% 100%;
	--card-foreground: 215 25% 20%;
	--muted: 210 15% 94%;
	--muted-foreground: 215 15% 50%;
	--border: 214 20% 88%;
	--input: 214 20% 88%;
	--primary: 174 62% 40%;
	--primary-foreground: 0 0% 100%;
	--accent: 174 40% 90%;
	--accent-foreground: 174 70% 25%;
	--secondary: 210 20% 96%;
	--secondary-foreground: 215 25% 30%;
	--ring: 174 62% 40%;
}

body {
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--mainflare-font-family, 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif);
}

a {
	color: inherit;
	text-decoration: none;
}

/* Container + section helpers */
.container-custom {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 32px;
}

@media (max-width: 768px) {
	.container-custom {
		padding: 0 20px;
	}
}

.section {
	padding: 64px 0;
}

/* Navigation links */
.site-header {
	transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	font-size: 18px;
	font-weight: 700;
	color: hsl(var(--muted-foreground));
	transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a,
.main-navigation .current_page_item>a {
	color: hsl(var(--foreground));
}

.main-navigation ul li a {
	padding: 8px 12px;
	border-radius: 10px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation ul li a:hover,
.main-navigation .current-menu-item>a,
.main-navigation .current_page_item>a {
	background: hsl(var(--muted));
}

.menu-toggle {
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
	.main-navigation ul {
		position: absolute;
		top: 56px;
		right: 0;
		width: min(360px, calc(100vw - 32px));
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		background: hsl(var(--card));
		border: 1px solid hsl(var(--border));
		border-radius: 16px;
		padding: 12px;
		box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
		z-index: 60;
		gap: 6px;
	}

	.main-navigation ul li a {
		display: block;
		padding: 10px 12px;
		border-radius: 10px;
		text-align: left;
		width: 100%;
	}

	.main-navigation ul li a:hover {
		background: hsl(var(--muted));
	}
}

.main-navigation ul.active {
	animation: mainflareMenuDrop 0.2s ease;
}

@keyframes mainflareMenuDrop {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Buttons */
.primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 14px;
	font-weight: 500;
	height: 40px;
	padding: 10px 20px;
	transition: all 0.2s ease;
}

.primary-button:hover {
	filter: brightness(0.95);
}

.secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	font-size: 14px;
	font-weight: 500;
	height: 40px;
	padding: 10px 20px;
	transition: all 0.2s ease;
}

.secondary-button:hover {
	background: hsl(var(--muted));
}

/* Breadcrumbs */
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: hsl(var(--muted-foreground));
}

/* Property cards */
.property-item {
	background: hsl(var(--card));
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 8px -2px rgba(38, 49, 64, 0.08), 0 4px 16px -4px rgba(38, 49, 64, 0.12);
	transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.property-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(38, 49, 64, 0.15);
}

.property-thumbnail {
	position: relative;
	overflow: hidden;
	height: 300px;
	border-radius: 16px;
}

.property-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.property-item:hover .property-thumbnail img {
	transform: scale(1.03);
}

.property-content {
	padding: 18px 20px 20px;
}

/*  */
.feature-agency-container {
	padding: 64px 0;
}

.featured-badge {
	background: hsl(var(--accent));
	color: white;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 9999px;
}

.property-status {
	background: hsl(var(--secondary));
	color: hsl(var(--secondary-foreground));
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 9999px;
}

.feature-agency-header {
	text-align: center;
	margin-bottom: 50px;
}

.feature-agency-badge {
	display: inline-block;
	background: #fff;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
}

.feature-agency-title {
	font-size: 48px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 15px;
	line-height: 1.2;
}

.feature-agency-subtitle {
	font-size: 16px;
	color: #6c757d;
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

.feature-agency-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	margin-top: 40px;
}

.feature-agency-card {
	padding: 30px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	gap: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid hsl(var(--border));
}

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

.feature-agency-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border: 1px solid hsl(var(--border));
	border-radius: 16px;
	flex-shrink: 0;
}

.feature-agency-text h3 {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
}

@media (max-width: 768px) {
	.feature-agency-title {
		font-size: 36px;
	}

	.feature-agency-grid {
		grid-template-columns: 1fr;
	}
}

/* feature-agency-parallax */

.feature-agency-parallax-section {
	position: relative;
	min-height: 70vh;
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
}

.feature-agency-parallax-section {
	position: relative;

	background-image: url('../media/images/travel.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.feature-agency-parallax-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
}

.feature-agency-parallax-content {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5rem 1rem;
	z-index: 2;
}

.feature-agency-glass-card {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 30px;
	padding: 60px 80px;
	text-align: center;
	max-width: 700px;
	animation: fadeInUp 1s ease-out;
}

.feature-agency-trophy-icon {
	margin: 0 auto 20px;
	width: 80px;
	height: 80px;
}

.feature-agency-award-title {
	color: #fff;
	font-size: 28px;
	font-weight: 400;
	font-style: italic;
	margin-bottom: 15px;
	font-family: 'Great Vibes', cursive;
}

.feature-agency-stars {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 30px;
}

.feature-agency-star {
	color: #fff;
	font-size: 20px;
}

.feature-agency-subtitle {
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 4px;
	margin-bottom: 10px;
}

.feature-agency-main-title {
	color: #fff;
	font-size: 100px;
	font-weight: 800;
	letter-spacing: 10px;
	line-height: 1;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-agency-tagline {
	color: #fff;
	font-size: 48px;
	font-weight: 400;
	font-style: italic;
	margin-bottom: 40px;
	font-family: 'Great Vibes', cursive;
}

.feature-agency-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #2563eb;
	color: #fff;
	padding: 16px 40px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.feature-agency-cta-button:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.feature-agency-arrow-icon {
	font-size: 18px;
}

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

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.feature-agency-glass-card {
		padding: 40px 30px;
	}

	.feature-agency-main-title {
		font-size: 60px;
		letter-spacing: 5px;
	}

	.feature-agency-tagline {
		font-size: 32px;
	}

	.feature-agency-subtitle {
		font-size: 18px;
	}
}

/* Explore  Location */
.explore-location img {
	height: 400px;
}

/* Agent card */
.agent-card {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 16px;
	padding: 24px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agent-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Gallery lightbox */
.gallery-lightbox {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.gallery-thumbnail.active {
	outline: 2px solid hsl(var(--primary));
	outline-offset: 2px;
}

/* Back to top button */
.back-to-top {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: 1px solid hsl(var(--border));
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
	z-index: 999;
}

.back-to-top:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

/* Accessibility helpers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 5px;
	top: 5px;
	padding: 8px 12px;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	z-index: 100000;
	text-decoration: none;
	border-radius: 6px;
}

/* Ensure embedded media stays responsive */
img,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

/* Prevent hidden overflow on body when menu is open */
body.menu-open {
	overflow: hidden;
}

/* List view tweaks for property grid */
.properties-grid.list-view {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.properties-grid.list-view .property-item {
	display: grid;
	grid-template-columns: 220px 1fr;
	align-items: stretch;
}

.properties-grid.list-view .property-thumbnail img,
.properties-grid.list-view .property-thumbnail {
	height: 100%;
}

/* Basic pagination styling (Tailwind-style fallback) */
.navigation.pagination,
.pagination {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
	text-decoration: none;
	padding: 0 10px;
}

.page-numbers.current {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
}

/* Form Messages */
.form-messages {
	display: none;
	border-radius: 12px;
	padding: 12px 14px;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--muted));
	color: hsl(var(--foreground));
}

.form-messages.success {
	border-color: hsl(var(--primary) / 0.35);
	background: hsl(var(--accent));
	color: white;
}

.form-messages.error {
	border-color: hsl(0 70% 70%);
	background: hsl(0 70% 96%);
	color: hsl(0 55% 35%);
}

/* Contact Page Enhancements */
body.page-template-template-contact .site-main {
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
}

body.page-template-template-contact .site-main .bg-card {
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.page-template-template-contact .site-main h1 {
	letter-spacing: -0.02em;
}

body.page-template-template-contact .site-main input,
body.page-template-template-contact .site-main select,
body.page-template-template-contact .site-main textarea {
	background: hsl(var(--card));
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-template-template-contact .site-main input:focus,
body.page-template-template-contact .site-main select:focus,
body.page-template-template-contact .site-main textarea:focus {
	box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

body.page-template-template-contact .site-main .primary-button {
	height: 48px;
	font-size: 15px;
	letter-spacing: 0.01em;
}

body.page-template-template-contact .site-main .text-muted-foreground {
	line-height: 1.7;
}

/* Global Animated Background Pattern */
.site {
	position: relative;
	overflow: hidden;
}

.site::before,
.site::after {
	content: '';
	position: fixed;
	inset: -20%;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 20% 20%, hsl(var(--primary) / 0.08), transparent 45%),
		radial-gradient(circle at 80% 30%, hsl(var(--accent) / 0.25), transparent 40%),
		radial-gradient(circle at 30% 80%, hsl(var(--primary) / 0.06), transparent 45%);
	opacity: 0.6;
	z-index: 0;
	animation: mainflareFloat 18s ease-in-out infinite;
}

.site::after {
	opacity: 0.4;
	animation-duration: 26s;
}

.site>* {
	position: relative;
	z-index: 1;
}

@keyframes mainflareFloat {
	0% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(-1.5%, 1.2%, 0);
	}

	100% {
		transform: translate3d(0, 0, 0);
	}
}

/* Hero + Stats Enhancements */
.hero-section h1 {
	letter-spacing: -0.02em;
}

.hero-section p {
	line-height: 1.7;
}

/* Modern Hero */
.hero-modern {
	position: relative;
	padding: 88px 0 72px;
	background: radial-gradient(circle at top left, hsl(var(--accent)) 0%, transparent 50%),
		linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
	overflow: hidden;
	min-height: 70vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-modern .video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-modern .video-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.35);
	z-index: 1;
}

.hero-modern .video-container .hero-video {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.hero-modern h1 {
	color: white;
}

.hero-modern-grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 48px;
	align-items: center;
}

@media (min-width: 1024px) {
	.hero-modern-grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.hero-modern-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hero-modern-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 9999px;
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	color: hsl(var(--muted-foreground));
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	width: fit-content;
}


.hero-modern-title {
	font-size: clamp(2.25rem, 1.6rem + 2vw, 3.2rem);
	line-height: 1.1;
	font-weight: 700;
	color: hsl(var(--foreground));
	letter-spacing: -0.02em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-modern-subtitle {
	font-size: 1.05rem;
	color: #CCCCCC;
	line-height: 1.7;
	max-width: 540px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-modern-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-modern-meta {
	font-size: 0.85rem;
	color: #CCCCCC;
}

.hero-modern-card {
	padding: 8px;
	border-radius: 24px;
	background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
	border: 1px solid hsl(var(--border));
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-modern-card .bg-card {
	box-shadow: none;
	border: none;
}

/* Hero Buy/Rent Tabs */
.hero-modern-card input[type="radio"]+label {
	border-radius: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.hero-modern-card .peer:checked+label {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.stats-section {
	/* box-shadow: inset 0 1px 0 hsl(var(--border)), inset 0 -1px 0 hsl(var(--border)); */
	background-image: url('../media/images/stats.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
	padding: 64px 0;
}

.stats-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
}

.stats-section .container-custom {
	position: relative;
}

.stats-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 32px;
	text-align: center;
	color: white;
}

.stats-header h2 {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.2;
}

.stats-grid {
	display: grid;
	gap: 50px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
	border: 1px solid hsl(var(--border));
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-align: left;
	border: 1px solid hsl(var(--border));
	border: 10px solid transparent;
	outline: 10px solid rgba(255, 255, 255, 0.20);
	border-radius: 18px;
}

.stat-card>div {
	background-color: rgba(255, 255, 255, 0.20);
	border-radius: 18px;
	padding: 20px;
}

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

.stat-number {
	font-size: 40px;
	font-weight: 700;
	color: white;
	margin-bottom: 6px;
}

.stat-label {
	font-size: 14px;
	color: white;
}

/* Agents Archive Enhancements */
.archive-agents,
body.post-type-archive-agent .site-main {
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
}

.agents-hero {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.agents-hero h1 {
	letter-spacing: -0.02em;
}

.agents-grid .agent-card {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 18px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agents-grid .agent-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.agents-grid .agent-card .secondary-button {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
}

.agents-grid .agent-card .secondary-button:hover {
	background: hsl(var(--muted));
}

.agents-grid .agent-card .text-muted-foreground {
	line-height: 1.6;
}

.archive-agents .bg-card {
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* Agent Profile Enhancements */
.agent-profile,
body.single-agent .site-main {
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
}

.agent-profile .breadcrumb {
	font-size: 13px;
	color: hsl(var(--muted-foreground));
}

.agent-profile-card {
	border-radius: 22px;
	padding: 28px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.agent-profile-card h1 {
	letter-spacing: -0.02em;
}

.agent-profile-card .text-muted-foreground {
	line-height: 1.7;
}

.agent-profile-card a {
	font-weight: 500;
}

.agent-profile-card .prose,
.agent-profile-card .prose-sm {
	color: hsl(var(--muted-foreground));
}

.agent-profile .grid .property-item {
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Home Agents Section Enhancements */
.agents-section {
	position: relative;
}

.agents-section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
}

.agents-section-header h2 {
	letter-spacing: -0.01em;
}

.agents-grid {
	justify-content: center;
}

.agents-grid .agent-card {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 18px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agents-grid .agent-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.agents-grid .agent-card .secondary-button {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
}

.agents-grid .agent-card .secondary-button:hover {
	background: hsl(var(--muted));
}

.agents-section-cta {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}

/* Featured Properties Section */
.featured-properties-section {
	position: relative;
}

.featured-properties-section h2 {
	letter-spacing: -0.01em;
}

.featured-properties-grid {
	justify-content: center;
}

.featured-properties-grid .property-item {
	background: linear-gradient(180deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
	border: 1px solid hsl(var(--border));
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-properties-grid .property-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.featured-properties-grid .property-item .property-thumbnail {
	height: 300px;
}

.featured-properties-grid .property-item .property-thumbnail::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.35) 100%);
	opacity: 0.6;
}

.featured-properties-grid .property-item .featured-badge {
	background: hsl(var(--primary));
	color: white;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.featured-properties-grid .property-item .property-content {
	padding: 22px;
}

.featured-properties-grid .property-item .property-title {
	font-size: 18px;
}

.featured-properties-grid .property-item .property-content .text-primary {
	font-size: 16px;
}

/* CTA  */
.cta-section {
	background-color: white;
	padding: 64px 0;
}

.cta-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 6rem 1rem;
	background-color: #75bfca;
	border-radius: 2rem;
	position: relative;
	background-image: url('../media/images/cta-bg.png');

}

/* Footer Enhancements */
.site-footer {
	position: relative;
	background-color: white !important;
}

.footer-inner {
	position: relative;
}

.footer-grid h4 {
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-socials .footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.18);

	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-socials .footer-social:hover {
	transform: translateY(-3px);
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.footer-socials .footer-social svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
}

.footer-bottom a {
	color: #283140;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
	opacity: 1;
}

.footer-powered {
	color: #000;
	opacity: 1;
}

.footer-powered a {
	color: #000;
	font-weight: 600;
}

/* Single Property Enhancements */
.property-single {
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
}

.property-single .breadcrumb {
	font-size: 13px;
	color: hsl(var(--muted-foreground));
}

.property-header {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.property-header h1 {
	letter-spacing: -0.02em;
}

.property-header .text-muted-foreground {
	color: hsl(var(--muted-foreground));
}

.property-header .text-primary {
	color: hsl(var(--primary));
}

.property-price-wrap {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 12px 16px;
	border-radius: 14px;
	background: hsl(var(--muted));
	border: 1px solid hsl(var(--border));
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	min-width: 160px;
}

.property-price-wrap .price-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: hsl(var(--muted-foreground));
}

.property-price-wrap .property-price {
	font-size: 24px;
	font-weight: 700;
	color: hsl(var(--primary));
}

@media (max-width: 768px) {
	.property-price-wrap {
		align-self: flex-start;
	}
}

.property-single .featured-badge,
.property-single .property-status {
	border-radius: 9999px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.property-single .property-status {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
	border: 1px solid hsl(var(--border));
}

.property-single .featured-badge {
	background: hsl(var(--primary));
	color: white;
}

.property-gallery-container .main-gallery-image {
	border-radius: 18px;
}

.property-gallery-container .gallery-prev,
.property-gallery-container .gallery-next {
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-gallery-container .gallery-fullscreen-btn {
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	border: 1px solid hsl(var(--border));
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.property-highlights>div {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.property-single .prose,
.property-single .prose-sm {
	color: hsl(var(--muted-foreground));
}

.property-single .prose h2,
.property-single .prose h3 {
	color: hsl(var(--foreground));
}

.property-single .grid .rounded-2xl {
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.property-single .text-muted-foreground {
	color: hsl(var(--muted-foreground));
}

.property-single .primary-button {
	height: 46px;
}

.property-single .gallery-thumbnail {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-single .gallery-thumbnail:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.property-single #property-map {
	border: 1px solid hsl(var(--border));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Archive + Filters Enhancements */
.archive-properties,
body.archive .site-main,
body.taxonomy .site-main {
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
}

.archive-properties .bg-card,
body.archive .bg-card,
body.taxonomy .bg-card {
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.archive-properties .breadcrumb,
body.archive .breadcrumb,
body.taxonomy .breadcrumb {
	font-size: 13px;
	color: hsl(var(--muted-foreground));
}

.archive-properties h1,
body.archive h1,
body.taxonomy h1 {
	letter-spacing: -0.02em;
}

.archive-properties aside .bg-card,
body.archive aside .bg-card,
body.taxonomy aside .bg-card {
	position: sticky;
	top: 96px;
}

@media (max-width: 1024px) {

	.archive-properties aside .bg-card,
	body.archive aside .bg-card,
	body.taxonomy aside .bg-card {
		position: static;
	}
}

.archive-properties form select,
.archive-properties form input,
body.archive form select,
body.archive form input,
body.taxonomy form select,
body.taxonomy form input {
	background: hsl(var(--card));
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.archive-properties form select:focus,
.archive-properties form input:focus,
body.archive form select:focus,
body.archive form input:focus,
body.taxonomy form select:focus,
body.taxonomy form input:focus {
	box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.archive-properties .primary-button,
body.archive .primary-button,
body.taxonomy .primary-button {
	height: 44px;
	font-size: 13px;
	letter-spacing: 0.02em;
}

.archive-properties .secondary-button,
body.archive .secondary-button,
body.taxonomy .secondary-button {
	height: 44px;
	font-size: 13px;
	letter-spacing: 0.02em;
	background: hsl(var(--card));
}

.archive-properties .view-button,
body.archive .view-button,
body.taxonomy .view-button {
	border-radius: 12px;
	transition: all 0.2s ease;
}

.archive-properties .view-button.active,
body.archive .view-button.active,
body.taxonomy .view-button.active {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}




/* ========================================
   HEADER STYLES - ALL HARDCODED VALUES
======================================== */

/* Burger Toggle */
#burgertoggel {
	display: none;
}

.toggle {
	position: relative;
	width: 35px;
	height: 35px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition-duration: 0.3s;
	margin-left: 21px;
	margin-right: 10px;
	display: none;
}

.bars {
	width: 100%;
	height: 3px;
	background-color: #3c3d42;
	border-radius: 5px;
	transition-duration: 0.3s;
}

#burgertoggel:checked+.toggle .bars {
	margin-left: 9px;
}

#burgertoggel:checked+.toggle #bar2 {
	transform: rotate(135deg);
	margin-left: 0;
	transform-origin: center;
	transition-duration: 0.3s;
}

#burgertoggel:checked+.toggle #bar1 {
	transform: rotate(45deg);
	transition-duration: 0.3s;
	transform-origin: left center;
}

#burgertoggel:checked+.toggle #bar3 {
	transform: rotate(-45deg);
	transition-duration: 0.3s;
	transform-origin: left center;
}

/* Header */
.header {
	background-color: #f6f8f9;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	transform: translateY(0);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	backdrop-filter: blur(10px);
}

.header.header--hidden {
	transform: translateY(-100%);
}

.header.header--scrolled {}

.header__container {
	margin: 0 auto;
	padding: 0 0.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.header__logo-img {
	height: 100px;
	width: auto;
}

.nav__list {
	display: flex;
	list-style: none;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

.nav__list li {
	margin: 0;
	padding: 0;
}

.nav__list a {
	text-decoration: none;
	color: #232526;
	font-size: 1.2rem;
	transition: 150ms ease-in-out;
	position: relative;
	font-family: "Baloo 2", sans-serif;
}

.nav__list a:hover,
.nav__list a.current-menu-item,
.nav__list a.current_page_item {
	color: #385fe7;
}

.nav__list a.current-menu-item::after,
.nav__list a.current_page_item::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #232526;
}

.header__actions {
	gap: 1.25rem;
	align-items: center;
	display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 800;
	opacity: 0;
	visibility: hidden;
	transition: 300ms ease-in-out;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Mobile Responsive */
@media (max-width: 992px) {
	.browser-tour {
		display: none;
	}

	.header__actions {
		display: flex;
	}

	.toggle {
		display: flex;
	}

	.header {
		margin: 0 0.25rem 0;
	}

	.nav {
		position: fixed;
		top: calc(80px + 0.5rem);
		width: calc(100% - 0.5rem);
		right: -100%;
		z-index: 900;
		transition: right 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
		min-height: 50dvh;
		overflow-y: auto;
		border-radius: 1.5rem;
		background-color: white;
		display: flex;
		align-items: center;
		border-radius: 16px;
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		border: 1px solid rgba(255, 255, 255, 0.3);
		padding: 1.5rem 0;
	}

	.nav .nav__link {
		display: block;
		width: 100%;
		padding: 0 1rem;
		border-radius: 1.5rem;
		background: white;
		font-size: 1.5rem;
		overflow: hidden;
		height: 100%;
		display: flex;
		align-items: center;
		color: #343a40;
	}

	.nav.active {
		right: 0.25rem;
	}

	.nav__list {
		display: grid;
		gap: 0.25rem;
		height: 100%;
		padding: 0;
		margin: 0;
		width: 100%;
	}

	.nav__list li {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.nav__list a {
		display: flex;
		align-items: center;
		width: 100%;
		padding: 0 2rem;
		border-radius: 20px;
		background: white;
		font-size: 1.5rem;
		overflow: hidden;
		height: 100%;
		min-height: 80px;
		width: 100%;
	}

	body.menu-open {
		overflow: hidden;
	}
}

@media (max-width: 768px) {
	.nav__list a {
		font-size: 1.875rem;
		padding: 0 1.5rem;
	}
}

@media (max-width: 480px) {
	.nav__list a {
		font-size: 1.5rem;
		padding: 0 1rem;
	}

	.toggle {
		width: 30px;
		height: 30px;
		margin-left: 15px;
	}

	.bars {
		height: 3px;
	}
}

.site-content {
	padding-top: 55px;
}