/**
 * Styles pour le footer MédiaCSE
 * /public/css/footer.css
 */

/* Section partenaires sponsors */
.partners {
	padding: 60px 0;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	text-align: center;
}

.partners h2 {
	color: #1a237e;
	font-size: 2.2em;
	margin-bottom: 40px;
	font-weight: 700;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 30px;
	align-items: center;
}

.partner-logo {
	background: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.partner-logo:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
	width: 100%;
	max-width: 120px;
	height: auto;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.partner-logo:hover img {
	opacity: 1;
}

/* Newsletter */
.newsletter {
	background: linear-gradient(135deg, #1a237e, #3949ab);
	color: white;
	padding: 60px 0;
	text-align: center;
}

.newsletter-content h2 {
	font-size: 2.2em;
	margin-bottom: 15px;
	font-weight: 700;
}

.newsletter-content p {
	font-size: 1.2em;
	margin-bottom: 30px;
	opacity: 0.9;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.newsletter-form {
	display: flex;
	max-width: 500px;
	margin: 0 auto;
	gap: 15px;
}

.newsletter-form input[type="email"] {
	flex: 1;
	padding: 15px 20px;
	border: none;
	border-radius: 25px;
	font-size: 1.1em;
	outline: none;
}

.newsletter-form button {
	background: #ff6b35;
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 25px;
	font-size: 1.1em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.newsletter-form button:hover {
	background: #e55a2b;
	transform: translateY(-2px);
}

/* Footer principal */
.footer {
	background: linear-gradient(135deg, #1a237e, #0d47a1);
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3 {
	color: #e3f2fd;
	font-size: 1.3em;
	margin-bottom: 20px;
	font-weight: 700;
}

.footer-section p {
	line-height: 1.6;
	margin-bottom: 15px;
	opacity: 0.9;
}

.footer-section a {
	color: #e3f2fd;
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
	transition: all 0.3s ease;
	opacity: 0.8;
}

.footer-section a:hover {
	opacity: 1;
	color: white;
	padding-left: 5px;
}

.footer-bottom {
	border-top: 1px solid rgba(227, 242, 253, 0.2);
	padding-top: 30px;
	text-align: center;
}

.footer-bottom p {
	opacity: 0.7;
	margin: 0;
}

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

@media (max-width: 768px) {
	.newsletter-form {
		flex-direction: column;
		max-width: 300px;
	}
	
	.newsletter-form input[type="email"],
	.newsletter-form button {
		border-radius: 8px;
	}
	
	.footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 25px;
	}
	
	.partners-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 20px;
		text-align: center;
	}
	
	.partners-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.newsletter {
		padding: 40px 0;
	}
	
	.newsletter-content h2 {
		font-size: 1.8em;
	}
	
	.newsletter-content p {
		font-size: 1.1em;
	}
	
	.partners {
		padding: 40px 0;
	}
	
	.partners h2 {
		font-size: 1.8em;
	}
}

/* Animations pour le footer */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.footer-section {
	animation: fadeInUp 0.6s ease;
}

.footer-section:nth-child(2) {
	animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
	animation-delay: 0.2s;
}

.footer-section:nth-child(4) {
	animation-delay: 0.3s;
}

.footer-section:nth-child(5) {
	animation-delay: 0.4s;
}

/* Effets de hover pour les liens footer */
.footer-section a {
	position: relative;
	overflow: hidden;
}

.footer-section a::before {
	content: '';
	position: absolute;
	left: -100%;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s;
}

.footer-section a:hover::before {
	left: 100%;
}

/* Style pour le lien de contact dans le footer */
.footer-contact-link {
	color: #e3f2fd !important;
}