/**
 * Property Listing Frontend Styles
 */

/* Main Container */
.pl-property-listing {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* Header Section */
.pl-property-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 30px;
	margin-bottom: 40px;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 8px;
}

.pl-header-left {
	flex: 1;
}

.pl-property-title {
	margin: 0 0 15px 0;
	font-size: 32px;
	font-weight: 700;
	color: #333;
}

.pl-property-address {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #666;
}

.pl-header-right {
	text-align: right;
}

.pl-property-cost {
	margin-bottom: 20px;
}

.pl-cost-label {
	display: block;
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
}

.pl-cost-amount {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: #2c3e50;
}

.pl-contact-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pl-contact-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pl-contact-link:hover {
	background: #2c3e50;
	color: #fff;
	border-color: #2c3e50;
}

.pl-icon {
	font-size: 18px;
}

/* Content Layout */
.pl-property-content {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 40px;
	margin-top: 30px;
}

.pl-property-main {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.pl-property-sidebar {
	position: sticky;
	top: 20px;
	height: fit-content;
}

/* Section Styles */
.pl-section {
	margin-bottom: 40px;
}

.pl-section-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 20px 0;
	color: #2c3e50;
	border-bottom: 2px solid #2c3e50;
	padding-bottom: 10px;
}

.pl-subsection-title {
	font-size: 20px;
	font-weight: 600;
	margin: 20px 0 15px 0;
	color: #333;
}

/* Apartment Details */
.pl-bhk-configs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.pl-bhk-item {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	text-align: center;
}

.pl-bhk-type {
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 10px;
}

.pl-bhk-rate {
	font-size: 16px;
	color: #27ae60;
	font-weight: 600;
}

.pl-property-summary {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.pl-summary-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.pl-label {
	font-size: 14px;
	color: #666;
}

.pl-value {
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
}

/* Floor Plans */
.pl-floor-plans-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.pl-floor-plan-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	background: #fff;
}

.pl-floor-plan-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 15px 0;
	color: #2c3e50;
}

.pl-floor-plan-image {
	margin-bottom: 15px;
}

.pl-floor-plan-image img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}

.pl-floor-plan-pricing {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

/* Amenities */
.pl-amenities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.pl-amenity-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	text-align: center;
	transition: transform 0.2s ease;
}

.pl-amenity-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pl-amenity-item.pl-amenity-hidden {
	display: none;
}

.pl-amenity-item.pl-amenity-visible {
	display: flex !important;
}

.pl-amenity-icon {
	margin-bottom: 10px;
}

.pl-amenity-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.pl-amenity-name {
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

.pl-amenities-more {
	text-align: center;
	margin-top: 20px;
}

.pl-show-more-btn {
	padding: 12px 30px;
	background: #2c3e50;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
}

.pl-show-more-btn:hover {
	background: #34495e;
}

/* Location & Nearby Attractions */
.pl-nearby-attractions {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.pl-nearby-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
}

.pl-nearby-icon {
	flex-shrink: 0;
}

.pl-nearby-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.pl-nearby-info {
	flex: 1;
}

.pl-nearby-name {
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 5px;
}

.pl-nearby-distance {
	font-size: 14px;
	color: #666;
}

/* Developer */
.pl-developer-info {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.pl-developer-logo {
	flex-shrink: 0;
}

.pl-developer-logo img {
	max-width: 120px;
	height: auto;
	border-radius: 5px;
}

.pl-developer-details {
	flex: 1;
}

.pl-developer-name {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #2c3e50;
}

.pl-developer-description {
	font-size: 14px;
	line-height: 1.8;
	color: #666;
}

/* Contact Form */
.pl-contact-form {
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
	.pl-property-content {
		grid-template-columns: 1fr;
	}

	.pl-property-sidebar {
		position: static;
	}

	.pl-property-header {
		flex-direction: column;
		text-align: left;
	}

	.pl-header-right {
		text-align: left;
		width: 100%;
	}

	.pl-contact-options {
		width: 100%;
	}

	.pl-bhk-configs {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}

	.pl-floor-plans-grid {
		grid-template-columns: 1fr;
	}

	.pl-amenities-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}

	.pl-nearby-attractions {
		grid-template-columns: 1fr;
	}

	.pl-developer-info {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 640px) {
	.pl-property-listing {
		padding: 10px;
	}

	.pl-property-title {
		font-size: 24px;
	}

	.pl-amenities-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pl-bhk-configs {
		grid-template-columns: 1fr;
	}
}

