/* =================================================
	FOOTER STYLES - joom Theme
	All premium footer styles are consolidated here.
	================================================= */

/* Footer Container */
.site-footer {
	background: #0f172a; /* Premium Dark matching header */
	background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 60%);
	color: #94a3b8;
	padding: 0;
	margin-top: 0;
	border-top: none !important;
	position: relative;
	overflow: hidden;
}

.footer-premium-top-glow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--primary-color, #FA3434), transparent);
	opacity: 0.5;
}

.footer-premium-top-glow::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 300px;
	height: 100px;
	background: var(--primary-color, #FA3434);
	filter: blur(80px);
	opacity: 0.2;
	pointer-events: none;
}

.site-footer .container {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
	max-width: 100%;
}

/* Footer Content Wrapper */
.footer-content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 40px 24px;
}

/* Footer Grid Layout */
.footer-grid {
	display: grid;
	grid-template-columns: 180px 1fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 24px;
}

.footer-column {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-column-app {
	grid-column: 1;
}

.footer-column-1 { grid-column: 2; }
.footer-column-2 { grid-column: 3; }
.footer-column-3 { grid-column: 4; }
.footer-column-4 { grid-column: 5; }

/* Footer App Box */
.footer-app-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 16px 20px;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-app-box:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-4px);
}

.footer-app-title {
	font-size: 16px;
	font-weight: 700;
	color: #f8fafc;
	margin: 0;
	text-align: center;
	line-height: 1.2;
}

.footer-app-qr-container {
	max-width: 110px;
	aspect-ratio: 1;
	background: #ffffff;
	border-radius: 12px;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-app-qr-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.footer-app-caption {
	font-size: 13px;
	color: #94a3b8;
	text-align: center;
	margin: 0;
	line-height: 1.2;
}

.footer-app-stores {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.footer-store-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
}

.footer-store-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #FA3434;
	transform: translateY(-2px);
}

.footer-store-btn img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	display: block;
	transition: transform 0.2s ease;
}

.footer-store-btn:hover img {
	transform: scale(1.05);
}

/* Column Titles */
.footer-column .widget-title {
	font-size: 16px;
	font-weight: 700;
	color: #f8fafc;
	margin: 0 0 12px 0;
	padding: 0;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
}

/* Column Links */
.footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer-column ul li {
	margin: 0;
	padding: 0;
	line-height: 1.4;
}

.footer-column ul li a {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	transition: all 0.2s ease;
}

.footer-column ul li a:hover {
	color: #ffffff;
	transform: translateX(6px);
}

/* Text Content */
.footer-column p {
	margin: 0 0 12px 0;
	padding: 0;
	color: #94a3b8;
	font-size: 13.5px;
	line-height: 1.6;
}

.footer-column p:last-child {
	margin-bottom: 0;
}

/* Footer Divider */
.footer-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.05);
	margin: 0;
}

/* Footer Bottom */
.footer-bottom-wrapper {
	border-top: none;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-bottom-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-copyright {
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.6;
	flex: 1 1 auto;
}

.footer-copyright a {
	color: #f8fafc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-copyright a:hover {
	color: #FA3434;
}

.footer-copyright-text {
	font-size: 14px;
	color: #94a3b8;
	font-weight: 500;
}
.footer-copyright-text a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}
.footer-copyright-text a:hover {
	color: var(--primary-color, #FA3434);
}

/* Styling for footer social icons (All Devices) */
.footer-socials {
	display: flex;
	align-items: center;
	gap: 10px;
}
.footer-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	color: #f8fafc !important; /* Removes the black color */
	font-size: 15px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-social-icon:hover {
	background: var(--primary-color, #FA3434);
	color: #ffffff !important;
	border-color: var(--primary-color, #FA3434);
	transform: translateY(-3px);
}

.footer-payments {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.footer-payment-gateway img {
	height: 28px;
	width: auto;
	object-fit: contain;
	display: block;
	filter: opacity(0.9);
	transition: all 0.3s ease;
}

.footer-payment-gateway:hover img {
	filter: opacity(1);
}

/* =================================================
	RESPONSIVE FOOTER
	================================================= */

/* Tablet */
@media (max-width: 1023px) {
	.footer-content-wrapper {
		padding: 36px 24px 20px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		margin-bottom: 20px;
	}

	.footer-column-app,
	.footer-column-1,
	.footer-column-2,
	.footer-column-3,
	.footer-column-4 {
		grid-column: auto;
	}

	.footer-column-app {
		grid-column: 1 / -1;
	}

	.footer-app-box {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
	}

	.footer-bottom-content {
		padding: 0 24px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.footer-content-wrapper {
		padding: 28px 16px 16px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 16px;
		margin-bottom: 16px;
	}

	.footer-column-app {
		grid-column: 1 / -1;
	}

	.footer-column,
	.footer-column-1,
	.footer-column-2,
	.footer-column-3,
	.footer-column-4 {
		width: 100%;
		text-align: left;
		align-items: flex-start;
		grid-column: auto;
	}

	.footer-app-box {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-column .widget-title {
		font-size: 15px;
		margin-bottom: 8px;
	}

	.footer-column ul li a {
		font-size: 13px;
	}

	.footer-bottom-content {
		padding: 0 16px;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 14px;
	}

	.footer-socials {
		order: -1; /* Move socials to top on mobile bottom bar */
	}

	.footer-payments {
		justify-content: center;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.footer-column,
	.footer-column p,
	.footer-column li,
	.footer-column a {
		font-size: 13px;
		line-height: 1.45;
	}

	.footer-column .widget-title {
		font-size: 14px;
	}

	.footer-app-qr-container {
		max-width: 120px;
	}
}

/* =================================================
	FOOTER WIDGET CONTENT NORMALIZATION
	================================================= */

.footer-column .widget_text,
.footer-column .widget_custom_html {
	font-size: 14px;
	color: #94a3b8;
	line-height: 1.6;
}

.footer-column .widget_text p,
.footer-column .widget_custom_html p {
	margin-bottom: 1em;
}

.footer-column .widget_text ul,
.footer-column .widget_custom_html ul,
.footer-column .widget_text ol,
.footer-column .widget_custom_html ol {
	list-style: none; /* Keep this from theme */
	padding-left: 0; /* Reset padding */
	margin-bottom: 1em;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-column .widget_text ul li,
.footer-column .widget_custom_html ul li {
	padding-left: 1.2em;
	position: relative;
}

/* Add custom bullet points for UL */
.footer-column .widget_text ul li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: #FA3434; /* Use theme's primary color */
	font-weight: bold;
}

.footer-column .widget_text strong,
.footer-column .widget_custom_html strong {
	font-weight: 700;
	color: #f8fafc; /* Make bold text stand out more */
}

.footer-column .widget_text img,
.footer-column .widget_custom_html img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 1em;
}

/* Reset links (like emails) inside text widgets to appear inline and visible */
.footer-column .widget_text a,
.footer-column .widget_custom_html a,
.footer-column p a {
	display: inline !important;
	color: #f8fafc !important;
}

.footer-column .widget_text a:hover,
.footer-column .widget_custom_html a:hover,
.footer-column p a:hover {
	color: #FA3434 !important;
}
