@import url('fonts.css');

:root {
	--color-bg: #000000;
	--color-text: #ffffff;
	--color-text-light: rgba(255, 255, 255, 0.6);
	--color-text-grey: rgba(255, 255, 255, 0.7);
	--color-footer-bg: rgba(0, 0, 0, 0.85);
	--color-footer-border: rgba(255, 255, 255, 0.1);
	--nav-gap: 30px;
	--footer-gap: 20px;
	--font-main: "Poppins", sans-serif;
	--font-logo: "Yukarimobile", sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	font-family: var(--font-main);
	background: var(--color-bg);
	color: var(--color-text);
	overflow: -moz-scrollbars-none;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

body::-webkit-scrollbar {
	width: 0;
	height: 0;
}

main {
	flex: 1;
}

/* NAVBAR */
nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	backdrop-filter: blur(8px);
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 40px;
	box-sizing: border-box;
	transition: all 0.4s ease;
	z-index: 1000;
}

.logo {
	font-family: var(--font-logo);
	font-size: 32px;
	color: var(--color-text);
	text-decoration: none;
	display: inline-block;
	position: relative;
	transition: all 0.3s ease;
}

.nav-links {
	display: flex;
	gap: var(--nav-gap);
}

.nav-links a {
	color: var(--color-text);
	text-decoration: none;
	font-weight: 400;
	position: relative;
	display: inline-block;
	transition: color 0.2s ease;
	padding-left: 0.7ch;
	padding-right: 0.7ch;
}

.nav-links a::before,
.nav-links a::after {
	content: "";
	position: absolute;
	opacity: 0;
	transition: opacity 0.2s ease;
	font-weight: 400;
}

.nav-links a::before {
	left: 0;
	text-align: right;
}

.nav-links a::after {
	right: 0;
	text-align: left;
}

.nav-links a:hover::before {
	content: "[";
	opacity: 1;
}

.nav-links a:hover::after {
	content: "]";
	opacity: 1;
}

/* Footer */
footer {
	background: var(--color-footer-bg);
	backdrop-filter: blur(12px);
	color: var(--color-text);
	padding: 40px 20px 20px 20px;
	border-top: 1px solid var(--color-footer-border);
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: var(--footer-gap);
	align-items: flex-start;
}

.footer-logo {
	font-family: var(--font-logo);
	font-size: 42px;
	margin-right: 40px;
	flex-shrink: 0;
}

.footer-section {
	display: flex;
	flex-direction: column;
}

.footer-section h4 {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
	color: var(--color-text-grey);
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 6px;
}

.footer-section ul li a {
	color: var(--color-text);
	text-decoration: none;
	font-weight: 400;
	position: relative;
	display: inline-block;
	padding-left: 0.5ch;
	padding-right: 0.5ch;
	transition: color 0.2s ease;
}

.footer-section ul li a::before,
.footer-section ul li a::after {
	content: "";
	position: absolute;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.footer-section ul li a::before {
	left: 0;
	text-align: right;
}

.footer-section ul li a::after {
	right: 0;
	text-align: left;
}

.footer-section ul li a:hover::before {
	content: "[";
	opacity: 1;
}

.footer-section ul li a:hover::after {
	content: "]";
	opacity: 1;
}

.footer-bottom {
	margin-top: 30px;
	font-size: 12px;
	text-align: left;
	color: var(--color-text-light);
}

/* RESPONSIVE MOBILE NAVBAR */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.hamburger div {
	width: 25px;
	height: 3px;
	background: var(--color-text);
}

@media (max-width: 768px) {
	.nav-links {
		position: absolute;
		top: 70px;
		right: 0;
		flex-direction: column;
		background: var(--color-bg);
		width: 200px;
		padding: 20px;
		gap: 15px;
		display: none;
		border-left: 1px solid var(--color-footer-border);
	}

	.nav-links.active {
		display: flex;
	}

	.hamburger {
		display: flex;
	}

	nav {
		padding: 18px 20px;
	}
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
	.footer-container {
		flex-direction: column;
		gap: 20px;
	}

	.footer-logo {
		margin-bottom: 20px;
	}
}

.section-particle-net {
	position: relative;
	width: 100%;
	height: 100vh;
	background: var(--color-bg);
	overflow: hidden;
	font-family: var(--font-main);
	color: var(--color-text);
}

.section-particle-net__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.section-particle-net__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px 60px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 80%);
	color: var(--color-text);
}

.section-particle-net__content h2 {
	font-size: 48px;
	margin-bottom: 20px;
}

.section-particle-net__logo-text {
	font-family: var(--font-logo);
	display: inline;
	font-size: 56px;
}

.section-particle-net__content p {
	color: var(--color-text-light);
	font-size: 18px;
	max-width: 500px;
}

/* VALUES SECTION */
.section-values {
	position: relative;
	background: var(--color-bg);
	color: var(--color-text);
	padding: 120px 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border-top: 1px solid var(--color-footer-border);
}

.section-values__inner {
	max-width: 1000px;
	width: 100%;
	text-align: center;
}

.section-values__inner h2 {
	font-size: 42px;
	margin-bottom: 20px;
}

.section-values__desc {
	font-size: 18px;
	color: var(--color-text-light);
	margin-bottom: 60px;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.section-values__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.value-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 40px 30px;
	backdrop-filter: blur(6px);
	transition: transform 0.2s ease, background 0.2s ease;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
}

.value-card:hover {
	background: rgba(255, 255, 255, 0.06);
}

.value-card h3 {
	font-size: 22px;
	margin-bottom: 10px;
	color: var(--color-text);
}

.value-card p {
	color: var(--color-text-light);
	font-size: 16px;
	line-height: 1.5;
}

/* OPEN SOURCE SECTION (with particles) */
.section-open-source {
	position: relative;
	width: 100%;
	min-height: 70vh;
	background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(15, 15, 15, 1) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 40px;
	box-sizing: border-box;
	color: var(--color-text);
	text-align: center;
	overflow: hidden;
	border-top: 1px solid var(--color-footer-border);
}

.section-open-source__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
	opacity: 0.25;
}

.section-open-source__highlight {
	border-bottom: 5px dotted var(--color-text-grey);
	padding-bottom: 2px;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.section-open-source__highlight:hover {
	color: var(--color-text-grey);
	border-color: var(--color-text-light);
	cursor: default;
}

.section-open-source__love {
	color: #a371f7;
	font-weight: 600;
	transition: color 0.3s ease;
}

.section-open-source__love:hover {
	color: #c29fff;
}

.section-open-source__inner {
	position: relative;
	z-index: 2;
	max-width: 800px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 80px 60px;
	backdrop-filter: blur(10px);
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.section-open-source__inner h2 {
	font-size: 42px;
	margin-bottom: 20px;
}

.section-open-source__desc {
	color: var(--color-text-light);
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 40px;
}

.btn-open-source {
	display: inline-block;
	background: none;
	border: 1px solid var(--color-footer-border);
	color: var(--color-text);
	padding: 8px 20px;
	font-size: 15px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.btn-open-source:hover {
	background: rgba(255, 255, 255, 0.1);
}

.btn-open-source:active {
	background: rgba(255, 255, 255, 0.15);
	transform: scale(0.97);
}

@media (max-width: 768px) {
	.section-open-source__inner {
		padding: 60px 30px;
	}

	.section-open-source__inner h2 {
		font-size: 32px;
	}

	.section-open-source__desc {
		font-size: 16px;
	}
}

@media (max-width: 768px) {
	.section-open-source__inner {
		padding: 60px 30px;
	}

	.section-open-source__inner h2 {
		font-size: 32px;
	}

	.section-open-source__desc {
		font-size: 16px;
	}
}

/* Responsive adjustments */
@media (max-width: 900px) {
	.section-values__grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.section-values {
		padding: 80px 30px;
	}

	.section-values__inner h2 {
		font-size: 32px;
	}

	.section-values__desc {
		font-size: 16px;
	}
}

/* CONTACT SECTION */
.section-contact {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 40px;
	box-sizing: border-box;
	color: var(--color-text);
}

.section-contact__content {
	max-width: 700px;
	width: 100%;
	text-align: left;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 60px 50px;
	backdrop-filter: blur(10px);
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.section-contact__content h2 {
	font-size: 48px;
	margin-bottom: 20px;
}

.section-contact__logo-text {
	font-family: var(--font-logo);
	font-size: 56px;
}

.section-contact__content p {
	color: var(--color-text-light);
	font-size: 18px;
	margin-bottom: 40px;
}

.section-contact__info {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact-item {
	display: flex;
	flex-direction: column;
}

.contact-label {
	color: var(--color-text-grey);
	font-size: 14px;
	text-transform: uppercase;
	margin-bottom: 6px;
	letter-spacing: 0.05em;
}

.contact-value {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	flex-wrap: wrap;
}

.contact-value a {
	color: var(--color-text);
	text-decoration: none;
	border-bottom: 1px dashed var(--color-text-grey);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-value a:hover {
	color: var(--color-text-grey);
	border-color: var(--color-text-grey);
}

.copy-button {
	background: none;
	border: 1px solid var(--color-footer-border);
	color: var(--color-text);
	padding: 4px 12px;
	font-size: 14px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.copy-button:hover {
	background: rgba(255, 255, 255, 0.1);
}

.copy-button.copied {
	color: #00ffae;
	border-color: #00ffae;
}

@media (max-width: 768px) {
	.section-contact__content {
		padding: 40px 30px;
	}

	.section-contact__content h2 {
		font-size: 36px;
	}

	.section-contact__logo-text {
		font-size: 42px;
	}

	.section-contact__content p {
		font-size: 16px;
	}
}

.contact-value a[href^="mailto:"] {
	border-bottom: 1px dashed var(--color-text-grey);
	text-decoration: none;
	color: var(--color-text);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-value a[href^="mailto:"]:hover {
	color: var(--color-text-grey);
	border-color: var(--color-text-grey);
}

/* 404 SECTION */
.section-404 {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 40px;
	box-sizing: border-box;
	overflow: hidden;
}

.section-404__content {
	z-index: 2;
	max-width: 700px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 80px 60px;
	backdrop-filter: blur(10px);
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.section-404__content h1 {
	font-family: var(--font-logo);
	font-size: 120px;
	letter-spacing: 3px;
	margin: 0;
	color: var(--color-text);
}

.section-404__content h2 {
	font-size: 32px;
	font-weight: 600;
	margin: 10px 0 20px 0;
}

.section-404__content p {
	color: var(--color-text-light);
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 40px;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
}

/* Return button (matches copy-button style) */
.btn-return {
	display: inline-block;
	background: none;
	border: 1px solid var(--color-footer-border);
	color: var(--color-text);
	padding: 8px 20px;
	font-size: 15px;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-return:hover {
	background: rgba(255, 255, 255, 0.1);
}

.btn-return:active {
	background: rgba(255, 255, 255, 0.15);
	transform: scale(0.97);
}

@media (max-width: 768px) {
	.section-404__content {
		padding: 60px 30px;
	}

	.section-404__content h1 {
		font-size: 80px;
	}

	.section-404__content h2 {
		font-size: 26px;
	}

	.section-404__content p {
		font-size: 16px;
	}
}

/* SKILLS SECTION */
.section-skills {
	position: relative;
	width: 100%;
	background: rgba(15, 15, 15, 0.95);
	padding: 100px 40px;
	box-sizing: border-box;
	color: var(--color-text);
	border-top: 1px solid var(--color-footer-border);
}

.section-skills__inner {
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.section-skills__inner h2 {
	font-size: 42px;
	margin-bottom: 20px;
}

.section-skills__desc {
	font-size: 18px;
	color: var(--color-text-light);
	margin-bottom: 60px;
	line-height: 1.6;
}

.section-skills__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 40px;
	justify-items: center;
}

.skill-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 20px;
	width: 120px;
	height: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background 0.2s ease;
}

.skill-card img {
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
}

.skill-card span {
	font-size: 16px;
	color: var(--color-text);
}

.skill-card:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-6px);
}

@media (max-width: 768px) {
	.section-skills {
		padding: 80px 20px;
	}

	.section-skills__inner h2 {
		font-size: 32px;
	}

	.section-skills__desc {
		font-size: 16px;
	}
}

/* PROJECTS SECTION */
.section-projects {
	position: relative;
	width: 100%;
	background: var(--color-bg);
	color: var(--color-text);
	padding: 120px 60px;
	border-top: 1px solid var(--color-footer-border);
	box-sizing: border-box;
}

.section-projects__inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.section-projects__inner h2 {
	font-size: 42px;
	margin-bottom: 20px;
}

.section-projects__highlight {
	color: #a371f7;
	transition: color 0.3s ease;
}

.section-projects__highlight:hover {
	color: #c29fff;
}

.section-projects__desc {
	font-size: 18px;
	color: var(--color-text-light);
	margin-bottom: 60px;
	line-height: 1.6;
}

/* Bento grid layout */
.projects-bento {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	grid-auto-rows: 1fr;
	gap: 30px;
	align-items: stretch;
}

/* Card styles */
.project-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-footer-border);
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.25s ease, background 0.25s ease;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
	text-align: left;
}

.project-card:hover {
	background: rgba(255, 255, 255, 0.06);
}

.project-card__image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-bottom: 1px solid var(--color-footer-border);
}

.project-card__content {
	flex: 1;
	padding: 25px 25px 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.project-card__title {
	font-size: 22px;
	margin-bottom: 12px;
	color: var(--color-text);
}

.project-card__desc {
	flex-grow: 1;
	font-size: 16px;
	color: var(--color-text-light);
	line-height: 1.5;
	margin-bottom: 25px;
}

/* Links inside card */
.project-card__links {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.btn-project {
	display: inline-block;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--color-footer-border);
	color: var(--color-text);
	padding: 8px 18px;
	font-size: 15px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.btn-project:hover {
	background: rgba(255, 255, 255, 0.1);
}

.btn-project.btn-outline {
	background: none;
	border: 1px dashed var(--color-footer-border);
}

.btn-project.btn-outline:hover {
	border-style: solid;
}

/* Responsive */
@media (max-width: 900px) {
	.section-projects {
		padding: 80px 30px;
	}

	.section-projects__inner h2 {
		font-size: 32px;
	}

	.section-projects__desc {
		font-size: 16px;
	}

	.project-card__image {
		height: 180px;
	}
}

.section-team-member {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 40px;
	box-sizing: border-box;
	color: var(--color-text);
}

.section-team-member__content {
	max-width: 900px;
	width: 100%;
	text-align: left;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 60px 50px;
	backdrop-filter: blur(10px);
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.team-member-header {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	align-items: flex-start;
}

.team-member__photo {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--color-footer-border);
}

.team-member__info {
	flex: 1;
	min-width: 250px;
}

.team-member__name {
	font-size: 36px;
	margin: 0 0 10px 0;
}

.team-member__title {
	font-size: 14px;
	font-weight: normal;
	color: var(--color-text-light);
	margin: 0 0 5px 0;
	margin-top: -20px;
}

.team-member__desc {
	font-size: 16px;
	color: var(--color-text-grey);
	margin-bottom: 20px;
	line-height: 1.6;
}

.team-member__socials {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}

.team-member__socials a {
	color: var(--color-text);
	text-decoration: none;
	border-bottom: 1px dashed var(--color-text-grey);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.team-member__socials a:hover {
	color: var(--color-text-grey);
	border-color: var(--color-text-grey);
}

.team-member__contact {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	color: var(--color-text-grey);
	text-transform: uppercase;
}

.team-member__contact a {
	display: inline-block;
	color: var(--color-text);
	text-decoration: none;
	border-bottom: 1px dashed var(--color-text-grey);
	text-transform: lowercase;
	font-size: 16px;
}

.team-member__contact a:hover {
	color: var(--color-text-light);
	border-color: var(--color-text-light);
}

.team-member-skills {
	margin-top: 40px;
}

.team-member-skills h3 {
	font-size: 24px;
	margin-bottom: 20px;
}

.team-member-skills__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15px, 2fr));
	gap: 20px;
}

.skill-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--color-footer-border);
	border-radius: 8px;
	padding: 5px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.2s ease, background 0.2s ease;
}

.skill-card span {
	font-size: 14px;
	color: var(--color-text);
}

.skill-card:hover {
	background: rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
	.section-team-member__content {
		padding: 40px 30px;
	}

	.team-member-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 25px;
	}

	.team-member__photo {
		width: 150px;
		height: 150px;
	}

	.team-member__name {
		font-size: 28px;
	}

	.team-member__title {
		font-size: 18px;
	}
}

.section-team-member__content h2 {
	font-size: 48px;
	margin-bottom: 20px;
	text-align: left;
}

.section-team-member__content p {
	font-size: 18px;
	color: var(--color-text-light);
	text-align: left;
	margin-bottom: 50px;
}

.snow-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.section-particle-net {
	position: relative;
	overflow: hidden;
}

.section-particle-net__content {
	position: relative;
	z-index: 1;
}

.status-badge {
	margin-top: 8px;
}

.status-badge img {
	display: block;
	height: 28px;
	max-width: 100%;
}