/* CSS Variables */
:root {
	--primary: #f06262;
	--secondary: #2d3748;
	--background: #fffcf9;
	--text-primary: #2d3748;
	--text-secondary: #64748b;
	--text-light: #94a3b8;
	--border: #e2e8f0;
	--success: #10b981;
	--warning: #f59e0b;
	--error: #ef4444;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family:
		"Inter",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	background-color: var(--background);
	color: var(--text-primary);
	line-height: 1.6;
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--background);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(10px);
	background-color: rgba(255, 252, 249, 0.95);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.logo-text {
	background: linear-gradient(
		135deg,
		var(--primary) 0%,
		var(--secondary) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2.5rem;
	align-items: center;
}

.nav-links a {
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
	transition: color 0.3s ease;
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}

.nav-links a.active {
	color: var(--primary);
}

.btn-contact {
	background: var(--primary);
	color: white !important;
	padding: 0.6rem 1.5rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-contact:hover {
	background: var(--secondary);
	transform: translateY(-2px);
}

.btn-contact::after {
	display: none !important;
}

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

/* Hero Section */
.hero {
	padding: 6rem 2rem;
	background: linear-gradient(
		135deg,
		var(--background) 0%,
		rgba(240, 98, 98, 0.05) 100%
	);
}

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

.hero-text h1 {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.hero-subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	line-height: 1.8;
}

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

.btn {
	padding: 0.85rem 2rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	cursor: pointer;
	display: inline-block;
	text-align: center;
}

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

.btn-primary:hover {
	background: var(--secondary);
	border-color: var(--secondary);
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(240, 98, 98, 0.2);
}

.btn-secondary {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}

.btn-secondary:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-3px);
}

.hero-stats {
	display: flex;
	gap: 2rem;
	margin-top: 2rem;
}

.stat {
	display: flex;
	flex-direction: column;
}

.stat-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-top: 0.5rem;
}

/* Hero Image */
.hero-image-container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-image {
	width: 100%;
	max-width: 450px;
	border-radius: 20px;
	object-fit: cover;
	aspect-ratio: 1;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
	border: 3px solid var(--primary);
	transition: transform 0.3s ease;
}

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

.image-glow {
	position: absolute;
	width: 120%;
	height: 120%;
	background: radial-gradient(
		circle,
		rgba(240, 98, 98, 0.15) 0%,
		transparent 70%
	);
	border-radius: 20px;
	z-index: -1;
	filter: blur(40px);
}

/* Tech Stack */
.tech-stack {
	padding: 4rem 2rem;
	background: linear-gradient(
		135deg,
		rgba(240, 98, 98, 0.05) 0%,
		rgba(45, 55, 72, 0.02) 100%
	);
}

.tech-stack h2 {
	font-size: 2.5rem;
	margin-bottom: 3rem;
	text-align: center;
}

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

.tech-category h3 {
	font-size: 1.2rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.tech-items {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.tech-item {
	background: white;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	border: 1px solid var(--border);
	font-size: 0.95rem;
	color: var(--text-secondary);
	transition: all 0.3s ease;
}

.tech-item:hover {
	border-color: var(--primary);
	background: rgba(240, 98, 98, 0.05);
	color: var(--primary);
}

/* Highlights */
.highlights {
	padding: 4rem 2rem;
}

.highlights h2 {
	font-size: 2.5rem;
	margin-bottom: 3rem;
	text-align: center;
}

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

.highlight-card {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	border: 1px solid var(--border);
	transition: all 0.3s ease;
	text-align: center;
}

.highlight-card:hover {
	border-color: var(--primary);
	box-shadow: 0 15px 40px rgba(240, 98, 98, 0.15);
	transform: translateY(-5px);
}

.highlight-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.highlight-card h3 {
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
	color: var(--text-primary);
}

.highlight-card p {
	color: var(--text-secondary);
	line-height: 1.7;
}

/* Projects */
.projects-hero,
.experience-hero,
.about-hero {
	padding: 4rem 2rem;
	background: linear-gradient(
		135deg,
		var(--background) 0%,
		rgba(240, 98, 98, 0.05) 100%
	);
	text-align: center;
}

.projects-hero h1,
.experience-hero h1,
.about-hero h1 {
	font-size: 2.8rem;
	margin-bottom: 1rem;
}

.projects-hero p,
.experience-hero p,
.about-hero p {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
}

.projects {
	padding: 4rem 2rem;
}

.project-card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2.5rem;
	margin-bottom: 2rem;
	transition: all 0.3s ease;
}
.project-card:last-child {
	margin-bottom: 0rem;
}

.project-card:hover {
	border-color: var(--primary);
	box-shadow: 0 20px 50px rgba(240, 98, 98, 0.15);
}

.project-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.project-header h3 {
	font-size: 1.5rem;
	color: var(--text-primary);
}

.project-year {
	background: rgba(240, 98, 98, 0.1);
	color: var(--primary);
	padding: 0.4rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
}

.project-desc {
	color: var(--text-secondary);
	font-size: 1.05rem;
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.project-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-bottom: 1.5rem;
}

.tech-tag {
	background: rgba(45, 55, 72, 0.08);
	color: var(--secondary);
	padding: 0.4rem 0.9rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 500;
}

.project-details {
	list-style: none;
	margin-bottom: 1.5rem;
}

.project-details li {
	color: var(--text-secondary);
	margin-bottom: 0.8rem;
	padding-left: 1.5rem;
	position: relative;
}

.project-details li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

.project-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
}

.project-link:hover {
	transform: translateX(5px);
}

/* Experience */
.experience {
	padding: 4rem 2rem;
}

.experience h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	color: var(--text-primary);
}

.experience-item {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	transition: all 0.3s ease;
}

.experience-item:hover {
	border-color: var(--primary);
	box-shadow: 0 15px 40px rgba(240, 98, 98, 0.1);
}

.exp-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.exp-header h3 {
	font-size: 1.3rem;
}

.exp-company {
	background: rgba(240, 98, 98, 0.1);
	color: var(--primary);
	padding: 0.4rem 1rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.9rem;
}

.exp-date {
	color: var(--text-secondary);
	font-size: 0.95rem;
	font-weight: 500;
}

.exp-description {
	color: var(--text-secondary);
	margin-bottom: 1rem;
	font-size: 1rem;
}

.exp-details {
	list-style: none;
	color: var(--text-secondary);
}

.exp-details li {
	padding-left: 1.5rem;
	margin-bottom: 0.7rem;
	position: relative;
}

.exp-details li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

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

.achievement-card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
}

.achievement-card:hover {
	border-color: var(--primary);
	box-shadow: 0 15px 40px rgba(240, 98, 98, 0.1);
	transform: translateY(-5px);
}

.achievement-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	display: block;
}

.achievement-card h3 {
	color: var(--primary);
	margin-bottom: 0.8rem;
}

.achievement-card p {
	color: var(--text-secondary);
	line-height: 1.7;
}

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

.competency-category {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.8rem;
}

.competency-category h4 {
	color: var(--primary);
	font-size: 1.1rem;
	margin-bottom: 0.8rem;
}

.competency-category p {
	color: var(--text-secondary);
	line-height: 1.7;
	font-size: 0.95rem;
}

/* About */
.about {
	padding: 4rem 2rem;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 3rem;
	align-items: start;
}

.about-section {
	margin-bottom: 3rem;
}

.about-section h2 {
	font-size: 1.8rem;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
}

.about-section p {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 1rem;
	font-size: 1rem;
}

.about-list {
	list-style: none;
	margin: 1rem 0;
}

.about-list li {
	padding-left: 1.5rem;
	margin-bottom: 1rem;
	position: relative;
	color: var(--text-secondary);
	line-height: 1.7;
}

.about-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.value-card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}
.exp-tech {
	margin-bottom: 1rem;
}
.value-card:hover {
	border-color: var(--primary);
	box-shadow: 0 10px 25px rgba(240, 98, 98, 0.1);
}
.exp-subheader {
	display: flex;
}
.exp-subheader h3 {
	margin-right: 1rem;
}

.value-card h3 {
	color: var(--primary);
	margin-bottom: 0.8rem;
}

.value-card p {
	color: var(--text-secondary);
	line-height: 1.6;
	font-size: 0.95rem;
}

/* Profile Card */
.about-sidebar {
	position: sticky;
	top: 100px;
}

.profile-card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	margin-bottom: 2rem;
}

.profile-photo {
	width: 180px;
	height: 180px;
	border-radius: 12px;
	object-fit: cover;
	margin-bottom: 1.5rem;
	border: 3px solid var(--primary);
}

.profile-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
}

.profile-title {
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.profile-location {
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.profile-stats {
	display: flex;
	justify-content: space-around;
	margin-bottom: 2rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.profile-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
}

.stat-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
}

.profile-links {
	display: flex;
	flex-direction: row;
	/*gap: 0.7rem;*/
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.profile-link {
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
	border-radius: 6px;
	padding: 1rem 3.3rem;
	background: rgba(240, 98, 98, 0.05);
}

.profile-link:hover {
	color: var(--secondary);
	background: var(--primary);
	padding: 1rem 7rem;
}

.skills-summary {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2rem;
}

.skills-summary h3 {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	color: var(--text-primary);
}

.skill-group {
	margin-bottom: 1.5rem;
}

.skill-group h4 {
	color: var(--primary);
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.skill-group p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* CTA Section */
.cta-section {
	padding: 4rem 2rem;
	background: linear-gradient(
		135deg,
		rgba(240, 98, 98, 0.1) 0%,
		rgba(45, 55, 72, 0.05) 100%
	);
	text-align: center;
	margin: 3rem 0 0 0;
}

.cta-section h2 {
	font-size: 2.2rem;
	margin-bottom: 1rem;
}

.cta-section p {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.contact-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Footer */
.footer {
	background: var(--secondary);
	color: white;
	padding: 2rem 2rem;
	text-align: center;
	margin-top: 8rem;
}

.footer .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

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

.footer-links a {
	color: white;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		gap: 1rem;
		font-size: 0.9rem;
	}

	.hero-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.profile-links {
		flex-direction: column;
	}
	.profile-link:hover {
		padding: 1rem 3.3rem;
	}
	.hero-text h1 {
		font-size: 2.2rem;
	}

	.hero-image {
		max-width: 300px;
	}

	.hero-stats {
		flex-direction: column;
		gap: 1rem;
	}

	.tech-grid {
		grid-template-columns: 1fr;
	}

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

	.about-sidebar {
		position: static;
	}

	.footer .container {
		flex-direction: column;
	}

	.project-header {
		flex-direction: column;
		gap: 1rem;
	}

	.exp-header {
		flex-direction: column;
	}
	.exp-subheader {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.experience-item {
		align-items: center;
		text-align: center;
		justify-content: space-around;
	}
	.exp-header {
		align-items: center;
	}
	.exp-details {
		text-align: start;
	}
	.exp-tech {
	}
	li {
		text-align: start;
	}
}

@media (max-width: 480px) {
	.nav-container {
		padding: 0.75rem 1rem;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 1rem;
	}
	.btn-contact {
		padding: 0.3rem 0.4rem;
	}
	.nav-links {
		gap: 0.5rem;
	}

	.hero {
		padding: 3rem 1rem;
	}

	.hero-text h1 {
		font-size: 1.8rem;
	}

	.hero-text p {
		font-size: 1rem;
	}

	.hero-cta {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.container {
		padding: 0 1rem;
		align-items: center;
		text-align: center;
		justify-content: space-around;
	}

	.highlights-grid {
		grid-template-columns: 1fr;
	}

	.projects-hero h1,
	.experience-hero h1,
	.about-hero h1 {
		font-size: 2rem;
	}

	.project-card,
	.experience-item,
	.achievement-card {
		padding: 1.5rem;
	}

	.tech-grid {
		gap: 1.5rem;
	}
	.stat * {
		text-align: center;
	}
	.footer-links {
		gap: 0.7rem;
	}
	.exp-subheader {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.experience-item {
		align-items: center;
		text-align: center;
		justify-content: space-around;
	}
	.exp-header {
		align-items: center;
	}
	.exp-details {
		text-align: start;
	}
	.exp-tech {
	}
	li {
		text-align: start;
	}
	.profile-links {
		flex-direction: column;
	}
	.profile-link:hover {
		padding: 1rem 3.3rem;
	}
}
