/* ==========================================================================
   IvyPanda — footer.css
   Site footer + social media icon links.
   ========================================================================== */

/* ---------- Footer ---------- */
.site-footer {
	background: var(--color-header-bg);
	color: var(--color-muted);
	padding: var(--footer-padding, 50px) 0 24px;
}
.site-footer a { color: var(--color-header-text); }

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

/* ---------- 3-column layout: brand/contact, services, social ---------- */
.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding-bottom: 30px;
}

.footer-col-title {
	font-weight: 700;
	color: var(--color-header-text);
	margin: 0 0 14px;
	font-size: 1rem;
}

.footer-contact p {
	margin: 0 0 8px;
	font-size: 0.92rem;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.footer-links a {
	font-size: 0.92rem;
	text-decoration: none;
}
/* Underline only on hover — no color/background change, to match
   the header nav (a mint color-shift read poorly on this cream bg). */
.footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-col-social .social-links {
	margin: 0;
}

/* ---------- Social links ---------- */
.social-links {
	list-style: none;
	display: flex;
	gap: 14px;
	padding: 0;
	margin: 20px 0;
}
.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(35, 58, 52, 0.08);
	color: var(--color-header-text);
	text-decoration: none;
}
.social-icon {
	width: 18px;
	height: 18px;
}
.social-links a:hover {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

/* ---------- Bottom bar: copyright + footer menu, centered ---------- */
.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
	text-align: center;
}

.site-footer-copy {
	margin: 0;
	font-size: 0.9rem;
	color: var(--color-muted);
}

#footer-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 0;
	padding: 0;
}
#footer-menu a {
	font-size: 0.9rem;
	text-decoration: none;
}
#footer-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
	.footer-columns {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: left;
	}
}