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

body {
	font-family: "Geist", sans-serif;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a:link,
a:visited {
	text-decoration: none;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
}

/* UTILITY CLASSES */
.header-display {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-display svg {
	--size: 1rem;
	width: var(--size);
	height: var(--size);
}

.header-display h2 {
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.bento-card {
	padding: 1rem;
	border-radius: 12px;
	border: 1px solid #eaeaea;
}

/* MAIN */
main {
	max-width: 56rem;
	margin: 0 auto;
	padding: 2rem 1rem;
}

/* SECTION-PROFILE */
.section-profile {
	margin-bottom: 2rem;
}

.section-profile div:first-child {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.profile-avatar {
	width: 10rem;
	height: 10rem;
	object-fit: cover;
	border-radius: 0.5rem;
	flex-shrink: 0;
}

.section-profile-info h1 {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: bold;
}

.section-profile div:first-child {
	display: flex;
}

.info-container {
	flex-grow: 1;
}

.info-container div:first-child {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.profile-name-container .name {
	font-size: 1.5rem;
}

.profile-name-container svg {
	width: 1.5rem;
	height: 1.5rem;
}

.location {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	margin-top: 0.5rem;
}

.location svg {
	width: 0.85rem;
	height: 0.85rem;
}

.status-container {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.achievement {
	display: flex;
	align-items: center;
	font-size: 0.75rem;
	line-height: 1rem;
	padding: 0 1rem;
	gap: 0.375rem;
	color: white;
	height: 2rem;
	border-radius: 0.5rem;
	background-image: linear-gradient(
		135deg,
		#2b2b2b 0%,
		#3a3a3a 50%,
		#4a4a4a 100%
	);
}

.achievement a:link,
.achievement a:visited {
	color: white;
}

.actions-container {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.resume-link,
.email-link {
	font-size: 0.75rem;
	line-height: 1rem;
	padding: 0 1rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	gap: 0.375rem;
	font-weight: 500;
	transition: all 0.2s;
}

.resume-link:hover,
.email-link:hover {
	transform: translateY(-0.125rem);
}

.achievement svg,
.resume-link svg,
.email-link svg {
	width: 1rem;
	height: 1rem;
}

.resume-link {
	background-color: #000;
	color: #fff;
}

.email-link {
	background-color: #fff;
	color: #000;
	border: 1px solid #eaeaea;
}

/* SECTION-ABOUT */
.section-about {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.5rem;
}

.about-summary {
	grid-column: span 4 / span 4;
}

.about-summary-text {
	font-size: 0.875rem;
	line-height: 1.625;
	margin-top: 8px;
}

/* EXPERIENCE */
.experience {
	grid-row: span 2 / span 2;
	grid-column: span 2 / span 2;
}

/* EXPERIENCE TIMELINE */
.experience-timeline {
	position: relative;
	margin-top: 1rem;
	padding-left: 1.25rem;
	border-left: 1px solid #e5e7eb;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.experience-item {
	position: relative;
	display: flex;
	gap: 0.75rem;
}

.timeline-dot {
	position: absolute;
	left: -1.6rem;
	top: 0.4rem;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 9999px;
	background-color: #000;
}

.experience-content h3 {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
}

.experience-date {
	font-size: 0.75rem;
	color: #6b7280;
	margin: 0.25rem 0 0.5rem;
}

.experience-content ul {
	padding-left: 1rem;
}

.experience-content li {
	font-size: 0.75rem;
	line-height: 1.25rem;
	color: #374151;
	list-style-type: disc;
}

/* TECH-STACK */
.tech-stack {
	grid-column: span 4 / span 4;
}

.tech-stack-container {
	margin-top: 8px;
}

.tech-stack-container > * + * {
	margin-top: 1rem;
}

.tech-stack-container h3 {
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.25rem;
	margin-bottom: 0.5rem;
}

.tech-stack-card-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.tech-stack-card-container span {
	font-size: 0.75rem;
	line-height: 1rem;
	padding: 0.125rem 0.5rem 0.125rem 0.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
}

/* FEATURED PROJECTS */
.featured-projects {
	grid-column: span 6 / span 6;
}

.featured-projects-container {
	margin-top: 8px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.featured-project {
	border: 1px solid #eaeaea;
	padding: 0.75rem;
	border-radius: 12px;
	transition: all 0.2s;
}

.featured-project:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

.featured-project h3 {
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.featured-project p {
	font-size: 0.75rem;
	line-height: 1rem;
}

.featured-project-description {
	margin: 4px 0;
}

.featured-project-url {
	padding: 0.25rem 0.5rem;
	border-radius: 0.375rem;
	background-color: rgb(243 244 246 / 1);
	display: inline-block;
}

/* CERTIFICATES */
.certificates {
	grid-column: span 2 / span 2;
}

.certificates-container {
	margin-top: 8px;
}

.certificates-container > * + * {
	margin-top: 0.5rem;
}

.certificate {
	padding: 0.5rem;
	background-color: rgb(243 244 246 / 1);
	display: block;
	border-radius: 0.375rem;
	transition: all 0.2s;
}

.certificate:hover {
	background-color: rgb(229 231 235 / 1);
}

.certificate-title {
	font-weight: 600;
	font-size: 0.75rem;
	line-height: 1rem;
}

.certificate-issuer {
	font-size: 11px;
}

/* SOCIAL LINKS & CONTACTS */
.social-links,
.contacts {
	grid-column: span 2 / span 2;
}

.social-links-header,
.contacts-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.social-links-header svg,
.contacts-header svg {
	width: 1rem;
	height: 1rem;
}

.social-links-header h2,
.contacts-header h2 {
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.social-links-container,
.contacts-container {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 0.25rem;
	margin-top: 8px;
}

.social-link,
.contact {
	padding: 0.375rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s;
}

.social-link:hover,
.contact:hover {
	transform: translateY(-0.125rem);
}

.social-link svg,
.contact svg {
	width: 1.25rem;
	height: 1.25rem;
}

.social-name,
.contact-name {
	font-weight: 500;
	font-size: 0.75rem;
}

/* CONTACTS */
.contacts {
	grid-column: span 2 / span 2;
}

.contacts-container {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 0.25rem;
	margin-top: 8px;
}

.contact {
	padding: 0.375rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	display: flex;
	align-items: start;
	flex-direction: column;
	gap: 0.5rem;
	transition: all 0.2s;
}

.contact div {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.social-link:hover,
.contact:hover {
	transform: translateY(-0.125rem);
}

.social-link svg,
.contact svg {
	width: 1.25rem;
	height: 1.25rem;
}

.social-name,
.contact-name {
	font-weight: 500;
	font-size: 0.75rem;
}

/* FOOTER */
.footer {
	max-width: 56rem;
	margin: 0 auto;
	padding: 2rem 1rem;
	border-top: 1px solid #eaeaea;
	margin-top: 3rem;
}

.footer div {
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer svg {
	--size: 1rem;
	width: var(--size);
	height: var(--size);
}

.footer p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-size: 0.875rem;
}

/* MOBILE TABLET — 768px */
@media (max-width: 768px) {
	/* MAIN PADDING */
	main {
		padding: 1.5rem 1rem;
	}

	/* PROFILE LAYOUT */
	.section-profile div:first-child {
		display: flex;
		align-items: flex-start;
		gap: 1rem;
	}

	/* RIGHT SIDE: INFO */
	.info-container {
		flex: 1;
		min-width: 0;
	}

	.profile-name-container .name {
		font-size: 1.25rem;
	}

	.location {
		font-size: 0.75rem;
	}

	/* STATUS */
	.status-container {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.status {
		font-size: 0.75rem;
	}

	.achievement {
		width: 100%;
		justify-content: flex-start;
		font-size: 0.7rem;
		margin-top: 0.75rem;
	}

	/* ACTION BUTTONS */
	.actions-container {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		gap: 0.5rem;
		margin-top: 0.75rem;
	}

	.resume-link,
	.email-link {
		width: 100%;
		text-align: center;
	}

	/* ABOUT SECTION — STACK CARDS */
	.section-about {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.about-summary,
	.experience,
	.tech-stack,
	.certificates,
	.social-links,
	.contacts,
	.featured-projects {
		grid-column: span 1;
	}

	/* FEATURED PROJECTS */
	.featured-projects-container {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	/* TECH STACK */
	.tech-stack-card-container {
		gap: 0.5rem;
	}

	/* CONTACTS */
	.contact {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* MOBILE PHONES — 480px */
@media (max-width: 480px) {
	.status {
		font-size: 0.65rem;
	}

	.achievement {
		font-size: 0.6rem;
		margin-top: 0.75rem;
	}

	.about-summary-text {
		font-size: 0.75rem;
	}

	.experience-content li {
		font-size: 0.7rem;
	}

	.featured-project h3 {
		font-size: 0.75rem;
	}

	.featured-project p {
		font-size: 0.7rem;
	}
}
