/*
Theme Name: Red Marshal
Theme URI: https://nexlifylabs.com
Description: Luxury property management theme for holiday homes - Minimal, elegant, and Elementor-ready
Version: 1.0.0
Author: TeeJay
Author URI: https://nexlifylabs.com
Text Domain: red-marshal
Tags: luxury, property, real-estate, elementor, modern, responsive
*/

/* ===========================
   CSS VARIABLES - Design System
   =========================== */
:root {
	/* Color Palette */
	--color-primary: #1a2332;      /* Navy - main brand elements */
	--color-secondary: #2d3748;    /* Charcoal - supporting elements */
	--color-accent: #9E5C42;       /* Bronze - buttons and actions */
	--color-accent-hover: #7d4935; /* Darker bronze - button hover */
	--color-gold: #9E5C42;         /* Bronze - luxury accents */
	--color-gold-hover: #b8725a;   /* Lighter bronze hover state */
	--color-text: #333333;         /* Dark gray - readable text */
	--color-text-light: #666666;   /* Light gray - secondary text */
	--color-background: #ffffff;   /* White - clean background */
	--color-background-alt: #f8f9fa; /* Light gray background */
	
	/* Typography */
	--font-heading: 'Playfair Display', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	
	/* Spacing */
	--spacing-xs: 0.5rem;   /* 8px */
	--spacing-sm: 1rem;     /* 16px */
	--spacing-md: 2rem;     /* 32px */
	--spacing-lg: 4rem;     /* 64px */
	--spacing-xl: 6rem;     /* 96px */
	
	/* Other Variables */
	--border-radius: 8px;
	--transition: all 0.3s ease;
	--box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	--box-shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
	
	/* Container */
	--container-width: 1280px;
}

/* ===========================
   GOOGLE FONTS IMPORT
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ===========================
   BASE STYLES & RESET
   =========================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overscroll-behavior-x: none;
	touch-action: pan-y pinch-zoom;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: var(--spacing-sm);
	color: var(--color-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: var(--spacing-sm);
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--color-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ===========================
   LAYOUT & CONTAINERS
   =========================== */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
}

.site-main {
	min-height: 60vh;
	padding: var(--spacing-lg) 0;
}

/* ===========================
   HEADER STYLES
   =========================== */
.site-header {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: var(--spacing-sm) 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: var(--transition);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
	box-shadow: var(--box-shadow);
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--spacing-md);
}

.site-branding {
	flex-shrink: 0;
	max-width: 250px;
}

.custom-logo {
	max-height: 50px;
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.site-title {
	font-size: 2rem;
	margin: 0;
	color: #9E5C42;
	font-family: 'DM Serif Display', serif;
	font-weight: 400;
}

.site-title a {
	color: #9E5C42;
}

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--spacing-md);
	align-items: center;
}

.main-navigation li {
	margin: 0;
}

.main-navigation a {
	color: var(--color-primary);
	font-weight: 500;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.5rem 0;
	position: relative;
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-accent);
	transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
	width: 100%;
}

/* CTA Button in Navigation */
.menu-cta-button {
	background-color: transparent !important;
	color: var(--color-accent);
	padding: 12px 24px !important;
	border: 2px solid var(--color-accent);
	border-radius: 25px !important;
	font-weight: 600 !important;
}

.menu-cta-button::after {
	display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
}

.mobile-menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--color-primary);
	margin: 5px 0;
	transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

/* ===========================
   FOOTER STYLES
   =========================== */
.site-footer {
	background-color: #F2F2F0;
	color: #333333;
	padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--spacing-md);
	max-width: var(--container-width);
	margin: 0 auto var(--spacing-lg);
	padding: 0 var(--spacing-sm);
}

.footer-widget {
	color: #333333;
}

.footer-widget h3 {
	color: #9E5C42;
	font-size: 1.25rem;
	margin-bottom: var(--spacing-sm);
}

.footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widget ul li {
	margin-bottom: 0.5rem;
}

.footer-widget a {
	color: #333333;
	transition: var(--transition);
}

.footer-widget a:hover {
	color: #9E5C42;
	padding-left: 5px;
}

/* Social Icons */
.social-icons {
	display: flex;
	gap: var(--spacing-sm);
	margin-top: var(--spacing-sm);
}

.social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333333;
	transition: var(--transition);
}

.social-icon:hover {
	background-color: #9E5C42;
	color: #ffffff;
	transform: scale(1.1);
}

/* Newsletter Form */
.newsletter-form {
	margin-top: var(--spacing-sm);
}

.newsletter-form input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	background-color: #ffffff;
	color: #333333;
	margin-bottom: var(--spacing-xs);
}

.newsletter-form input[type="email"]::placeholder {
	color: #999999;
}

.newsletter-form button {
	width: 100%;
	padding: 12px;
	background-color: #9E5C42;
	color: #ffffff;
	border: none;
	border-radius: var(--border-radius);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.newsletter-form button:hover {
	background-color: #7d4935;
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: var(--spacing-sm);
	text-align: center;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: var(--spacing-sm);
}

.copyright {
	color: #666666;
	font-size: 0.9rem;
	margin-bottom: var(--spacing-xs);
}

.footer-legal-links {
	display: flex;
	justify-content: center;
	gap: var(--spacing-sm);
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-legal-links a {
	color: #666666;
	font-size: 0.9rem;
}

.footer-legal-links a:hover {
	color: #9E5C42;
}

/* ===========================
   BUTTONS
   =========================== */
.btn,
button[type="submit"],
input[type="submit"] {
	display: inline-block;
	padding: 12px 30px;
	border-radius: var(--border-radius);
	font-weight: 600;
	font-family: var(--font-body);
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	border: none;
	font-size: 1rem;
}

.btn-primary {
	background-color: var(--color-gold);
	color: white;
}

.btn-primary:hover {
	background-color: var(--color-gold-hover);
	transform: translateY(-2px);
	box-shadow: var(--box-shadow);
	color: #ffffff;
}

.btn-secondary {
	background-color: var(--color-primary);
	color: #ffffff;
}

.btn-secondary:hover {
	background-color: var(--color-secondary);
	transform: translateY(-2px);
	box-shadow: var(--box-shadow);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.btn-outline:hover {
	background-color: var(--color-primary);
	color: #ffffff;
}

.btn-whatsapp {
	background-color: #25D366;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	border: none;
	font-size: 1rem;
	margin-top: 12px;
	width: 100%;
}

.btn-whatsapp:hover {
	background-color: #128C7E;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
	color: #ffffff;
}

/* ===========================
   FORMS
   =========================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
textarea,
select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: var(--transition);
	background-color: var(--color-background);
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.1);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--color-primary);
}

.form-group {
	margin-bottom: var(--spacing-sm);
}

/* ===========================
   PROPERTY CARDS
   =========================== */
.properties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-lg);
}

.property-card {
	background-color: var(--color-background);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

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

.property-card-image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.property-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

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

.property-status {
	position: absolute;
	top: var(--spacing-sm);
	right: var(--spacing-sm);
	background-color: var(--color-gold);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius);
	font-weight: 600;
	font-size: 0.85rem;
}

.property-card-content {
	padding: var(--spacing-sm);
}

.property-title {
	font-size: 1.5rem;
	margin-bottom: var(--spacing-xs);
}

.property-title a {
	color: var(--color-primary);
}

.property-title a:hover {
	color: var(--color-accent);
}

.property-location {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-text-light);
	margin-bottom: var(--spacing-sm);
	font-size: 0.95rem;
}

.property-price {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-gold);
	margin-bottom: var(--spacing-sm);
}

.property-meta {
	display: flex;
	gap: var(--spacing-sm);
	padding-top: var(--spacing-sm);
	border-top: 1px solid #eee;
	font-size: 0.9rem;
	color: var(--color-text-light);
}

.property-meta-item {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.btn-view-property {
	width: 100%;
	margin-top: var(--spacing-sm);
}

/* ===========================
   PROPERTY ARCHIVE
   =========================== */
.archive-header {
	text-align: center;
	margin-bottom: var(--spacing-lg);
	padding: var(--spacing-lg) 0;
}

.archive-title {
	margin-bottom: var(--spacing-sm);
	color: var(--color-primary);
}

.archive-description {
	color: var(--color-text-light);
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.1rem;
}

.property-filters {
	display: flex;
	gap: var(--spacing-sm);
	margin-bottom: var(--spacing-lg);
	flex-wrap: wrap;
	padding: var(--spacing-md);
	background-color: #f8f9fa;
	border-radius: var(--border-radius);
}

.filter-group {
	flex: 1;
	min-width: 200px;
}

.filter-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--color-primary);
	font-size: 0.9rem;
}

.property-filter {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-size: 1rem;
	background-color: #ffffff;
	cursor: pointer;
}

.no-results {
	text-align: center;
	padding: var(--spacing-xl) 0;
	background-color: #f8f9fa;
	border-radius: var(--border-radius);
}

.no-results h2 {
	color: var(--color-primary);
	margin-bottom: var(--spacing-md);
}

.no-results p {
	color: var(--color-text-light);
	margin-bottom: var(--spacing-md);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.related-properties {
	margin-top: var(--spacing-xl);
	padding: var(--spacing-lg) 0;
	background-color: #f8f9fa;
}

.related-properties h2 {
	text-align: center;
	margin-bottom: var(--spacing-lg);
	color: var(--color-primary);
}

/* ===========================
   BLOG POSTS
   =========================== */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--spacing-md);
}

.post-card {
	background-color: var(--color-background);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--box-shadow-hover);
}

.post-thumbnail {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
	transform: scale(1.05);
}

.post-content {
	padding: var(--spacing-sm);
}

.post-meta {
	display: flex;
	gap: var(--spacing-sm);
	margin-bottom: var(--spacing-xs);
	font-size: 0.85rem;
	color: var(--color-text-light);
}

.entry-title {
	font-size: 1.5rem;
	margin-bottom: var(--spacing-xs);
}

.entry-title a {
	color: var(--color-primary);
}

.entry-title a:hover {
	color: var(--color-accent);
}

.entry-summary {
	color: var(--color-text-light);
	margin-bottom: var(--spacing-sm);
}

.read-more {
	color: var(--color-accent);
	font-weight: 600;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: var(--spacing-lg) 0;
	list-style: none;
}

.pagination a,
.pagination span {
	padding: 0.5rem 1rem;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	color: var(--color-primary);
	transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
	background-color: var(--color-accent);
	color: #ffffff;
	border-color: var(--color-accent);
}

/* ===========================
   404 PAGE
   =========================== */
.error-404 {
	text-align: center;
	padding: var(--spacing-xl) 0;
}

.error-404 h1 {
	font-size: 6rem;
	color: var(--color-accent);
	margin-bottom: var(--spacing-sm);
}

.error-404 h2 {
	margin-bottom: var(--spacing-md);
}

/* ===========================
   PROPERTY SINGLE PAGE
   =========================== */

/* Ensure no horizontal overflow */
.single-property {
	overflow-x: hidden;
}

.single-property .container {
	overflow: visible;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

/* Style Gallery Hero */
.property-gallery-hero {
	position: relative;
	max-width: var(--container-width);
	width: 100%;
	margin: 0 auto var(--spacing-lg) auto;
	padding: 0 var(--spacing-md);
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 8px;
	height: 600px;
	border-radius: 12px;
	overflow: hidden;
	box-sizing: border-box;
}

.single-property .property-gallery-hero {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

.gallery-main-image {
	position: relative;
	grid-row: 1 / 3;
	overflow: hidden;
	height: 100%;
}

.gallery-main-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.gallery-main-image:hover .gallery-main-img {
	transform: scale(1.02);
}

.property-status-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: var(--color-gold);
	color: white;
	padding: 8px 20px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 2;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.gallery-grid-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	border-radius: 4px;
}

.gallery-grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gallery-grid-item:hover img {
	transform: scale(1.05);
}

.gallery-more-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 600;
}

.view-all-photos-btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background-color: #ffffff;
	color: var(--color-primary);
	border: 1px solid #222;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: var(--transition);
	z-index: 10;
}

.view-all-photos-btn:hover {
	background-color: #f7f7f7;
	transform: scale(1.05);
}

/* Property Title Section */
.property-title-section {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: var(--spacing-md) 0;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: var(--spacing-lg);
}

.property-title-main .entry-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.property-price-highlight {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-gold);
}

/* Lightbox Styles */
.property-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 99999;
	overflow: hidden;
}

.property-lightbox.active {
	display: block;
}

.lightbox-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 10;
}

.lightbox-close {
	background: none;
	border: none;
	color: #ffffff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s;
}

.lightbox-close:hover {
	transform: scale(1.2);
}

.lightbox-counter {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 500;
}

.lightbox-content {
	position: relative;
	height: calc(100vh - 150px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 100px 0;
}

.lightbox-image-container {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-slide {
	display: none;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	max-height: 100%;
}

.lightbox-slide.active {
	display: flex;
}

.lightbox-slide img {
	max-width: 100%;
	max-height: calc(100vh - 250px);
	object-fit: contain;
	border-radius: 8px;
}

.lightbox-caption {
	color: #ffffff;
	text-align: center;
	margin-top: 15px;
	font-size: 1rem;
	max-width: 600px;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	z-index: 10;
}

.lightbox-nav:hover {
	background-color: #ffffff;
	transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-thumbnails {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px 40px;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.lightbox-thumb {
	flex-shrink: 0;
	width: 80px;
	height: 60px;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.6;
	transition: var(--transition);
	border: 2px solid transparent;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
	opacity: 1;
	border-color: var(--color-gold);
}

.lightbox-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Original Property Header (Fallback) */
.property-header {
	position: relative;
	padding: var(--spacing-xl) 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 400px;
	display: flex;
	align-items: center;
	margin-bottom: var(--spacing-lg);
}

.property-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 0.9));
	z-index: 1;
}

.property-header-content {
	position: relative;
	z-index: 2;
	color: #ffffff;
}

.property-header .entry-title {
	color: #ffffff;
	font-size: 3rem;
	margin-bottom: var(--spacing-sm);
}

.property-header .property-status {
	background-color: var(--color-gold);
	color: var(--color-primary);
	display: inline-block;
	margin-bottom: var(--spacing-sm);
}

.property-header .property-location {
	color: rgba(255, 255, 255, 0.95);
	font-size: 1.1rem;
	margin-bottom: var(--spacing-sm);
}

.property-header .property-price {
	color: var(--color-gold);
	font-size: 2.5rem;
	font-weight: 700;
}

.property-quick-info {
	display: flex;
	gap: var(--spacing-md);
	padding: var(--spacing-md);
	background-color: #f8f9fa;
	border-radius: var(--border-radius);
	margin-bottom: var(--spacing-lg);
	flex-wrap: wrap;
}

.quick-info-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	color: var(--color-text);
}

.quick-info-item svg {
	fill: var(--color-primary);
	flex-shrink: 0;
}

.property-description {
	margin-bottom: var(--spacing-lg);
}

.property-description h2 {
	margin-bottom: var(--spacing-md);
	color: var(--color-primary);
}

.property-stats {
	margin-bottom: var(--spacing-lg);
}

.property-stats h2 {
	margin-bottom: var(--spacing-md);
	color: var(--color-primary);
}

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

.stat-item {
	background-color: #f8f9fa;
	padding: var(--spacing-md);
	border-radius: var(--border-radius);
	text-align: center;
	border: 2px solid var(--color-gold);
}

.stat-value {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--color-gold);
	margin-bottom: var(--spacing-xs);
}

.stat-label {
	color: var(--color-text-light);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.property-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: var(--spacing-lg);
	margin-top: var(--spacing-lg);
}

.property-sidebar {
	position: sticky;
	top: 100px;
	align-self: start;
}

.contact-card {
	background-color: var(--color-background);
	border-radius: var(--border-radius);
	padding: var(--spacing-md);
	box-shadow: var(--box-shadow);
	border: 2px solid var(--color-gold);
}

.contact-card h3 {
	color: var(--color-primary);
	margin-bottom: var(--spacing-sm);
	font-size: 1.5rem;
}

.contact-card p {
	color: var(--color-text-light);
	margin-bottom: var(--spacing-sm);
}

.contact-card .btn {
	width: 100%;
	margin-bottom: 0;
}

.contact-info {
	border-top: 1px solid #e0e0e0;
	padding-top: var(--spacing-sm);
}

.contact-info p {
	margin-bottom: var(--spacing-sm);
	font-size: 0.95rem;
}

.contact-info a {
	color: var(--color-accent);
	text-decoration: none;
}

.contact-info a:hover {
	color: var(--color-primary);
	text-decoration: underline;
}

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }

/* ===========================
   WORDPRESS CORE CLASSES
   =========================== */
.alignleft {
	float: left;
	margin-right: var(--spacing-sm);
	margin-bottom: var(--spacing-sm);
}

.alignright {
	float: right;
	margin-left: var(--spacing-sm);
	margin-bottom: var(--spacing-sm);
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	text-align: center;
	font-size: 0.9rem;
	color: var(--color-text-light);
	margin-top: 0.5rem;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* ===========================
   ELEMENTOR COMPATIBILITY
   =========================== */
.elementor-page .site-main {
	padding: 0;
}

.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--container-width);
}

.wpcf7-submit {
    background-color: #9E5C42 !important;
    color: #ffffff !important;
    /* rest of styles... */
}