/* =========================== STYLE CONTACT.PHP =========================== */
/* Header et footer fixés */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 250px; /* ajuster selon la hauteur réelle du header */
	z-index: 1000;
}

.site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px; /* ajuster selon la hauteur réelle du footer */
	z-index: 1000;
}

/* Main commence juste après le header et avant le footer */
main {
	padding: 10px 15px;
	overflow-y: auto;
}

/* Conteneur flex pour contact-info et map */
.container {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	max-width: 1200px;
	margin: auto;
}

/* Bloc contact-info */
.contact-info {
	flex: 1 1 35%;
	min-width: 280px;
}

/* Conteneur QR Codes alignés horizontalement */
.qr-codes {
	display: flex;
	gap: 80px; /* espace entre les QR Codes */
	justify-content: start; /* ou center pour centrer */
	flex-wrap: wrap; /* passe à la ligne sur petits écrans */
}

/* QR Code individuel */
.qr-code {
	text-align: center;
}

.qr-code img {
	max-width: 80px;
	max-height: 80px;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Texte sous chaque QR Code */
.qr-code p {
	margin: 5px 0 0 0;
	font-size: 0.9rem;
}

/* Bloc map */
.map-container {
	flex: 1 1 60%;
	min-width: 280px;
	height: 500px; /* hauteur par défaut sur PC */
}

/* ID map */
#map {
	width: 100%;
	height: 100%;
	background-color: #ddd;
	border-radius: 8px;
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
	.container {
		flex-direction: column;
	}

	.contact-info, .map-container {
		flex: 1 1 100%;
		min-width: auto;
	}

	/* Forcer hauteur sur mobile */
	.map-container {
		position: relative;
		height: 350px !important; /* toujours visible */
		width: 350px;
		margin-bottom: 120px; /* pour éviter chevauchement avec footer */
	}

	#map {
		min-height: 350px !important; /* évite 0x0 */
		min-width: 350px;
	}

	.qr-code img {
		max-width: 60px;
		max-height: 60px;
	}
}
