/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	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: #e2e8f0;
	background: #102a0f;
	overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.2;
	color: #f8fafc;
}

h1 {
	font-size: 2.5rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.5rem;
}

p {
	color: #cbd5e1;
	margin-bottom: 1rem;
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #103112;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #33554f;
	z-index: 1000;
	transition: all 0.3s ease;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.nav-brand h1 {
	font-size: 1.5rem;

	background: linear-gradient(135deg, #3bf654, #32886b);
	/* background: linear-gradient(135deg, #3bf664, #158657); */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.3s ease;
	position: relative;
}

.nav-links a:hover {
	color: #3bf68f;
    text-decoration: none;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(135deg, #3bf652, #5cb1f6);
	transition: width 0.3s ease;
}

.nav-links a:hover::after {
	width: 100%;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.nav-toggle span {
	width: 25px;
	height: 3px;
	background: #cbd5e1;
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 6rem 0 4rem;
	background: linear-gradient(135deg, #102a0f 0%, #284b32 100%);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(
			circle at 20% 80%,
			rgba(59, 246, 115, 0.1) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(141, 246, 92, 0.1) 0%,
			transparent 50%
		);
	pointer-events: none;
}

.hero-content {
	flex: 1;
	max-width: 600px;
	z-index: 1;
	position: relative;
	padding: 2rem;
}

.hero-title {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	line-height: 1.1;
}

.text-gradient {
	background: linear-gradient(135deg, #3bf654, #32886b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.hero-description {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	color: #94a3b8;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 0.75rem 2rem;
	border-radius: 0.5rem;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn-primary {
	background: linear-gradient(135deg, #3bf654, #32886b);
	color: white;
	box-shadow: 0 4px 15px rgba(59, 246, 59, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(59, 246, 75, 0.4);
}

.btn-secondary {
	background: transparent;
	color: #3bf654;
	border: 2px solid #3bf654;
}

.btn-secondary:hover {
	background: #32886b;
	color: white;
	transform: translateY(-2px);
}

/* Code Block */
.hero-visual {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
}

.code-block {
	background: #284b32;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	border: 1px solid #33554f;
	max-width: 400px;
	width: 100%;
}

.code-header {
	background: #33554f;
	padding: 0.75rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border-bottom: 1px solid #475569;
}

.code-dots {
	display: flex;
	gap: 0.5rem;
}

.code-dots span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #64748b;
}

.code-dots span:first-child {
	background: #ef4444;
}
.code-dots span:nth-child(2) {
	background: #f59e0b;
}
.code-dots span:last-child {
	background: #10b981;
}

.code-title {
	color: #cbd5e1;
	font-size: 0.875rem;
	font-weight: 500;
}

.code-content {
	padding: 1.5rem;
	font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
	font-size: 0.875rem;
	line-height: 1.6;
}

.code-line {
	margin-bottom: 0.5rem;
	display: block;
}

.code-indent {
	padding-left: 1rem;
}

.code-keyword {
	color: #c792ea;
}
.code-variable {
	color: #82aaff;
}
.code-string {
	color: #c3e88d;
}
.code-operator {
	color: #89ddff;
}
.code-bracket {
	color: #f78c6c;
}
.code-comma {
	color: #89ddff;
}

/* Sections */
.section {
	padding: 5rem 0;
}

.section-alt {
	background: #284b32;
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
	font-size: 2.5rem;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(135deg, #3bf6ed, #5f5cf6);
	border-radius: 2px;
}

/* About Section */
.about-content {
	display: grid;
	gap: 3rem;
}

.about-text {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

.about-text p {
	font-size: 1.125rem;
	margin-bottom: 1.5rem;
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.skill-card {
	background: #284b32;
	padding: 2rem;
	border-radius: 1rem;
	text-align: center;
	border: 1px solid #33554f;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.skill-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(59, 246, 115, 0.1),
		transparent
	);
	transition: left 0.5s ease;
}

.skill-card:hover::before {
	left: 100%;
}

.skill-card:hover {
	transform: translateY(-5px);
	border-color: #3bf6ed;
	box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.skill-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: block;
}

.skill-card h3 {
	margin-bottom: 1rem;
	color: #f8fafc;
}

.skill-card p {
	color: #94a3b8;
	font-size: 0.9rem;
}

/* Timeline */
.timeline {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 2rem;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, #3bf6ed, #5f5cf6);
}

.timeline-item {
	position: relative;
	margin-bottom: 3rem;
	padding-left: 5rem;
}

.timeline-marker {
	position: absolute;
	left: 1.5rem;
	top: 0.5rem;
	width: 1rem;
	height: 1rem;
	background: #3bf6ed;
	border-radius: 50%;
	border: 3px solid #102a0f;
	box-shadow: 0 0 0 3px #3bf6ed;
}

.timeline-content h3 {
	color: #f8fafc;
	margin-bottom: 0.5rem;
}

.timeline-company {
	color: #3bf6ed;
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.timeline-date {
	color: #64748b;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.resume {
	display: flex;
	justify-content: center;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: inherit;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
}

/* Projects */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}

.project-card {
	background: #284b32;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #33554f;
	transition: all 0.3s ease;
	position: relative;
}

.project-card:hover {
	transform: translateY(-5px);
	border-color: #3bf6ed;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
	height: 200px;
	background: #33554f;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.project-placeholder {
	font-size: 4rem;
	opacity: 0.7;
}

.project-content {
	padding: 2rem;
}

.project-content h3 {
	margin-bottom: 1rem;
	color: #f8fafc;
}

.project-content p {
	margin-bottom: 1.5rem;
	color: #94a3b8;
}

.project-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tech-tag {
	background: #33554f;
	color: #3bf6ed;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.8rem;
	font-weight: 500;
	border: 1px solid #475569;
}

/* Contact */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.contact-info h3 {
	margin-bottom: 1rem;
	color: #f8fafc;
}

.contact-info p {
	margin-bottom: 2rem;
	color: #94a3b8;
}

.contact-methods {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-method {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	color: #cbd5e1;
	cursor: pointer;
}

.contact-method a {
	color: inherit;
	text-decoration: inherit;
}

.contact-method a:hover {
	text-decoration: underline;
}

.contact-icon {
	font-size: 1.5rem;
}

.contact-form {
	background: #284b32;
	padding: 2rem;
	border-radius: 1rem;
	border: 1px solid #33554f;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: #f8fafc;
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #475569;
	border-radius: 0.5rem;
	background: #33554f;
	color: #f8fafc;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

/* Footer */
.footer {
	background: #102a0f;
	padding: 2rem 0;
	text-align: center;
	border-top: 1px solid #33554f;
}

.footer p {
	color: #91b197;
	margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(18, 42, 15, 0.95);
		backdrop-filter: blur(10px);
		flex-direction: column;
		padding: 1rem;
		border-top: 1px solid #33554f;
	}

	.nav-links.active {
		display: flex;
	}

	.nav-toggle {
		display: flex;
	}

	.hero {
		flex-direction: column;
		text-align: center;
		padding: 4rem 0 2rem;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-visual {
		margin-top: 2rem;
		padding: 1rem;
	}

	.code-block {
		max-width: 100%;
	}

	.hero-actions {
		justify-content: center;
	}

	.skills-grid {
		grid-template-columns: 1fr;
	}

	.timeline::before {
		left: 1rem;
	}

	.timeline-item {
		padding-left: 3rem;
	}

	.timeline-marker {
		left: 0.5rem;
	}

	.projects-grid {
		grid-template-columns: 1fr;
	}

	.contact-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.75rem;
	}
	h3 {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 0.75rem;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-description {
		font-size: 1rem;
	}

	.btn {
		padding: 0.625rem 1.5rem;
		font-size: 0.9rem;
	}

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}

	.skill-card,
	.project-card,
	.contact-form {
		padding: 1.5rem;
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.section {
	animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}
