/* Agenda Hero - "Stage Lights" Theme */
#agendaHero {
	position: relative;
	height: 400px;
	width: 100%;
	/* Layered background: Brand spotlight + Dark fog + Logo texture */
	background:
		radial-gradient(circle at 50% 0%, rgba(96, 125, 139, 0.4) 0%, rgba(17, 17, 17, 0) 70%),
		linear-gradient(180deg, rgba(17, 17, 17, 0.3) 0%, #111 100%),
		url('/imgs/metal_stage_hero_1771358892651.webp') bottom/cover fixed;
	background-color: #0d1012;
	/* Fallback dark */
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
	overflow: hidden;
}

#agendaHeroOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.4) 0%, #111 95%);
	pointer-events: none;
}

#agendaHeroContent {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 90%;
	max-width: 800px;
}

#agendaHeroContent h1 {
	font-size: 4rem;
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: -1px;
	margin-bottom: 10px;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

#agendaHeroContent p {
	color: #aaa;
	font-size: 1.2rem;
}

#agendaMainContent {
	width: 95%;
	max-width: 1400px;
	margin: 0 auto 100px;
	gap: 40px;
	align-items: flex-start;
}

#agendaWrapper {
	flex: 1;
}

#mainSearchArea {
	margin-bottom: 30px;
}

.prominentSearchField {
	background: rgba(40, 40, 40, 0.6);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 15px 30px;
	align-items: center;
	gap: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
	transition: all 0.3s ease;
}

.prominentSearchField:focus-within {
	border-color: #607d8b;
	background: rgba(50, 50, 50, 0.8);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(96, 125, 139, 0.2);
	transform: translateY(-2px);
}

.prominentSearchField input {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 500;
	width: 100%;
	outline: none;
}

.prominentSearchField input::placeholder {
	color: #666;
}

#eventsList {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

/* Wide Cinematic Card */
.eventWideCard {
	display: flex;
	background: rgba(30, 30, 30, 0.7);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.eventWideCard:hover {
	transform: translateX(10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
	border-color: rgba(96, 125, 139, 0.4);
}

/* Past Events Styling */
.eventWideCard.isPast {
	opacity: 0.5;
	filter: grayscale(0.8);
	border-color: rgba(255, 255, 255, 0.05);
	pointer-events: auto;
	/* Still allow interaction */
}

.eventWideCard.isPast:hover {
	opacity: 0.8;
	filter: grayscale(0.3);
}

.eventWideCard.highlighted-event {
	border-color: #607d8b !important;
	animation: pulse-highlight 2s infinite ease-in-out;
	box-shadow: 0 0 20px rgba(96, 125, 139, 0.4);
}

@keyframes pulse-highlight {
	0% {
		transform: scale(1);
		box-shadow: 0 0 10px rgba(96, 125, 139, 0.4);
	}

	50% {
		transform: scale(1.02);
		box-shadow: 0 0 30px rgba(96, 125, 139, 0.6);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 10px rgba(96, 125, 139, 0.4);
	}
}

.eventWideCard.isPast .dateBadge {
	background: rgba(66, 66, 66, 0.9);
}

.eventWideCard.isPast .pastBadge {
	background: #c62828;
	/* Stronger red for past events */
	color: #fff;
	font-weight: 900;
	padding: 5px 12px;
	box-shadow: 0 0 10px rgba(198, 40, 40, 0.3);
}

.eventWideCard.isPast .ticketBtn {
	background: #424242;
	opacity: 0.6;
}

.eventPoster {
	width: 200px;
	min-width: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.dateBadge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(96, 125, 139, 0.95);
	color: #fff;
	padding: 8px 12px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	line-height: 1;
}

.dateBadge .day {
	font-size: 1.4rem;
	font-weight: 900;
}

.dateBadge .month {
	font-size: 0.7rem;
	text-transform: uppercase;
	font-weight: bold;
}

.dateBadge .year {
	font-size: 0.65rem;
	font-weight: 500;
	opacity: 0.8;
	margin-top: 2px;
}

.eventDetails {
	flex: 1;
	padding: 25px;
	justify-content: space-between;
}

.eventName {
	font-size: 1.6rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 5px 0;
}

.eventVenue {
	color: #aaa;
	gap: 5px;
	align-items: center;
	font-size: 0.9rem;
}

.eventPrice {
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	padding: 8px 15px;
	border-radius: 30px;
	margin-left: 10px;
}

.bandsSection {
	margin: 15px 0;
}

.bandsLabel {
	font-size: 0.8rem;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.bandsAtEvent {
	gap: 8px;
}

.bandLinkTag,
.bandTag {
	background: rgba(255, 255, 255, 0.05);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	color: #ccc;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.bandLinkTag:hover {
	background: rgba(96, 125, 139, 0.1);
	border-color: rgba(96, 125, 139, 0.3);
	color: #fff;
	transform: scale(1.05);
}

.eventActions {
	justify-content: space-between;
	align-items: center;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.socialLinks {
	gap: 15px;
}

.socialLinks a {
	opacity: 0.5;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.socialLinks a:hover {
	opacity: 1;
	transform: scale(1.1);
}

.ticketBtn {
	background: #607d8b;
	color: #fff;
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: bold;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(96, 125, 139, 0.2);
	width: 177px;
}

.ticketBtn:hover {
	background: #78909c;
	/* Slightly lighter shade of brand color for hover */
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(96, 125, 139, 0.4);
}

/* Past Badge */
.pastBadge {
	display: inline-block;
	background: #424242;
	color: #888;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: bold;
}

/* Status Badges */
.badgeWrapper {
	margin-bottom: 10px;
	align-items: center;
}

.statusBadge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.statusBadge.soldout {
	background: #ef6c00;
	color: #fff;
	box-shadow: 0 0 15px rgba(239, 108, 0, 0.3);
}

.statusBadge.cancelled {
	background: #c62828;
	color: #fff;
	box-shadow: 0 0 15px rgba(198, 40, 40, 0.3);
}

/* Filter Sidebar */
#filterSidebar {
	width: 350px;
	position: sticky;
	top: 100px;
}

.filterCard {
	background: rgba(30, 30, 30, 0.7);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.filterTitle {
	align-items: center;
	gap: 12px;
	margin-bottom: 25px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 15px;
}

.filterTitle h3 {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 1.1rem;
	color: #fff;
}

.filterSection {
	margin-bottom: 25px;
}

.sectionLabel {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: #666;
	letter-spacing: 1px;
	margin-bottom: 12px;
	font-weight: bold;
}

.searchField {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 30px;
	padding: 8px 15px;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	border: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.searchField:focus-within {
	border-color: rgba(96, 125, 139, 0.5);
}

.searchField input {
	background: transparent;
	border: none;
	color: #fff;
	width: 100%;
}

.searchField input:focus {
	outline: none;
}

.scrollFilterList {
	max-height: 150px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 5px;
}

.scrollFilterList::-webkit-scrollbar {
	width: 4px;
}

.scrollFilterList::-webkit-scrollbar-track {
	background: transparent;
}

.scrollFilterList::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

.filterItem {
	align-items: center;
	gap: 15px;
	padding: 8px 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 2px;
}

.filterItem:hover {
	transform: translateX(5px);
}

.filterItem:hover .itemName {
	color: #fff;
}

.filterCheckbox {
	display: none;
}

.customCheck {
	width: 22px;
	height: 22px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px; /* Slightly more rounded for a modern feel */
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.03);
}

.filterCheckbox:checked + .customCheck {
	background: #607d8b;
	border-color: #607d8b;
	box-shadow: 0 0 15px rgba(96, 125, 139, 0.3);
	transform: scale(1.1);
}

.filterCheckbox:checked + .customCheck:after {
	content: '';
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
	animation: checkScale 0.2s ease-out;
}

@keyframes checkScale {
	from { transform: scale(0) rotate(45deg); opacity: 0; }
	to { transform: scale(1) rotate(45deg); opacity: 1; }
}

.filterCheckbox:checked+.customCheck {
	background: #607d8b;
	border-color: #607d8b;
}

.filterCheckbox:checked+.customCheck:after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.itemName {
	font-size: 0.9rem;
	color: #aaa;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

.filterCheckbox:checked~.itemName {
	color: #fff;
	font-weight: 600;
}

.dateInputWrapper {
	gap: 10px;
}

.dateField {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	padding: 8px 15px;
	justify-content: space-between;
	align-items: center;
}

.dateField span {
	font-size: 0.8rem;
	color: #666;
}

.dateRange {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 0.85rem;
}

.dateRange::-webkit-calendar-picker-indicator {
	filter: invert(1);
}

.dateRange:focus {
	outline: none;
}

.priceInputWrapper {
	gap: 10px;
	align-items: center;
}

.priceInputWrapper input {
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	border: none;
	border-radius: 10px;
	padding: 10px;
	color: #fff;
	width: 50%;
}

.priceInputWrapper input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.1);
}

.eventHeader {
	align-items: baseline;
}

/* Mobile Responsiveness */
@media screen and (max-width: 1000px) {
	#agendaMainContent {
		flex-direction: column-reverse;
		padding-bottom: 100px;
	}

	#filterSidebar {
		width: 100%;
		position: static;
		margin-bottom: 40px;
	}

	.eventWideCard {
		border-radius: 16px;
	}

	.prominentSearchField {
		padding: 12px 20px;
		border-radius: 15px;
		gap: 15px;
	}

	.prominentSearchField input {
		font-size: 1.1rem;
	}

	.prominentSearchField img {
		height: 20px;
	}
}

@media screen and (max-width: 600px) {
	#agendaHeroContent h1 {
		font-size: 2.2rem;
	}

	.eventWideCard {
		flex-direction: column;
	}

	.eventPoster {
		width: 100%;
		height: 200px;
	}

	.eventName {
		font-size: 1.4rem;
	}

	.eventActions {
		flex-direction: column;
		gap: 20px;
		align-items: center;
	}

	.ticketBtn {
		width: 100%;
		justify-content: center;
	}
}
/* Custom Mobile Optimizations */
@media screen and (max-width: 1000px) {
.prominentSearchField {
padding: 12px 20px;
border-radius: 15px;
gap: 15px;
}

.prominentSearchField input {
font-size: 1.1rem;
}

.prominentSearchField img {
height: 20px;
}
}

@media screen and (max-width: 600px) {
#mainSearchArea {
margin-bottom: 20px;
}

.prominentSearchField {
padding: 10px 15px;
gap: 10px;
}

.prominentSearchField input {
font-size: 1rem;
}

.scrollFilterList {
max-height: 250px;
}

.filterItem {
padding: 12px 5px; /* Bigger touch target */
}
}

/* --- ACCORDION & COLLAPSIBLE SECTIONS --- */
.filterSection {
margin-bottom: 5px !important;
}

.filterHeader {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 5px;
cursor: pointer;
border-radius: 8px;
transition: background 0.3s ease;
}

.filterHeader:hover {
background: rgba(255, 255, 255, 0.03);
}

.filterHeader .sectionLabel {
margin-bottom: 0px !important;
}

.filterHeader .chevron {
transition: transform 0.3s ease;
opacity: 0.5;
}

.filterSection.active .chevron {
transform: rotate(180deg);
opacity: 1;
}

.collapsibleContent {
max-height: 0;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0;
padding: 0 5px;
}

.filterSection.active .collapsibleContent {
max-height: 800px;
opacity: 1;
padding: 10px 5px 20px 5px;
}

/* --- MOBILE DRAWER SYSTEM --- */
@media screen and (max-width: 1000px) {
#agendaMainContent {
flex-direction: column !important;
}

#filterSidebar {
position: fixed !important;
top: 0 !important;
right: -100% !important;
width: 320px !important;
height: 100vh !important;
z-index: 10000 !important;
transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
margin-bottom: 0 !important;
overflow-y: auto !important;
background: #111 !important;
box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8) !important;
display: block !important;
}

#filterSidebar.show-filters {
right: 0 !important;
}

.filterCard {
background: transparent !important;
box-shadow: none !important;
border: none !important;
padding: 30px 20px !important;
}

#sidebarHeader {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
margin-bottom: 30px !important;
}

	#mobileFilterToggle {
		display: flex !important;
		position: fixed !important;
		bottom: 100px !important;
		right: 25px !important;
		background: linear-gradient(135deg, #78909c 0%, #455a64 100%) !important;
		color: #fff !important;
		padding: 14px 28px !important;
		border-radius: 50px !important;
		gap: 12px !important;
		align-items: center !important;
		z-index: 11000 !important;
		box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(96, 125, 139, 0.4) !important;
		font-weight: 700 !important;
		cursor: pointer !important;
		border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
		animation: toggle-pulse 3s infinite ease-in-out !important;
		letter-spacing: 0.5px !important;
		transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
	}

	body.filters-open #mobileFilterToggle {
		display: none !important;
	}

	#mobileFilterToggle:active {
		transform: scale(0.9) !important;
	}

@keyframes toggle-pulse {
0% { box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(96, 125, 139, 0.6); }
70% { box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 0 15px rgba(96, 125, 139, 0); }
100% { box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(96, 125, 139, 0); }
}

.mobileOnly {
display: block !important;
}

#closeFilters {
cursor: pointer !important;
}

    .scrollFilterList {
        max-height: 40vh !important;
    }
}

#mobileFilterToggle {
display: none;
}

.mobileOnly {
display: none;
}
