/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/**
 * La Coop Property Group - Easy Property Listings Custom Styles
 * 
 * Brand Colors:
 * Primary Teal: #01BBB4
 * Black: #000000
 * Off-White: #FAFAFA
 * 
 * Add this to your child theme style.css or enqueue it properly
 */
/* ==================================================
   LA COOP CUSTOM PROPERTIES
   ================================================== */

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==================================================
   ARCHIVE PAGE - 3-COLUMN GRID
   ================================================== */

.lacoop-properties-archive {
	padding: 60px 0;
}

.archive-header {
	background: #FAFAFA; /* Light grey background */
	padding: 40px 30px;
	border-radius: 12px;
	margin-bottom: 40px;
}

.archive-header h1 {
	font-size: 44px; /* Match contact page */
	font-weight: 400; /* Match contact page */
	color: #01BBB4; /* Green/teal color */
	margin: 0;
}

/* ==================================================
   PROPERTY FILTERS
   ================================================== */

.property-filters {
	background: #FAFAFA;
	padding: 25px;
	border-radius: 12px;
	margin-bottom: 40px;
}

.filters-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	align-items: end;
}

.filter-group {
	display: flex;
	flex-direction: column;
}

.filter-group label {
	font-size: 0.9em;
	font-weight: 600;
	color: #000000;
	margin-bottom: 8px;
}

.filter-group select {
	padding: 12px 16px;
	border: 2px solid #FFFFFF;
	border-radius: 12px;
	background: #FFFFFF;
	font-size: 1em;
	color: #333333;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-group select:hover,
.filter-group select:focus {
	border-color: #01BBB4;
	outline: none;
}

.filter-buttons {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap; /* Keep buttons together */
}

.btn-filter {
	background: #01BBB4;
	color: #FFFFFF;
	border: none;
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1em;
	white-space: nowrap; /* Prevent text wrap inside button */
}

.btn-filter:hover {
	background: #000000;
	transform: translateY(-2px);
}

.btn-reset {
	background: transparent;
	color: #666666;
	padding: 12px 24px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	white-space: nowrap; /* Prevent text wrap inside button */
}

.btn-reset:hover {
	color: #000000;
	border-color: #000000;
}

/* Responsive Filters */
@media screen and (max-width: 768px) {
	.filters-form {
		grid-template-columns: 1fr;
	}
	
	.filter-buttons {
		flex-direction: row; /* Keep horizontal on mobile */
		width: 100%;
		gap: 10px;
		justify-content: space-between; /* Spread buttons apart */
	}
	
	.btn-filter,
	.btn-reset {
		flex: 1; /* Equal width buttons */
		text-align: center;
	}
}

/* Property Grid */
.properties-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

/* Property Card */
.property-card {
	background: #FAFAFA;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.property-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(1, 187, 180, 0.2);
}

.property-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Property Image */
.property-image {
	position: relative;
	height: 220px;
	overflow: hidden;
}

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

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

/* Status Badge */
.property-status {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #01BBB4;
	color: #FFFFFF;
	padding: 6px 12px;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 600;
	text-transform: uppercase;
}

/* Property Content */
.property-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.property-title {
	font-size: 1.1em;
	font-weight: 600;
	color: #000000;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.property-address {
	font-size: 0.9em;
	color: #666666;
	margin: 0 0 12px 0;
}

/* Property Features */
.property-features {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
	color: #666666;
}

.property-features .feature {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9em;
}

.property-features svg {
	color: #01BBB4;
}

/* Property Price */
.property-price {
	font-size: 1.3em;
	font-weight: 700;
	color: #01BBB4;
	margin-top: auto;
}

/* Responsive Grid */
@media screen and (max-width: 1024px) {
	.properties-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 600px) {
	.properties-grid {
		grid-template-columns: 1fr;
	}
	
	.property-image {
		height: 250px;
	}
}

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

.lacoop-single-property {
	padding: 60px 0;
}

/* Two-Column Layout */
.property-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.property-main {
	flex: 1 1 70%;
	max-width: 70%;
}

.property-sidebar {
	flex: 0 0 28%;
	max-width: 28%;
	position: sticky;
	top: 20px;
}

/* Property Header */
/* Property Header Content (below image) */
.property-header-content {
	padding: 20px 0; /* Minimal padding, no background */
}

.property-header-content h1,
.property-header h1 {
	font-size: 2.5em;
	color: #000000;
	margin: 0 0 8px 0; /* Tighter margin */
	line-height: 1.2;
}

.property-header-content .property-address,
.property-header .property-address {
	font-size: 1.2em;
	color: #666666;
	margin: 0 0 10px 0; /* Tighter margin */
}

.property-status-badge {
	display: inline-block;
	background: #01BBB4;
	color: #FFFFFF;
	padding: 8px 16px;
	border-radius: 12px;
	font-size: 0.9em;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 10px; /* Tighter margin */
}

.property-price-display {
	font-size: 2.5em;
	font-weight: 700;
	color: #01BBB4;
	margin-top: 8px; /* Tighter margin */
	margin-bottom: 0;
}

/* Features Grid */
.property-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	margin-bottom: 20px; /* Reduced from 30px */
	margin-top: 20px; /* Add small top margin */
}

.feature-box {
	background: #FAFAFA;
	padding: 20px;
	border-radius: 12px;
	text-align: center;
}

.feature-label {
	display: block;
	font-size: 0.9em;
	color: #666666;
	margin-bottom: 5px;
}

.feature-value {
	display: block;
	font-size: 1.5em;
	font-weight: 700;
	color: #01BBB4;
}

/* Featured Image */
.property-featured-image {
	margin-bottom: 20px; /* Reduced from 30px */
	border-radius: 12px;
	overflow: hidden;
}

.property-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==================================================
   PROPERTY GALLERY
   ================================================== */

.property-gallery {
	margin: 20px 0;
}

.property-gallery .gallery-heading {
	font-size: 1.5em;
	color: #000000;
	margin: 0 0 15px 0;
	font-weight: 600;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Smaller thumbnails */
	gap: 10px; /* Tighter gap */
	margin-bottom: 20px;
}

.gallery-item {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4/3;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gallery-item:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(1, 187, 180, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-overlay svg {
	color: #FFFFFF;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Responsive Gallery */
@media screen and (max-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
	}
}

@media screen and (max-width: 480px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
	}
}

/* Description */
.property-description {
	margin-bottom: 20px; /* Reduced from 30px */
}

.property-description h2 {
	font-size: 1.8em;
	color: #000000;
	margin: 0 0 15px 0; /* Reduced from 20px */
	padding-bottom: 10px;
	border-bottom: 3px solid #01BBB4;
}

.property-description p {
	line-height: 1.8;
	color: #333333;
	margin-bottom: 1em;
}

/* ==================================================
   SIDEBAR
   ================================================== */

.sidebar-widget {
	background: #FAFAFA;
	padding: 25px;
	border-radius: 12px;
	margin-bottom: 25px;
}

.sidebar-widget h3 {
	font-size: 1.3em;
	color: #000000;
	margin: 0 0 15px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #01BBB4;
}

.sidebar-widget p {
	color: #666666;
	line-height: 1.6;
	margin-bottom: 15px;
}

/* Button */
.btn-primary {
	display: block;
	background: #01BBB4;
	color: #FFFFFF;
	text-align: center;
	padding: 12px 24px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: #FFFFFF;
	color: #01BBB4;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(1, 187, 180, 0.3);
}

/* Sidebar Properties */
.sidebar-property {
	margin-bottom: 15px;
}

.sidebar-property a {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

.sidebar-property a:hover {
	opacity: 0.8;
}

.sidebar-property img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.sidebar-property-info h4 {
	font-size: 0.95em;
	color: #000000;
	margin: 0 0 5px 0;
	font-weight: 600;
	line-height: 1.3;
}

.sidebar-price {
	font-size: 0.9em;
	color: #01BBB4;
	font-weight: 700;
	margin: 0;
}

/* Responsive Single Property */
@media screen and (max-width: 1024px) {
	.property-layout {
		flex-direction: column;
	}
	
	.property-main,
	.property-sidebar {
		flex: 1 1 100%;
		max-width: 100%;
	}
	
	.property-sidebar {
		position: static;
	}
}

@media screen and (max-width: 768px) {
	.property-header-content h1,
	.property-header h1 {
		font-size: 1.8em;
	}
	
	.property-price-display {
		font-size: 1.8em;
	}
	
	.property-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==================================================
   PAGINATION
   ================================================== */

.pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
}

.pagination a,
.pagination span {
	padding: 10px 16px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.pagination a {
	background: #FAFAFA;
	color: #000000;
}

.pagination a:hover {
	background: #01BBB4;
	color: #FFFFFF;
}

.pagination .current {
	background: #01BBB4;
	color: #FFFFFF;
}

/* ==================================================
   NO PROPERTIES FOUND
   ================================================== */

.no-properties-found {
	text-align: center;
	padding: 80px 20px;
	background: #FAFAFA;
	border-radius: 12px;
	margin: 40px 0;
}

.no-properties-icon {
	margin-bottom: 20px;
}

.no-properties-icon svg {
	color: #01BBB4;
	opacity: 0.3;
}

.no-properties-found h3 {
	font-size: 1.8em;
	color: #000000;
	margin: 0 0 15px 0;
	font-weight: 600;
}

.no-properties-found p {
	font-size: 1.1em;
	color: #666666;
	margin: 0;
}

.no-properties-found a {
	color: #01BBB4;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 2px solid transparent;
	transition: border-color 0.3s ease;
}

.no-properties-found a:hover {
	border-bottom-color: #01BBB4;
}

/* ==================================================
   UTILITIES
   ================================================== */

.text-teal {
	color: #01BBB4 !important;
}

.bg-teal {
	background: #01BBB4 !important;
}

.bg-light {
	background: #FAFAFA !important;
}