/* Sticky Availability Banner - Bottom */
.sticky-availability-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 998;
	background: linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 100%);
	border-top: 2px solid #fc0;
	box-shadow: 0 -4px 20px rgba(255, 204, 0, 0.3);
	padding: 12px 0;
	overflow: hidden;
	white-space: nowrap;
	animation: banner-glow 3s ease-in-out infinite;
}

@keyframes banner-glow {
	0%,
	100% {
		box-shadow: 0 -4px 20px rgba(255, 204, 0, 0.3);
		border-top-color: #fc0;
	}

	50% {
		box-shadow: 0 -4px 30px rgba(255, 204, 0, 0.6);
		border-top-color: #ffd700;
	}
}

.sticky-availability-banner .scrolling-wrapper {
	display: flex;
	align-items: center;
	gap: 50px;
	width: max-content;
	animation: scroll-text 30s linear infinite;
	will-change: transform;
}

.sticky-availability-banner .scrolling-wrapper:hover {
	animation-play-state: paused;
}

@keyframes scroll-text {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-100% / 3));
	}
}

/* Ensure seamless loop - duplicate content for true infinite scroll */
.sticky-availability-banner .scrolling-wrapper::before,
.sticky-availability-banner .scrolling-wrapper::after {
	content: "";
	display: none;
}

.sticky-availability-banner .availability-text {
	background: linear-gradient(90deg, #fc0 0%, #ffd700 50%, #fc0 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	animation:
		text-shimmer 3s linear infinite,
		text-glow 2s ease-in-out infinite;
	filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.8));
}

@keyframes text-shimmer {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

@keyframes text-glow {
	0%,
	100% {
		filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.8));
	}

	50% {
		filter: drop-shadow(0 0 15px rgba(255, 204, 0, 1));
	}
}

.sticky-availability-banner .pulse-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #fc0;
	border-radius: 50%;
	animation:
		pulse-dot 2s infinite,
		dot-glow 2s ease-in-out infinite;
	box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}

@keyframes dot-glow {
	0%,
	100% {
		box-shadow:
			0 0 10px rgba(255, 204, 0, 0.8),
			0 0 20px rgba(255, 204, 0, 0.4);
	}

	50% {
		box-shadow:
			0 0 15px rgba(255, 204, 0, 1),
			0 0 30px rgba(255, 204, 0, 0.6);
	}
}

@keyframes pulse-dot {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.6;
		transform: scale(1.2);
	}
}

@media (max-width: 1199px) {
	.availability-badge-header {
		display: none;
	}
}

@media (max-width: 767px) {
	.sticky-availability-banner {
		padding: 10px 0;
	}

	.sticky-availability-banner .availability-text {
		font-size: 12px;
		letter-spacing: 0.5px;
		gap: 8px;
	}

	.sticky-availability-banner .pulse-dot {
		width: 6px;
		height: 6px;
	}

	.sticky-availability-banner .scrolling-wrapper {
		gap: 20px;
	}
}

/* Add padding to body to prevent content from being hidden behind sticky banner */
body {
	padding-bottom: 60px;
}

@media (max-width: 575px) {
	body {
		padding-bottom: 55px;
	}

	.availability-badge {
		font-size: 11px;
		padding: 6px 12px;
	}

	.sticky-availability-banner .availability-text {
		font-size: 11px;
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* Left-aligned hero banner info - for airport-service page */
.box-banner-homepage-2 .box-banner-info-left {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	left: 60px !important;
	right: auto !important;
	max-width: calc(50% - 100px) !important;
	z-index: 5 !important;
	padding: 0 20px !important;
	text-align: left !important;
	box-sizing: border-box !important;
}

.box-banner-homepage-2 .box-banner-info-left h2,
.box-banner-homepage-2 .box-banner-info-left h1 {
	margin-bottom: 20px !important;
	line-height: 1.2 !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
	text-align: left !important;
}

/* Hero pricing text styling */
.box-banner-homepage-2 .box-banner-info-left .hero-pricing {
	color: #fc0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	margin-top: 15px !important;
	margin-bottom: 25px !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
	letter-spacing: 0.5px !important;
	text-align: left !important;
}

@media (min-width: 992px) {
	.box-banner-homepage-2 .box-banner-info-left .hero-pricing {
		font-size: 20px !important;
		margin-top: 20px !important;
		margin-bottom: 30px !important;
	}
}

@media (min-width: 1200px) {
	.box-banner-homepage-2 .box-banner-info-left .hero-pricing {
		font-size: 22px !important;
	}
}

@media (max-width: 575px) {
	.box-banner-homepage-2 .box-banner-info-left .hero-pricing {
		font-size: 16px !important;
		margin-top: 12px !important;
		margin-bottom: 20px !important;
	}
}

/* Smaller text for drop off charges */
.box-banner-homepage-2 .box-banner-info-left .hero-pricing .pricing-small {
	font-size: 0.75em !important;
	font-weight: 500 !important;
	color: #ffffff !important;
	opacity: 0.9 !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

@media (min-width: 992px) {
	.box-banner-homepage-2 .box-banner-info-left .hero-pricing .pricing-small {
		font-size: 0.7em !important;
	}
}

@media (min-width: 992px) {
	.box-banner-homepage-2 .box-banner-info-left {
		left: 50px !important;
		max-width: calc(50% - 100px) !important;
	}
}

@media (min-width: 1200px) {
	.box-banner-homepage-2 .box-banner-info-left {
		left: 60px !important;
		max-width: calc(55% - 120px) !important;
	}
}

@media (min-width: 1400px) {
	.box-banner-homepage-2 .box-banner-info-left {
		left: 80px !important;
		max-width: calc(58% - 160px) !important;
		padding: 0 30px !important;
	}
}

@media (min-width: 1600px) {
	.box-banner-homepage-2 .box-banner-info-left {
		left: 100px !important;
		max-width: calc(60% - 200px) !important;
	}
}

/* Mobile responsive for left-aligned banner */
@media (max-width: 991px) {
	.box-banner-homepage-2 .box-banner-info-left {
		order: 1 !important;
		position: relative !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		transform: none !important;
		margin: 40px auto 20px !important;
		max-width: calc(100% - 40px) !important;
		padding: 25px 20px !important;
		text-align: center !important;
		width: 100% !important;
		z-index: 10 !important;
		box-sizing: border-box !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.box-banner-homepage-2 .box-banner-info-left {
		max-width: calc(100% - 60px) !important;
		padding: 30px 25px !important;
	}
}

@media (max-width: 575px) {
	.box-banner-homepage-2 .box-banner-info-left {
		order: 1 !important;
		padding: 20px 15px !important;
		margin: 30px auto 15px !important;
		max-width: calc(100% - 30px) !important;
		box-sizing: border-box !important;
		text-align: center !important;
	}

	.box-banner-homepage-2 .box-banner-info-left h2,
	.box-banner-homepage-2 .box-banner-info-left h1 {
		font-size: 32px !important;
		line-height: 1.3 !important;
		margin-bottom: 15px !important;
		word-wrap: break-word !important;
		overflow-wrap: break-word !important;
		text-align: center !important;
	}

	.box-banner-homepage-2 .box-banner-info-left .hero-pricing {
		text-align: center !important;
	}

	.box-banner-homepage-2 .box-banner-info-left .hero-pricing .pricing-small {
		display: block !important;
		margin-top: 5px !important;
	}
}

@media (max-width: 400px) {
	.box-banner-homepage-2 .box-banner-info-left {
		max-width: calc(100% - 20px) !important;
		padding: 15px 10px !important;
	}
}

/* Centered hero banner info - for pages requiring centered banner text */
.box-banner-homepage-2 .box-banner-info-center {
	position: absolute !important;
	top: 25% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	max-width: 800px !important;
	width: 100% !important;
	text-align: center !important;
	z-index: 5 !important;
	padding: 0 20px !important;
	box-sizing: border-box !important;
}

.box-banner-homepage-2 .box-banner-info-center h1,
.box-banner-homepage-2 .box-banner-info-center h2 {
	text-align: center !important;
	margin-bottom: 20px !important;
}

.box-banner-homepage-2 .box-banner-info-center p {
	text-align: center !important;
}

@media (max-width: 768px) {
	.box-banner-homepage-2 .box-banner-info-center {
		max-width: 90% !important;
		padding: 0 15px !important;
		top: 45% !important;
	}

	.box-banner-homepage-2 .box-banner-info-center h1 {
		font-size: 2rem !important;
		line-height: 1.1 !important;
	}

	.box-banner-homepage-2 .box-banner-info-center h2 {
		font-size: 1.5rem !important;
		margin-top: 15px !important;
	}

	.box-banner-homepage-2 .box-banner-info-center p {
		font-size: 1rem !important;
		margin-top: 15px !important;
	}
}

@media (max-width: 576px) {
	.box-banner-homepage-2 .box-banner-info-center {
		max-width: 95% !important;
		padding: 0 10px !important;
		top: 50% !important;
	}

	.box-banner-homepage-2 .box-banner-info-center h1 {
		font-size: 1.5rem !important;
		line-height: 1.1 !important;
	}

	.box-banner-homepage-2 .box-banner-info-center h2 {
		font-size: 1.2rem !important;
		margin-top: 12px !important;
	}

	.box-banner-homepage-2 .box-banner-info-center p {
		font-size: 0.9rem !important;
		margin-top: 12px !important;
		line-height: 1.4 !important;
	}
}

@media (max-width: 480px) {
	.box-banner-homepage-2 .box-banner-info-center {
		max-width: 98% !important;
		padding: 0 8px !important;
	}

	.box-banner-homepage-2 .box-banner-info-center h1 {
		font-size: 1.3rem !important;
	}

	.box-banner-homepage-2 .box-banner-info-center h2 {
		font-size: 1.1rem !important;
	}

	.box-banner-homepage-2 .box-banner-info-center p {
		font-size: 0.85rem !important;
	}
}
