/* ============================================================
   shared.css — common page styles used by every page
   Included alongside nav.css on every page.
   ============================================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--dark-text);
	background-color: var(--light-bg);
}

main {
	max-width: 1440px;
	margin: 0 auto;
}

section {
	padding: 4rem 2rem;
}

/* ── Footer ── */
footer {
	background-color: var(--primary-color);
	color: white;
	padding: 3rem 2rem;
	margin-top: 3rem;
}

.footer-content {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.footer-section p {
	margin-bottom: 0.5rem;
	opacity: 0.9;
}

/* ── Shared buttons ── */
.btn {
	display: inline-block;
	padding: 0.85rem 2rem;
	background-color: var(--primary-color);
	color: white;
	text-decoration: none;
	border: 2px solid var(--primary-color);
	border-radius: 4px;
	font-weight: 500;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.btn:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}

/* ── Shared headings ── */
h1 {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
	text-align: center;
	line-height: 1.2;
}

h2 {
	color: var(--primary-color);
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

/* ── Board / team member cards ── */
.board-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 3rem;
	margin: 2rem 0;
}

.team-member {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
	text-align: center;
}

.team-member:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Scroll-in animation (starts hidden; JS adds .visible) */
.team-member {
	opacity: 0;
	transform: translateY(40px);
}

.team-member.visible {
	opacity: 1;
	transform: translateY(0);
}

.team-member.leader {
	border: 3px solid var(--secondary-color);
	max-width: 420px;
	margin: 0 auto;
}

.member-photo {
	width: 100%;
	height: auto;
	display: block;
}

.member-info {
	padding: 2rem 1.5rem;
}

.member-info h3 {
	color: var(--primary-color);
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.member-title {
	color: var(--secondary-color);
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.member-bio {
	color: var(--dark-text);
	font-size: 0.95rem;
	line-height: 1.6;
}

.leader-badge {
	display: inline-block;
	background-color: var(--secondary-color);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.subtitle {
	font-size: 1.2rem;
	text-align: center;
	color: var(--secondary-color);
	font-weight: 500;
}

.empty-state {
	text-align: center;
	padding: 3rem;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-state h3 { color: var(--primary-color); margin-bottom: 0.5rem; }
.empty-state p  { color: var(--dark-text); }

/* ── Mobile shared responsive ── */
@media (max-width: 768px) {
	section {
		padding: 1.5rem 1rem;
	}

	h1 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	h2 {
		font-size: 1.3rem;
		margin: 1rem 0 0.5rem 0;
	}

	.board-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin: 1rem 0;
	}

	.team-member,
	.team-member.leader {
		max-width: none;
		margin: 0;
	}
}
