/* Holiday Parks Directory Styles */

.hps-directory {
	margin: 30px 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Search and Filters */
.hps-search-filters {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 30px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hps-filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: flex-end;
}

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

.hps-search-input,
.hps-filter-select {
	width: 100%;
	padding: 12px 15px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	transition: box-shadow 0.3s ease;
}

.hps-search-input:focus,
.hps-filter-select:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.hps-filter-btn {
	background: #fff;
	color: #667eea;
	border: none;
	padding: 12px 30px;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	white-space: nowrap;
}

.hps-filter-btn:hover {
	background: #f0f0f0;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Parks Grid */
.hps-parks-grid {
	display: grid;
	gap: 25px;
	margin-bottom: 30px;
}

.hps-parks-grid[data-columns="1"] {
	grid-template-columns: 1fr;
}

.hps-parks-grid[data-columns="2"] {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.hps-parks-grid[data-columns="3"] {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.hps-parks-grid[data-columns="4"] {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Park Card */
.hps-park-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 25px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hps-park-card:hover {
	border-color: #667eea;
	box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15);
	transform: translateY(-4px);
}

.hps-park-header {
	margin-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 12px;
}

.hps-park-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	line-height: 1.3;
}

.hps-park-location {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
}

.hps-park-location .dashicon {
	font-size: 16px;
}

/* Amenities */
.hps-park-amenities {
	margin-bottom: 15px;
}

.hps-park-amenities strong {
	display: block;
	color: #333;
	margin-bottom: 8px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.8;
}

.hps-amenity-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hps-amenity-tag {
	background: #f0f4ff;
	color: #667eea;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	border: 1px solid #e0e8ff;
	transition: all 0.2s ease;
}

.hps-amenity-tag:hover {
	background: #667eea;
	color: #fff;
	border-color: #667eea;
}

/* Contact Info */
.hps-park-contact {
	margin-bottom: 15px;
	flex-grow: 1;
}

.hps-contact-item {
	margin-bottom: 10px;
}

.hps-phone,
.hps-email {
	color: #667eea;
	text-decoration: none;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.2s ease;
}

.hps-phone:hover,
.hps-email:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* Actions */
.hps-park-actions {
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid #f0f0f0;
}

.hps-visit-btn {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
	width: 100%;
	text-align: center;
	border: none;
}

.hps-visit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
	color: #fff;
	text-decoration: none;
}

/* No Results */
.hps-no-results {
	text-align: center;
	padding: 60px 20px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 2px dashed #e0e0e0;
}

.hps-no-results p {
	color: #666;
	font-size: 16px;
	margin: 0;
}

/* Pagination */
.hps-pagination {
	text-align: center;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.hps-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 5px;
	flex-wrap: wrap;
}

.hps-pagination li {
	margin: 0;
}

.hps-pagination a,
.hps-pagination span {
	padding: 8px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	text-decoration: none;
	color: #667eea;
	font-weight: 500;
	transition: all 0.2s ease;
	display: block;
}

.hps-pagination a:hover {
	background: #667eea;
	color: #fff;
	border-color: #667eea;
}

.hps-pagination .page-numbers.current {
	background: #667eea;
	color: #fff;
	border-color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
	.hps-search-filters {
		padding: 20px;
	}

	.hps-filter-form {
		gap: 10px;
	}

	.hps-filter-group {
		min-width: 100%;
		flex: 1 1 100%;
	}

	.hps-filter-btn {
		width: 100%;
	}

	.hps-parks-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.hps-park-card {
		padding: 15px;
	}

	.hps-park-title {
		font-size: 16px;
	}

	.hps-amenity-tags {
		gap: 6px;
	}

	.hps-amenity-tag {
		font-size: 11px;
		padding: 4px 10px;
	}
}

@media (max-width: 480px) {
	.hps-directory {
		margin: 15px 0;
	}

	.hps-search-filters {
		padding: 15px;
	}

	.hps-filter-form {
		flex-direction: column;
	}

	.hps-filter-btn {
		width: 100%;
	}

	.hps-park-card {
		padding: 12px;
	}

	.hps-park-title {
		font-size: 15px;
	}

	.hps-visit-btn {
		padding: 8px 15px;
		font-size: 13px;
	}

	.hps-pagination ul {
		gap: 3px;
	}

	.hps-pagination a,
	.hps-pagination span {
		padding: 6px 10px;
		font-size: 12px;
	}
}
