/**
 * Footer Styles for Errand Theme
 */

/* =============================================================================
   Footer Layout
   ============================================================================= */

.site-footer {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-top: 1px solid var(--border-light);
	padding: 4rem 0 2rem;
	margin-top: 4rem;
	position: relative;
}

.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-section {
	padding: 0;
}

.footer-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	letter-spacing: -0.025em;
	position: relative;
}

.footer-title::after {
	content: '';
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: 2px;
}

.footer-subtitle {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1.25rem;
	letter-spacing: -0.015em;
}

.footer-description {
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 0;
	font-size: 0.95rem;
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 0.75rem;
}

.footer-menu a {
	color: var(--text-secondary) !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	font-weight: 500;
	display: inline-block;
	position: relative;
}

.footer-menu a::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: width 0.3s ease;
}

.footer-menu a:hover {
	color: var(--primary-color) !important;
	transform: translateX(4px);
}

.footer-menu a:hover::before {
	width: 100%;
}

.footer-contact-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
    margin-bottom: 0px !important;
	color: var(--text-secondary);
	font-size: 0.95rem;
}

.footer-contact-item i {
	color: var(--primary-color);
	font-size: 1.125rem;
	width: 20px;
	flex-shrink: 0;
}

.footer-contact-item a {
	color: var(--text-secondary) !important;
	text-decoration: none !important;
	transition: color 0.3s ease !important;
}

.footer-contact-item a:hover {
	color: var(--primary-color) !important;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2rem;
	border-top: 1px solid var(--border-light);
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-copyright,
.footer-credits {
	margin: 0;
}

.footer-copyright p,
.footer-credits p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.875rem;
	line-height: 1.4;
}

.footer-credits a {
	color: var(--text-muted) !important;
	text-decoration: none !important;
	transition: color 0.3s ease !important;
}

.footer-credits a:hover {
	color: var(--primary-color) !important;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
	.site-footer {
		padding: 3rem 0 1.5rem;
		margin-top: 3rem;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		margin-bottom: 2.5rem;
	}
	
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}
	
	.footer-title {
		font-size: 1.375rem;
	}
	
	.footer-subtitle {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 2.5rem 0 1.25rem;
		margin-top: 2.5rem;
	}
	
	.footer-content {
		gap: 2rem;
		margin-bottom: 2rem;
	}
	
	.footer-title {
		font-size: 1.25rem;
	}
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
	.site-footer {
		display: none !important;
	}
}
