/* Team Section Styles - Starry Black & Yellow Theme */
.team {
	padding: 100px 0;
	background: var(--bg-0);
	position: relative;
}

.team::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(1px 1px at 75px 75px, var(--primary), transparent),
		radial-gradient(1px 1px at 175px 175px, var(--primary-2), transparent),
		radial-gradient(1px 1px at 275px 75px, var(--primary), transparent);
	background-repeat: repeat;
	background-size: 350px 350px;
	animation: twinkle 7s ease-in-out infinite;
	opacity: 0.2;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	position: relative;
	z-index: 2;
}

.team-member {
	background: rgba(var(--primary-rgb), 0.05);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.3);
	transition: all 0.3s ease;
	border: 1px solid rgba(var(--primary-rgb), 0.1);
	backdrop-filter: blur(10px);
}

.team-member:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.2);
	border-color: rgba(var(--primary-rgb), 0.3);
}

.member-image {
	position: relative;
	height: 300px;
	overflow: hidden;
}

.member-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
	transform: scale(1.1);
}

.member-social {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(var(--black-rgb), 0.8));
	padding: 2rem 1rem 1rem;
	display: flex;
	justify-content: center;
	gap: 1rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.team-member:hover .member-social {
	opacity: 1;
}

.member-social a {
	width: 40px;
	height: 40px;
	background: var(--primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-contrast);
	text-decoration: none;
	transition: all 0.3s ease;
}

.member-social a:hover {
	background: var(--primary-2);
	transform: scale(1.1);
}

.member-info {
	padding: 2rem;
	text-align: center;
}

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

.member-role {
	color: var(--subheading);
	font-weight: 500;
	margin-bottom: 1rem;
}

.member-bio {
	color: var(--text-muted);
	line-height: 1.6;
}

/* Responsive Team */
@media (max-width: 768px) {
	.team-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
} 