:root {
	--bg-color: #0f172a;
	--bg-secondary: #1e293b;
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	--glass-bg: rgba(30, 41, 59, 0.7);
	--glass-border: rgba(255, 255, 255, 0.1);
	--angular-red: #dd0031;
	--spring-green: #6db33f;
}

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

html {
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	height: 100%;
	overflow-y: scroll;
}

body {
	font-family: "Inter", sans-serif;
	background-color: var(--bg-color);
	color: var(--text-primary);
	line-height: 1.6;
	height: 100%;
}

::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
	background: #334155;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: #475569;
}

a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s;
}
ul {
	list-style: none;
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--glass-border);
	padding: 1rem 5%;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.logo img {
	width: 100px;
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	font-size: 0.95rem;
	color: var(--text-secondary);
	font-weight: 500;
	position: relative;
}

.nav-links a:hover,
.nav-links a.active {
	color: #fff;
}

.nav-links a.active::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--accent-gradient);
	border-radius: 2px;
}

section {
	min-height: 100vh;
	padding: 6rem 5% 2rem 5%;
	max-width: 1200px;
	margin: 0 auto;

	display: flex;
	flex-direction: column;
	justify-content: center;

	scroll-snap-align: start;
	scroll-snap-stop: always;
	position: relative;
}

.section-title {
	font-family: "Space Grotesk", sans-serif;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	text-align: center;
}

.section-title span {
	border-bottom: 3px solid #6366f1;
}

.hero {
	text-align: center;
	align-items: center;
}

.hero::before {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	background: var(--accent-gradient);
	filter: blur(150px);
	opacity: 0.2;
	border-radius: 50%;
	z-index: -1;
	top: 20%;
}

.hero-content h1 {
	font-family: "Space Grotesk", sans-serif;
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 1rem;
	animation: fadeUp 0.8s ease-out;
}

.hero-content h1 span {
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-content p {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	animation: fadeUp 1s ease-out;
}

.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	background: var(--text-primary);
	color: var(--bg-color);
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	border: 2px solid transparent;
	animation: fadeUp 1.2s ease-out;
	cursor: pointer;
}

.btn:hover {
	background: transparent;
	color: var(--text-primary);
	border-color: var(--text-primary);
	transform: translateY(-2px);
}

.scroll-down {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	animation: bounce 2s infinite;
	color: var(--text-secondary);
	cursor: pointer;
}

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

.about-text p {
	margin-bottom: 1.5rem;
	color: var(--text-secondary);
	font-size: 1.1rem;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.stat-card {
	background: var(--bg-secondary);
	padding: 1.5rem;
	border-radius: 12px;
	border: 1px solid var(--glass-border);
}

.stat-card i {
	font-size: 1.5rem;
	color: #a855f7;
	margin-bottom: 0.5rem;
}

.stat-card h4 {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.stat-card p {
	font-weight: 700;
	font-size: 1.1rem;
}

.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1.5rem;
	text-align: center;
}

.tech-item {
	background: var(--bg-secondary);
	padding: 2rem;
	border-radius: 12px;
	transition: 0.3s;
	border: 1px solid var(--glass-border);
	display: flex;
	justify-content: center;
	align-items: center;
}

.tech-item:hover {
	transform: translateY(-5px);
	border-color: #6366f1;
	background: rgba(99, 102, 241, 0.1);
}

.tech-item i {
	font-size: 3rem;
	color: inherit;
}

.fa-angular {
	color: var(--angular-red);
}
.fa-java {
	color: #f89820;
}
.fa-js {
	color: #f7df1e;
}
.fa-python {
	color: #3776ab;
}
.fa-docker {
	color: #2496ed;
}
.fa-git-alt {
	color: #f05032;
}

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

.project-card {
	background: var(--bg-secondary);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--glass-border);
	transition: 0.4s;
	position: relative;
}

.project-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	border-color: #a855f7;
}

.project-img {
	height: 180px;
	background: #2d3748;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: rgba(255, 255, 255, 0.1);
}

.project-content {
	padding: 1.5rem;
}

.project-tags {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.tag {
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	background: rgba(99, 102, 241, 0.1);
	color: #818cf8;
	font-weight: 600;
}

.project-content h3 {
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
}

.project-content p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.project-links {
	display: flex;
	gap: 0.75rem; 
	flex-wrap: wrap;
	margin-top: 1rem;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1 1 auto;
}

.project-links a:hover {
    color: #fff;
    background: rgba(168, 85, 247, 0.15);
    border-color: #a855f7;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

footer {
	background: var(--bg-secondary);
	padding: 3rem 5%;
	text-align: center;
	border-top: 1px solid var(--glass-border);

	min-height: 50vh;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

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

.social-links a {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	transition: 0.3s;
}

.social-links a:hover {
	background: var(--accent-gradient);
	transform: scale(1.1);
}

@media (max-width: 768px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}

	.about-container {
		grid-template-columns: 1fr;
	}

	.nav-links {
		display: none;
	}

	.hero {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		min-height: 100vh;
		padding-top: 0;
	}

	section {
		padding: 5rem 5%;
	}

	.tech-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

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

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(-5px);
	}
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
