@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
	user-select: none;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

nav {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	padding: 1rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav h1 {
	font-size: 1.8rem;
	background: linear-gradient(45deg, #fff, #a8c0ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
	list-style: none;
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

nav ul li a {
	position: relative;
	font-size: 1rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	transition: all 0.3s ease;
}

nav ul li a:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

nav ul li a::after {
	display: none;
}

nav a {
	color: white;
	text-decoration: none;
}

.hero {
	padding-top: 100px;
	background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
	min-height: 100vh;
	color: white;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	width: 150%;
	height: 150%;
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(-45deg);
	top: -50%;
	left: -50%;
}

.hero {
	min-height: 60vh;
	display: flex;
	align-items: center;
	text-align: center;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
	font-size: 1.2rem;
	opacity: 0.9;
	margin-bottom: 2rem;
}

section {
	padding: 4rem 0;
	animation: fadeInUp 0.8s ease-out;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

/* Project cards enhancement */
.project-card {
	background: white;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	border-radius: 12px;
	overflow: hidden;
}

.project-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 500px;
	margin: 2rem auto;
}

input,
textarea {
	border: 2px solid #eee;
	border-radius: 8px;
	padding: 1rem;
	transition: border-color 0.3s;
}

input:focus,
textarea:focus {
	border-color: #3498db;
	outline: none;
}

input,
textarea {
	padding: 0.5rem;
}

button {
	background: linear-gradient(to right, #2c3e50, #3498db);
	padding: 1rem 2rem;
	border-radius: 30px;
	transition: transform 0.3s;
	color: white;
	border: none;
	cursor: pointer;
}

button:hover {
	transform: scale(1.05);
}

.cv-page {
	background: #f8f9fa;
	padding: 2rem 0;
}

.cv-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 3rem 0;
	border-radius: 0 0 50px 50px;
	text-align: center;
	margin-bottom: 2rem;
}

.cv-section {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	margin: 2rem 0;
}

.cv-item {
	margin: 1rem 0;
}

.skills-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
}

.skills-list li {
	background: #f0f2f5;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	transition: transform 0.3s;
}

.skills-list li:hover {
	transform: scale(1.05);
	background: #e2e6ea;
}

.back-btn {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	background: #333;
	color: white;
	text-decoration: none;
	border-radius: 4px;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	nav .container {
		flex-direction: column;
		gap: 1rem;
	}

	nav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}

	.hero {
		padding-top: 80px;
	}
}

.social-links {
	margin-top: 2rem;
	display: flex;
	gap: 2rem;
	justify-content: center;
}

.social-icon {
	color: white;
	font-size: 1.8rem;
	transition: transform 0.3s ease;
}

footer {
	background: linear-gradient(to right, #2c3e50, #3498db);
	color: white;
	padding: 4rem 0 1rem 0;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	background: linear-gradient(45deg, #fff, #a8c0ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.footer-section h4 {
	font-size: 1.2rem;
	margin-bottom: 1rem;
	color: #a8c0ff;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.8rem;
}

.footer-section ul li a,
.footer-section ul li {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-section ul li a:hover {
	color: #a8c0ff;
}

.footer-social {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.footer-social a {
	color: white;
	font-size: 1.5rem;
	transition: transform 0.3s;
}

.footer-social a:hover {
	transform: translateY(-3px);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-section ul li {
		justify-content: center;
	}

	.footer-social {
		justify-content: center;
	}
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	background: linear-gradient(to right, #2c3e50, #3498db);
	margin: 0.5rem auto;
}

.about-content {
	max-width: 1000px;
	margin: 0 auto;
}

.about-intro {
	font-size: 1.2rem;
	line-height: 1.8;
	text-align: center;
	margin-bottom: 3rem;
	color: #555;
}

.about-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.about-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s;
}

.about-card:hover {
	transform: translateY(-5px);
}

.about-card i {
	font-size: 2.5rem;
	color: #3498db;
	margin-bottom: 1rem;
}

.about-card h3 {
	margin-bottom: 1rem;
	color: #2c3e50;
}

.tech-stack {
	text-align: center;
}

.tech-stack h3 {
	margin-bottom: 1.5rem;
	color: #2c3e50;
}

.tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.tech-tag {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 0.5rem 1.5rem;
	border-radius: 25px;
	font-size: 0.9rem;
	transition: transform 0.3s;
}

.tech-tag:hover {
	transform: scale(1.05);
}

@media (max-width: 768px) {
	.about-details {
		grid-template-columns: 1fr;
	}

	.about-intro {
		font-size: 1.1rem;
	}
}

/* Language switcher styles */
.lang-switcher {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1001;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 8px 16px;
	border-radius: 20px;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
}

.lang-switcher:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.lang-switcher i {
	margin-right: 8px;
}

.cv-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid #333;
}
