/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Funtastic Run Landing Page Custom Styles */

.hero-gradient {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.event-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-badge {
	background: linear-gradient(45deg, #ff6b6b, #feca57);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
}

.step-number {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(45deg, #ff6b6b, #feca57);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.feature-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(45deg, #F5B340, #ED5B5F);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: white;
	font-size: 2rem;
}

/* Events Page Custom Styles */
.events-filter-card {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: none;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.events-filter-card .card-body {
	padding: 2rem;
}

.event-detail-card {
	border: none;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-detail-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.registration-sidebar {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: none;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.registration-sidebar .card-body {
	padding: 2rem;
}

.category-pricing-card {
	border: 2px solid #e9ecef;
	transition: all 0.3s ease;
}

.category-pricing-card:hover {
	border-color: #667eea;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.modal-content {
	border: none;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-bottom: none;
}

.modal-header .btn-close {
	filter: invert(1);
}

.participant-form-card {
	border: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.participant-form-card:hover {
	border-color: #667eea;
	box-shadow: 0 3px 10px rgba(102, 126, 234, 0.1);
}

/* Enhanced button styles */
.button-gradient {
	background: linear-gradient(45deg, #667eea, #764ba2);
	border: none;
	color: white;
	transition: all 0.3s ease;
}

.button-gradient:hover {
	background: linear-gradient(45deg, #5a6fd8, #6a4190);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Enhanced form styles */
.form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.bs-select .dropdown-toggle:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Gallery Section Styles */
.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 30px;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-image {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
}

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

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

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(245, 179, 64, 0.9) 0%, rgba(237, 91, 95, 0.9) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 15px;
}

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

.gallery-overlay-content {
	text-align: center;
	padding: 20px;
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay-content {
	transform: translateY(0);
}

.gallery-overlay-content h4 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.gallery-overlay-content p {
	font-size: 0.9rem;
	line-height: 1.4;
}

/* Gallery Grid Responsive */
@media (max-width: 768px) {
	.gallery-image img {
		height: 250px;
	}
	
	.gallery-overlay-content h4 {
		font-size: 1.1rem;
	}
	
	.gallery-overlay-content p {
		font-size: 0.85rem;
	}
}

/* Event Thumbnail Styles */
.event-thumbnail {
	position: relative;
	overflow: hidden;
	border-radius: 15px 15px 0 0;
	height: 200px;
}

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

.event-card:hover .event-thumbnail img {
	transform: scale(1.05);
}

.event-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(245, 179, 64, 0.8) 0%, rgba(237, 91, 95, 0.8) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.event-card:hover .event-overlay {
	opacity: 1;
}

.event-overlay .category-badge {
	background: rgba(255, 255, 255, 0.9);
	color: #333;
	font-weight: 600;
	font-size: 0.75rem;
	padding: 4px 8px;
	border-radius: 20px;
	margin: 0 2px;
}

/* Event Card Hover Effects */
.event-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Responsive Event Thumbnails */
@media (max-width: 768px) {
	.event-thumbnail {
		height: 180px;
	}
	
	.event-overlay .category-badge {
		font-size: 0.7rem;
		padding: 3px 6px;
	}
}

/* Registration Form Styles */
.form-control:focus {
	border-color: #F5B340;
	box-shadow: 0 0 0 0.2rem rgba(245, 179, 64, 0.25);
}

.form-check-input:checked {
	background-color: #F5B340;
	border-color: #F5B340;
}

.form-check-input:focus {
	border-color: #F5B340;
	box-shadow: 0 0 0 0.2rem rgba(245, 179, 64, 0.25);
}

.form-label {
	color: #333;
	font-weight: 600;
}

.text-danger {
	color: #ED5B5F !important;
}

.text-primary {
	color: #F5B340 !important;
}

/* Registration Card Styles */
.card.shadow-lg {
	border-radius: 20px;
	overflow: hidden;
}

.card.shadow-lg .card-body {
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

/* Registration Button Styles */
.button.button-dark {
	background: linear-gradient(135deg, #F5B340 0%, #ED5B5F 100%);
	border: none;
	transition: all 0.3s ease;
}

.button.button-dark:hover {
	background: linear-gradient(135deg, #ED5B5F 0%, #F5B340 100%);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(245, 179, 64, 0.4);
}

/* Form Group Spacing */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group:last-child {
	margin-bottom: 0;
}

/* Input Placeholder Styles */
.form-control::placeholder {
	color: #6c757d;
	opacity: 0.7;
}

/* Select Dropdown Styles */
select.form-control {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 12px;
}

/* Textarea Styles */
textarea.form-control {
	resize: vertical;
	min-height: 100px;
}

/* Checkbox and Radio Styles */
.form-check-input {
	width: 1.2em;
	height: 1.2em;
	margin-top: 0.1em;
}

.form-check-label {
	margin-left: 0.5rem;
	line-height: 1.4;
}

/* Link Styles */
a.text-primary {
	text-decoration: none;
	transition: color 0.3s ease;
}

a.text-primary:hover {
	color: #ED5B5F !important;
	text-decoration: underline;
}

/* Responsive Registration Form */
@media (max-width: 768px) {
	.card-body {
		padding: 2rem !important;
	}
	
	.form-group {
		margin-bottom: 1rem;
	}
	
	.button.button-large {
		padding: 12px 24px;
		font-size: 1rem;
	}
}

/* Login Modal Styles */
.modal-content {
	border-radius: 20px;
	overflow: hidden;
}

.modal-header {
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	padding: 2rem 2rem 2rem 2rem;
}

.modal-header .btn-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 10;
}

.modal-body {
	padding: 2rem;
}

.modal-title {
	color: #333;
	font-size: 1.5rem;
}

/* Password Toggle Button */
.input-group .btn-outline-secondary {
	border-color: #dee2e6;
	color: #6c757d;
	transition: all 0.3s ease;
}

.input-group .btn-outline-secondary:hover {
	background-color: #F5B340;
	border-color: #F5B340;
	color: white;
}

.input-group .btn-outline-secondary:focus {
	box-shadow: 0 0 0 0.2rem rgba(245, 179, 64, 0.25);
}

/* Login Form Focus States */
#loginForm .form-control:focus {
	border-color: #F5B340;
	box-shadow: 0 0 0 0.2rem rgba(245, 179, 64, 0.25);
}

/* Remember Me Checkbox */
#loginForm .form-check-input:checked {
	background-color: #F5B340;
	border-color: #F5B340;
}

#loginForm .form-check-input:focus {
	border-color: #F5B340;
	box-shadow: 0 0 0 0.2rem rgba(245, 179, 64, 0.25);
}

/* Forgot Password Link */
#loginForm a.text-primary {
	transition: color 0.3s ease;
}

#loginForm a.text-primary:hover {
	color: #ED5B5F !important;
}

/* Login Button Loading State */
#loginForm button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Modal Animation */
.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -50px);
}

.modal.show .modal-dialog {
	transform: none;
}

/* Responsive Login Modal */
@media (max-width: 576px) {
	.modal-dialog {
		margin: 1rem;
	}
	
	.modal-header {
		padding: 1.5rem 1.5rem 0 1.5rem;
	}
	
	.modal-body {
		padding: 1.5rem;
	}
	
	.modal-title {
		font-size: 1.25rem;
	}
}

/* Mobile responsive logo styles */
@media (max-width: 768px) {
	#logo {
		flex: 1;
		min-width: 0;
	}
	
	#logo a {
		display: block;
		width: 100%;
		height: 100%;
	}
	
	#logo img.logo-default {
		width: 100% !important;
		max-width: none !important;
		height: auto;
		object-fit: contain;
		display: block;
	}
}

/* Ensure logo container has proper sizing */
#logo {
	display: flex;
	align-items: center;
}

#logo a {
	display: flex;
	align-items: center;
}

/* Footer logo mobile responsive styles */
@media (max-width: 768px) {
	footer .widget .d-flex img {
		width: 100% !important;
		max-width: none !important;
		height: auto;
		object-fit: contain;
		display: block;
	}
	
	footer .widget .d-flex {
		width: 100%;
	}
}

/* Ensure footer logo container has proper sizing */
footer .widget .d-flex {
	display: flex;
	align-items: center;
}

/* Mobile responsive arrow button styles */
@media (max-width: 768px) {
	/* Make arrow button taller on mobile */
	.flex-shrink-0.d-flex.align-items-center.justify-content-center a {
		min-height: 80px !important;
	}
	
	/* Make arrow icon larger on mobile */
	.flex-shrink-0.d-flex.align-items-center.justify-content-center i.bi-arrow-right-circle-fill {
		font-size: 3rem !important;
	}
}

@media (max-width: 576px) {
	/* Even taller on very small screens */
	.flex-shrink-0.d-flex.align-items-center.justify-content-center a {
		min-height: 100px !important;
	}
	
	.flex-shrink-0.d-flex.align-items-center.justify-content-center i.bi-arrow-right-circle-fill {
		font-size: 3.7rem !important;
	}
}
