:root {
	--primary-color: #703be7;
	--secondary-color: #8254ea;
	--accent-color: #ffe000;
	--neutral-dark: #2e2c2e;
	--neutral-light: #4a474a;
	--background-color: #211f21;
	--text-light: #e5e5e5;
	--text-white: #f8f8f8;
	--text-lavender: #c3b4f5;

	color-scheme: dark;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", sans-serif;
	background-color: var(--background-color);
	color: var(--text-light);
	line-height: 1.6;
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(26, 24, 26, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	transition: all 0.3s ease;
	padding: 1rem 0;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.logo:hover {
	color: var(--secondary-color);
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.nav-links a:hover {
	color: var(--accent-color);
}

.nav-links a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: var(--accent-color);
	transition: width 0.3s ease;
}

.nav-links a:hover::after {
	width: 100%;
}


/* Mobile Menu */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.hamburger span {
	width: 25px;
	height: 3px;
	background-color: var(--text-light);
	transition: all 0.3s ease;
	transform-origin: center;
}

.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--background-color);
	z-index: 999;
	padding-top: 80px;

	opacity: 0;
	transform: translateY(-20px);
	pointer-events: none;

	transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.mobile-menu ul {
	list-style: none;
	padding: 2rem;
	text-align: center;
}

.mobile-menu li {
	margin: 2rem 0;
}

.mobile-menu a {
	color: var(--text-light);
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.mobile-menu a:hover {
	color: var(--accent-color);
}


/* Hero */
.hero {
	min-height: 90vh;
	display: flex;
	align-items: center;
	padding: 0 2rem;
	background: linear-gradient(135deg,
			var(--background-color) 0%,
			var(--neutral-dark) 100%);
}

.hero-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 4rem;
	align-items: center;
}

.hero-image {
	text-align: center;
}

.profile-img {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	border: 4px solid #2c1f4b;
	object-fit: cover;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 0 20px rgba(112, 59, 231, 0.4);
}

.profile-img:hover {
	transform: scale(1.03);
	box-shadow: 0 0 30px rgba(112, 59, 231, 0.6);
}

.hero-content h1 {
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: -0.8rem;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content h2 {
	font-size: 1.5rem;
	color: var(--text-lavender);
	margin-bottom: 2rem;
	font-weight: 400;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s ease 0.7s forwards;
}

.cta-button {
	background: var(--secondary-color);
	color: var(--text-white);
	padding: 1rem 2rem;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s ease 0.9s forwards;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 81, 255, 0.3);
	background: #8c63eb;
}


/* Section Styles */
.section {
	padding: 5rem 2rem;
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.6s ease;
}

.section.visible {
	opacity: 1;
	transform: translateY(0);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-white);
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

.section-title::after {
	content: "";
	position: absolute;
	width: 60px;
	height: 4px;
	background: var(--primary-color);
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 3px;
}


/* Skills */
.skills-grid {
	display: grid;
	gap: 2rem;
	max-width: 800px;
	margin: 0 auto;
}

.skill-item {
	background: var(--neutral-dark);
	padding: 2rem;
	border-radius: 15px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.skill-item:hover {
	transform: translateY(-5px);
	border-color: var(--secondary-color);
	box-shadow: 0 15px 40px rgba(130, 84, 234, 0.2);
}

.skill-name {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-white);
	margin-bottom: 1rem;
}

.skill-bar {
	background: var(--neutral-light);
	height: 10px;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
}

.skill-progress {
	height: 100%;
	background: linear-gradient(90deg,
			var(--primary-color),
			var(--secondary-color));
	border-radius: 5px;
	transition: width 1s ease;
	width: 0;
}


/* Testimonials */
.testimonials {
	background: var(--neutral-dark);
}

.testimonials-container {
	overflow: hidden;
	position: relative;
}

.testimonials-track {
	display: flex;
	animation: scroll 20s linear infinite;
	gap: 2rem;
	width: calc(200%);
}

.testimonials-container:hover .testimonials-track {
	animation-play-state: paused;
}

.testimonial-card {
	background: var(--background-color);
	padding: 2rem;
	border-radius: 15px;
	min-width: 150px;
	max-width: 300px;
	border-left: 4px solid var(--primary-color);
	flex-shrink: 0;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 1rem;
	color: var(--text-light);
}

.testimonial-author {
	font-weight: 600;
	color: var(--accent-color);
}


/* Projects */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.75rem;
}

.project-card {
	background: var(--neutral-dark);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
}

.project-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card-link {
	text-decoration: none;
}

.project-image {
	height: 180px;
	background: linear-gradient(45deg,
			var(--primary-color),
			var(--secondary-color));
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 3rem;
}

.project-image img {
	border-radius: 100%;
	height: 150px
}

.project-content {
	padding: 1.5rem;
}

.project-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-white);
	margin-bottom: 0.5rem;
}

.project-title span {
	margin-left: 5rem;
	display: inline;
	border-radius: 15px;
	border: none;
	padding: 0.5rem 0.3rem;
	background: #c4b215;
}

.project-description {
	color: var(--text-light);
	font-size: 0.9rem;
}


/* Contact */
.contact {
	background: var(--neutral-dark);
	text-align: center;
}

.contact-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.contact-username {
	color: var(--text-light);
	font-size: 0.9rem;
	font-weight: 500;
	margin-top: 0.15rem;
}

.contact-icons {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin-top: 3rem;
}

.contact-icon {
	width: 80px;
	height: 80px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 2rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.contact-icon:hover {
	background: var(--secondary-color);
	transform: scale(1.1);
	box-shadow: 0 10px 30px rgba(112, 59, 231, 0.4);
}

.contact-note {
	margin-top: 2rem;
	color: var(--text-lavender);
	font-style: italic;
}


/* Animations */
@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInRight {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}


/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.hero-container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.hero-content h2 {
		font-size: 1.2rem;
	}

	.profile-img {
		width: 200px;
		height: 200px;
	}

	.section-title {
		font-size: 2rem;
	}

	.contact-icons {
		gap: 2rem;
	}

	.contact-icon {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
	}

	.testimonial-card {
		min-width: 280px;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 0 1rem;
	}

	.section {
		padding: 3rem 1rem;
	}

	.nav-container {
		padding: 0 1rem;
	}
}