/* Main Layout */
.page-header {
	color: white;
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header .container {
	max-width: 500px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.page-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: white;
	text-decoration: none;
	font-size: 24px;
	font-weight: bold;
}

.page-nav {
	display: flex;
	gap: 20px;
	align-items: center;
}

.page-nav a {
	color: white;
	text-decoration: none;
	font-size: 16px;
}

/* Hero Banner */
.hero-banner {
	background: linear-gradient(135deg, #4dc9e6 0%, #fefbf6 100%);
	padding: 150px 0;
	color: white;
	text-align: center;
	margin-top: 0 !important;    
	overflow: hidden;
}

.hero-title {
	font-size: 32px;
	margin-bottom: 10px;
	font-weight: bold;
}

.hero-subtitle {
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 30px;
}

/* Search Box */
.search-box-container {
	max-width: 600px;
	margin: 0 auto;
}

.search-form {
	display: flex;
	gap: 10px;
}

.search-input {
	flex: 1;
	padding: 15px 20px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
}

.search-btn {
	background: #64b5f7;
	color: #fefefe;
	padding: 15px 40px;
	border: 2px solid #64b5f7;
	border-radius: 6px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;

	&:hover {
		color: #fefefe;
		background: #9ec8ea;
	}

	@media (max-width: 768px) {
		width: 100%;
	}
}

/* Filters */
.filters-section {
	background: #f5f5f5;
	padding: 20px 0;
	border-bottom: 1px solid #e0e0e0;
}

.filters-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.filter-select {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: white;
	font-size: 14px;
	cursor: pointer;
}

.filter-tag {
	background: #0288d1;
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Main Content */
.main-content {
	max-width: 1200px;
	margin: 30px auto;
	padding: 0 20px;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}

.section-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 15px;
}

/* Venues Grid */
.venues-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
	margin-bottom: 45px;
}

/* Venue Card */
.venue-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.venue-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* Venue Image */
.venue-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	background: #f0f0f0;
}

/* Content */
.venue-content {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Name */
.venue-name {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin-bottom: 6px;
	line-height: 1.3;
}

/* Description */
.venue-description {
	font-size: 14px;
	color: #555;
	line-height: 1.55;
	margin-bottom: 14px;
	flex-grow: 1;
}

/* Meta Section */
.venue-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}

.venue-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #f4a100;
	font-size: 14px;
	font-weight: 600;
}

.venue-price {
	color: #444;
	font-weight: 600;
	font-size: 14px;
}

/* Tags */
.venue-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.venue-tag {
	padding: 5px 11px;
	font-size: 12px;
	border-radius: 16px;
	background: #e7f3ff;
	color: #0277bd;
	font-weight: 500;
	transition: background 0.2s ease;
}

.venue-tag:hover {
	background: #d2e9ff;
}

/* Routes */
/* Routes Grid */
.routes-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
	margin-bottom: 40px;
}

/* Route Card */
.route-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	padding: 22px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	cursor: pointer;
}

.route-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

/* Header */
.route-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 14px;
}

.route-title {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin-bottom: 3px;
}

.route-author {
	font-size: 13px;
	color: #777;
}

.routes-title {
	font-size: 32px;
	font-weight: 700;
}

.btn-create {
	padding: 60px 20px;
	color: white;
	text-align: center;
}

.btn-create-route-large {
	background: #4dc9e6;
	color: white;
	padding: 14px 32px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px #088391;
	border: none;
	cursor: pointer;
	text-align: center;
}

.btn-create-route-large:hover {
	background: #09c2d7;
	transform: translateY(-3px);
	box-shadow: #06b6d4;
}

.btn-create-route-large::before {
	font-size: 20px;
}

/* Stats */
.route-stats {
	display: flex;
	gap: 12px;
	font-size: 14px;
	color: #555;
}

/* Description */
.route-description {
	color: #555;
	line-height: 1.7;
	font-size: 14px;
	margin-bottom: 18px;
}

/* Meta Info */
.route-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 14px;
	color: #444;
	margin-bottom: 18px;
}

/* Difficulty Badge */
.route-badge {
	padding: 4px 12px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
}

.badge-easy {
	background: #e3fceb;
	color: #2e7d32;
}

.badge-moderate {
	background: #fff3cd;
	color: #b8860b;
}

.badge-hard {
	background: #fdecea;
	color: #c62828;
}

/* Venues Preview */
.route-venues-preview {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.venue-preview-tag {
	background: #e3f2fd;
	color: #0277bd;
	padding: 4px 9px;
	font-size: 12px;
	border-radius: 10px;
}

/* Footer */
.route-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.route-actions {
	display: flex;
	gap: 10px;
}

.route-action-btn {
	background: #f7f7f7;
	border: none;
	padding: 7px 14px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
	transition: background 0.2s;
}

.route-action-btn:hover {
	background: #eaeaea;
}

.view-route-btn {
	padding: 8px 16px;
	font-size: 14px;
	background: #2296f3;
	color: white;
	border-radius: 8px;
	text-decoration: none;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	margin: 40px 0;
}

/* ===================================================================
   Search Form
   =================================================================== */

.search-form {
	width: 100%;
}

.search-filters {
	display: flex;
	gap: 15px;
	margin-top: 15px;
	flex-wrap: wrap;
	justify-content: center;
}

.filter-select,
.filter-input {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	background: white;
	transition: border-color 0.3s;
}

.filter-select {
	min-width: 150px;
}

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

.filter-select:focus,
.filter-input:focus {
	outline: none;
	border-color: #0288d1;
}

/* Tag badges */
.route-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.tag-badge {
	background: #e3f2fd;
	color: #1976d2;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: 80px 20px;
	color: #999;
}

@media (max-width: 768px) {
	.search-filters {
		flex-direction: column;
	}

	.filter-select,
	.filter-input {
		width: 100%;
	}
}
