/* ==========================================================================
   MAI Events Child Theme - Custom Footer
   ========================================================================== */

.site-footer {
	color: var(--color-text-muted);
	padding: 5rem 4rem 2rem;
	border-top: 1px solid var(--color-border);
	position: relative;
	z-index: 10;
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
	gap: 4rem;
	margin-bottom: 4rem;
}

/* Brand Column */
.footer-brand .footer-logo img {
	height: 50px;
	width: auto;
	margin-bottom: 1.5rem;
}

.footer-brand p {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-border);
	color: #ffffff;
	font-size: 1.1rem;
	transition: var(--transition-smooth);
}

.social-links a:hover {
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	border-color: transparent;
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.social-links a svg {
	width: 18px;
	height: 18px;
	fill: #ffffff;
	transition: fill 0.3s ease;
}

.social-links a:hover svg {
	fill: #ffffff;
}

/* Links & Services Column */
.footer-col h4 {
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 1.8rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.footer-col h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: var(--color-primary);
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 1rem;
}

.footer-col ul a {
	font-size: 0.95rem;
	color: var(--color-text-muted);
}

.footer-col ul a:hover {
	color: #ffffff;
	padding-left: 5px;
}

/* More Services Toggle Styles */
.footer-services-col .hidden-service {
	display: none !important;
}

.footer-services-col.show-all .hidden-service {
	display: block !important;
}

.footer-services-col.show-all .more-services-btn-wrapper {
	display: none !important;
}

.more-services-trigger {
	color: #0ea5e9 !important;
	font-weight: 500;
	cursor: pointer;
	text-decoration: underline !important;
	transition: var(--transition-fast) !important;
}

.more-services-trigger:hover {
	color: #38bdf8 !important;
	padding-left: 0 !important; /* Prevent slide-in padding hover effect */
}

/* Contact Column */
.contact-info li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.2rem;
	font-size: 0.95rem;
}

.contact-info i {
	color: var(--color-primary);
	font-size: 1.1rem;
	margin-top: 0.2rem;
}

.contact-info a:hover {
	color: #ffffff;
}

/* Bottom Copyright Bar */
.footer-bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.85rem;
}

.footer-bottom > p {
	flex: 1;
	margin: 0;
	text-align: left;
	white-space: nowrap;
}

/* Centered & Smaller Social Links in Footer Bottom */
.footer-bottom .footer-social-links {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	flex-wrap: nowrap;
}

.footer-bottom .footer-social-links a {
	width: 32px;
	height: 32px;
	font-size: 0.9rem;
	flex-shrink: 0;
}

.footer-bottom .footer-social-links a svg {
	width: 14px;
	height: 14px;
	display: block;
}

.footer-bottom-links {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 2rem;
	white-space: nowrap;
}

.footer-bottom-links a:hover {
	color: #ffffff;
}

/* Responsive Grid */
@media (max-width: 1024px) {
	.site-footer {
		padding: 4rem 2rem 2rem !important;
	}

	.footer-container {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding: 3rem 1.5rem 1.5rem !important;
	}

	.footer-container {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	
	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
}
