:root {
	--primary-color: #667BC6;
	--secondary-color: #FF6B6B;
	--dark-color: #1a1a1a;
	--light-color: #f5f5f5;
	--text-color: #333;
	--border-color: #e0e0e0;
	--transition: all 0.3s ease;
}

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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: #fff;
}

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

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
}

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

.nav-links a {
	color: var(--text-color);
	text-decoration: none;
	font-weight: 500;
	position: relative;
	transition: var(--transition);
}

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

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

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

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: var(--text-color);
	margin: 5px 0;
	border-radius: 3px;
	transition: var(--transition);
}

/* Hero Section */
.hero {
	margin-top: 80px;
	min-height: calc(100vh - 80px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 4rem;
	padding: 4rem 0;
	background: linear-gradient(135deg, rgba(102, 123, 198, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.hero-content {
	animation: slideInLeft 0.8s ease;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--dark-color);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.5rem;
	color: var(--primary-color);
	font-weight: 600;
	margin-bottom: 1rem;
}

.hero-description {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 2rem;
	max-width: 500px;
}

.cta-button {
	display: inline-block;
	background: linear-gradient(135deg, var(--primary-color), #7C8FD9);
	color: white;
	padding: 1rem 2.5rem;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: var(--transition);
	box-shadow: 0 5px 15px rgba(102, 123, 198, 0.3);
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(102, 123, 198, 0.4);
}

.hero-image {
	position: relative;
	height: 400px;
	animation: slideInRight 0.8s ease;
}
.animated-shape {
	width: 300px;
	height: 300px;

	/* gabungkan gradient + gambar */
	background:
		linear-gradient(135deg, var(--primary-color), var(--secondary-color)),
		url("../images/profile.jpeg");

	background-size: cover;
	background-position: center;
	background-blend-mode: overlay; /* bisa: overlay | soft-light | multiply */

	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: float 6s ease-in-out infinite;
	box-shadow: 0 20px 40px rgba(102, 123, 198, 0.2);
	overflow: hidden;
}

.hero-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
	transform: scale(1.02);
	transition: transform 0.6s ease;
}

.animated-shape:hover .hero-avatar {
	transform: scale(1.06);
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes float {
	0%, 100% {
		transform: translate(-50%, -50%);
	}
	50% {
		transform: translate(-50%, -60%);
	}
}

/* Sections */
section {
	padding: 4rem 0;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 3rem;
	color: var(--dark-color);
	position: relative;
	padding-bottom: 1rem;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 2px;
}

/* About Section */
.about {
	background: var(--light-color);
}

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

.about-text p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 2rem;
	line-height: 1.8;
}

.skills h3 {
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
	color: var(--dark-color);
}

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

.skill-badge {
	background: white;
	padding: 0.8rem 1.5rem;
	border-radius: 30px;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	font-weight: 600;
	text-align: center;
	transition: var(--transition);
}

.skill-badge:hover {
	background: var(--primary-color);
	color: white;
}

.about-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.stat-item {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: var(--transition);
}

.stat-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-number {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.stat-label {
	color: #999;
	font-size: 1rem;
}

/* Projects Section */
.projects {
	background: #fff;
}

.filter-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 0.8rem 1.5rem;
	border: 2px solid var(--border-color);
	background: white;
	color: var(--text-color);
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

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

.project-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: var(--transition);
	display: none;
	animation: fadeIn 0.5s ease;
}

.project-card.active {
	display: block;
}

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

.project-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
	height: 200px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition);
}

.project-card:hover .project-overlay {
	opacity: 1;
}

.project-link {
	color: white;
	text-decoration: none;
	padding: 0.8rem 1.5rem;
	border: 2px solid white;
	border-radius: 5px;
	font-weight: 600;
	transition: var(--transition);
}

.project-link:hover {
	background: white;
	color: var(--primary-color);
}

.project-info {
	padding: 1.5rem;
}

.project-info h3 {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

.project-info p {
	color: #666;
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

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

.tag {
	background: var(--light-color);
	color: var(--primary-color);
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

/* Services Section */
.services {
	background: var(--light-color);
}

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

.service-card {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.service-card h3 {
	font-size: 1.3rem;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.service-card p {
	color: #666;
	line-height: 1.6;
}

/* Contact Section */
.contact {
	background: #fff;
}

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

.contact-info {
	display: grid;
	gap: 2rem;
}

.contact-item h3 {
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.contact-item a,
.contact-item p {
	color: #666;
	text-decoration: none;
	font-size: 1rem;
}

.contact-item a:hover {
	color: var(--primary-color);
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-link {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background: var(--primary-color);
	color: white;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
}

.social-link:hover {
	background: var(--secondary-color);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-form input,
.contact-form textarea {
	padding: 1rem;
	border: 2px solid var(--border-color);
	border-radius: 5px;
	font-family: inherit;
	font-size: 1rem;
	transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(102, 123, 198, 0.1);
}

.submit-btn {
	padding: 1rem 2rem;
	background: linear-gradient(135deg, var(--primary-color), #7C8FD9);
	color: white;
	border: none;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 123, 198, 0.3);
}

/* Footer */
.footer {
	background: var(--dark-color);
	color: white;
	padding: 3rem 0 1rem;
}

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

.footer-section h3 {
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.footer-section p,
.footer-section a {
	color: #ccc;
	text-decoration: none;
	line-height: 1.8;
	transition: var(--transition);
}

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

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

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #999;
}

/* Responsive */
@media (max-width: 768px) {
	.hero {
		grid-template-columns: 1fr;
		margin-top: 80px;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-image {
		display: none;
	}

	.nav-links {
		display: none;
	}

	.hamburger {
		display: flex;
	}

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

	.projects-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}

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

	.section-title {
		font-size: 2rem;
	}

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

	.stat-item {
		padding: 1rem;
	}

	.stat-number {
		font-size: 1.8rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 1.5rem;
	}

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

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

	.filter-buttons {
		gap: 0.5rem;
	}

	.filter-btn {
		padding: 0.6rem 1rem;
		font-size: 0.9rem;
	}

	.contact-content {
		gap: 1.5rem;
	}
}

