/* Journée d'Automne 2026 Besançon - Styles */

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Lato', Arial, sans-serif;
	background: #f5f5f5;
	color: #333;
}

#wrapper {
	max-width: 1400px;
	margin: 0 auto;
	background: #fff;
}

/* Hero Section */
#hero {
	width: 100%;
	max-height: 600px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	background: linear-gradient(135deg, #1a2a3a 0%, #2c4a6a 100%);
}

.hero-image {
	width: 100%;
	max-width: 800px;
	height: auto;
	display: block;
}

/* Sub Menu */
#sub-menu {
	display: flex;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
	color: #fff;
	padding: 20px;
}

#sub-menu #sub-left {
	flex: 1;
	min-width: 200px;
}

#sub-menu #sub-left h3 {
	margin: 0;
	font-family: 'Playfair Display', serif;
	font-size: 1.4em;
	line-height: 1.4;
}

#sub-menu #sub-left h3 span {
	color: #7eb8da;
	font-size: 0.85em;
}

#sub-menu #sub-mid,
#sub-menu #sub-right {
	flex: 1;
	min-width: 150px;
}

#sub-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 0.9em;
	line-height: 2;
	transition: color 0.3s;
}

#sub-menu a:hover {
	color: #7eb8da;
}

/* Content */
#content {
	text-align: center;
	padding: 50px 20px;
	background: linear-gradient(180deg, #fff 0%, #f0f4f8 100%);
}

#content h1 {
	font-family: 'Playfair Display', serif;
	font-size: 2.8em;
	color: #1a3a5c;
	margin: 0 0 10px 0;
}

#content h1 span {
	color: #2d5a87;
}

#content h2 {
	font-family: 'Lato', sans-serif;
	font-size: 1.5em;
	color: #4a6a8a;
	font-weight: 300;
	margin: 0 0 30px 0;
}

#content .lieu {
	font-size: 1.1em;
	color: #555;
	margin: 20px 0;
}

#content h4 {
	font-size: 1.2em;
	color: #333;
	font-weight: 400;
}

/* Text Panel / Sections */
#text-panel {
	padding: 20px;
	max-width: 1000px;
	margin: 0 auto;
}

.section {
	background: #fff;
	border-radius: 10px;
	padding: 40px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.section h2 {
	font-family: 'Playfair Display', serif;
	font-size: 1.8em;
	color: #1a3a5c;
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 3px solid #2d5a87;
}

.section p {
	font-size: 1.05em;
	line-height: 1.8;
	color: #444;
}

/* Info boxes */
.info-box {
	background: #f8f9fa;
	border-left: 4px solid #2d5a87;
	padding: 20px;
	margin: 20px 0;
	border-radius: 0 8px 8px 0;
}

.info-box h3 {
	margin: 0 0 10px 0;
	color: #1a3a5c;
	font-size: 1.2em;
}

.info-box p {
	margin: 0;
}

/* Contact box */
.contact-box {
	background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
	color: #fff;
	padding: 30px;
	border-radius: 10px;
	margin: 20px 0;
}

.contact-box p {
	color: #fff;
	margin: 10px 0;
}

.contact-box a {
	color: #7eb8da;
}

/* Download buttons */
.btn-download {
	display: inline-block;
	background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
	color: #fff;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	margin-top: 20px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.btn-download:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(26, 58, 92, 0.3);
}

/* Inscription section */
.inscription-section {
	background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
	border: 2px solid #2d5a87;
}

/* Partenaires */
#partenaires {
	margin-top: 40px;
}

#partenaires iframe {
	width: 100%;
	height: 200px;
	border: none;
}

.sponsors-link {
	text-align: center;
	padding: 15px;
	background: #f5f5f5;
}

.sponsors-link a {
	color: #2d5a87;
	text-decoration: none;
}

/* Social */
#social {
	display: flex;
	justify-content: center;
	gap: 15px;
	padding: 30px;
	background: #1a3a5c;
}

#social img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: transform 0.3s;
}

#social img:hover {
	transform: scale(1.1);
}

/* Back to top */
.back-to-top-link {
	position: fixed;
	bottom: 30px;
	right: 30px;
}

.back-to-top-link img {
	width: 50px;
	height: 50px;
}

/* Responsive */
@media (max-width: 768px) {
	#sub-menu {
		flex-direction: column;
		text-align: center;
	}
	
	#sub-menu #sub-left,
	#sub-menu #sub-mid,
	#sub-menu #sub-right {
		margin-bottom: 15px;
	}
	
	#content h1 {
		font-size: 2em;
	}
	
	#content h2 {
		font-size: 1.2em;
	}
	
	.section {
		padding: 25px;
	}
	
	.hero-image {
		max-width: 100%;
	}
}

