/* Modern Design System - Purple Theme */
:root {
	--primary-purple: #9333ea;
	--purple-dark: #7c3aed;
	--purple-light: #a855f7;
	--purple-lighter: #c084fc;
	--purple-lightest: #d8b4fe;
	--purple-bg: #faf5ff;
	--purple-bg-dark: #f3e8ff;
	--purple-text: #581c87;
	--purple-text-light: #9333ea;
	--purple-border: #e9d5ff;
	--purple-border-light: #f3e8ff;
	
	--accent-teal: #06b6d4;
	--success-green: #10b981;
	--warning-orange: #f59e0b;
	--error-red: #ef4444;
	
	--gray-50: #f9fafb;
	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-400: #9ca3af;
	--gray-500: #6b7280;
	--gray-600: #4b5563;
	--gray-700: #374151;
	--gray-800: #1f2937;
	--gray-900: #111827;
	
	--white: #ffffff;
	--black: #000000;
	
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	
	--border-radius: 0.5rem;
	--border-radius-lg: 0.75rem;
	--border-radius-xl: 1rem;
	
	--transition: all 0.2s ease-in-out;
	--transition-slow: all 0.3s ease-in-out;
}

/* Base Styles */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: var(--purple-text);
	background-color: var(--purple-bg);
	margin: 0;
	padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 1rem 0;
	color: var(--purple-text);
}

h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
}

h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
	margin: 0 0 1rem 0;
	color: var(--purple-text);
	font-size: 1.125rem;
}

a {
	color: var(--primary-purple);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--purple-dark);
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn-primary {
	background-color: var(--primary-purple);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--purple-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background-color: var(--white);
	color: var(--primary-purple);
	border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
	background-color: var(--primary-purple);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, var(--primary-purple) 0%, var(--purple-light) 100%);
	color: var(--white);
	position: relative;
	overflow: hidden;
}

/* Event Date Display */
.event-date {
	position: absolute;
	top: 2rem;
	left: 2rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--border-radius);
	padding: 0.75rem 1rem;
	color: var(--white);
	font-weight: 600;
	font-size: 0.9rem;
	z-index: 2;
	box-shadow: var(--shadow-md);
	transition: var(--transition);
}

.event-date:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.network-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.3;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	position: relative;
	z-index: 1;
}

.hero-title {
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 800;
	margin-bottom: 1rem;
	color: var(--white);
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.9);
}

.hero-description {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-image {
	position: relative;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius-xl);
	box-shadow: var(--shadow-xl);
	transition: var(--transition-slow);
}

.hero-image:hover img {
	transform: scale(1.05);
}

/* About Section */
.about-section {
	padding: 6rem 0;
	background-color: var(--purple-bg);
}

.about-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-text h2 {
	margin-bottom: 2rem;
	color: var(--purple-text);
}

.about-text p {
	font-size: 1.125rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	color: var(--purple-text);
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius-xl);
	box-shadow: var(--shadow-lg);
	transition: var(--transition-slow);
	border: 3px solid var(--purple-border);
}

.about-image:hover img {
	transform: translateY(-5px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-purple);
}

/* Navigation Section */
.nav-section {
	padding: 6rem 0;
	background-color: var(--purple-bg-dark);
}

.nav-section h2 {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--purple-text);
}

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

.nav-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--shadow-md);
	transition: var(--transition-slow);
	text-decoration: none;
	color: inherit;
	border: 2px solid var(--purple-border);
}

.nav-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-purple);
	background-color: var(--purple-bg);
}

.nav-icon {
	width: 4rem;
	height: 4rem;
	background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
	border-radius: var(--border-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.nav-icon i {
	font-size: 1.5rem;
	color: var(--white);
}

.nav-card h3 {
	margin-bottom: 0.5rem;
	color: var(--purple-text);
}

.nav-card p {
	margin: 0;
	color: var(--purple-text-light);
}

/* Events Section */
.events-section {
	padding: 6rem 0;
	background-color: var(--purple-bg);
}

.events-section h2 {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--purple-text);
}

.events-grid {
	display: grid;
	gap: 2rem;
}

.event-card {
	background-color: var(--white);
	border-radius: var(--border-radius-lg);
	padding: 2rem;
	border: 2px solid var(--purple-border);
	transition: var(--transition-slow);
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-purple);
	background-color: var(--purple-bg);
}

.event-card.featured {
	background: var(--white);
	color: var(--purple-text);
	border: 3px solid var(--primary-purple);
	position: relative;
	overflow: hidden;
}

.event-card.featured::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(135deg, var(--primary-purple) 0%, var(--purple-light) 100%);
}

.event-card.featured h3,
.event-card.featured p {
	color: var(--purple-text);
}

.event-card.featured h3 a {
	color: var(--primary-purple);
	text-decoration: none;
	font-weight: 600;
}

.event-card.featured h3 a:hover {
	color: var(--purple-dark);
	text-decoration: underline;
}

.event-card.featured .event-gallery figcaption {
	color: var(--purple-text-light);
}

.event-content h3 {
	margin-bottom: 1rem;
	color: var(--purple-text);
}

.event-content h3 a {
	color: var(--primary-purple);
	text-decoration: none;
}

.event-content h3 a:hover {
	color: var(--purple-dark);
}

.event-content p {
	color: var(--purple-text);
}

.event-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.event-gallery figure {
	margin: 0;
}

.event-gallery img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-md);
	border: 2px solid var(--purple-border);
}

.event-gallery figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	text-align: center;
	color: var(--purple-text-light);
}

/* Contact Section */
.contact-section {
	padding: 6rem 0;
	background-color: var(--purple-bg-dark);
}

.contact-section h2 {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--purple-text);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.contact-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--shadow-md);
	text-align: center;
	transition: var(--transition-slow);
	border: 2px solid var(--purple-border);
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-purple);
	background-color: var(--purple-bg);
}

.contact-icon {
	width: 4rem;
	height: 4rem;
	background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
}

.contact-icon i {
	font-size: 1.5rem;
	color: var(--white);
}

.contact-card h3 {
	margin-bottom: 1rem;
	color: var(--purple-text);
}

.contact-card a {
	color: var(--primary-purple);
	font-weight: 500;
}

.contact-card address {
	font-style: normal;
	color: var(--purple-text);
	line-height: 1.6;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
}

.social-links a {
	width: 3rem;
	height: 3rem;
	background-color: var(--primary-purple);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

.social-links a:hover {
	background-color: var(--purple-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* Network Background */
.network-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: 
		radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
	animation: float 20s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	33% { transform: translateY(-20px) rotate(1deg); }
	66% { transform: translateY(10px) rotate(-1deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}
	
	.about-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.hero-cta {
		justify-content: center;
	}
	
	.nav-grid {
		grid-template-columns: 1fr;
	}
	
	.contact-grid {
		grid-template-columns: 1fr;
	}
	
	.event-gallery {
		grid-template-columns: 1fr;
	}
	
	.container {
		padding: 0 1rem;
	}
	
	.event-date {
		top: 1rem;
		left: 1rem;
		font-size: 0.8rem;
		padding: 0.5rem 0.75rem;
	}
}

@media (max-width: 480px) {
	.hero {
		min-height: 80vh;
	}
	
	.hero-title {
		font-size: 2.5rem;
	}
	
	.hero-subtitle {
		font-size: 1.25rem;
	}
	
	.hero-description {
		font-size: 1rem;
	}
	
	.btn {
		padding: 0.625rem 1.25rem;
		font-size: 0.875rem;
	}
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
	
	.nav-card,
	.event-card,
	.contact-card {
		animation: fadeInUp 0.6s ease-out forwards;
	}
	
	.nav-card:nth-child(1) { animation-delay: 0.1s; }
	.nav-card:nth-child(2) { animation-delay: 0.2s; }
	.nav-card:nth-child(3) { animation-delay: 0.3s; }
	.nav-card:nth-child(4) { animation-delay: 0.4s; }
	.nav-card:nth-child(5) { animation-delay: 0.5s; }
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}