.hero {
	display: flex;
	flex-direction: column;
	width: calc(100% - 4em);
	max-width: 33em;
	padding-top: 12em;
	margin: 0 auto;
	text-align: center;
	gap: 2em;
	user-select: none;
	-webkit-user-select: none;

	>p {
		max-width: 31rem;
		font-size: 1.25em;
		margin: 0 auto;
	}
}

.hero-buttons {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1em;
	z-index: 1;
}

.preview-container {
	width: 100%;
	margin-top: -9em;
	padding-top: 9em;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 95%);
}

.preview {
	display: block;
	width: 75em;
	max-width: calc(100% - 2em);
	margin: 3em auto;
	filter: drop-shadow(0 -1.5em 3em #ae51ff59);
}

@media (max-width: 48em) {
	h1 {
		font-size: 3em;
	}

	.hero {
		>p {
			font-size: 1em;
		}
	}
}

/* Carousel Styles */
@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.carousel-wrapper {
	position: relative;
	overflow: hidden;
	padding: 2em 0;
	margin-top: 5em;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);
	user-select: none;
	-webkit-user-select: none;
}

.carousel-mask-left {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 15vw;
	background: linear-gradient(to right, #09090b 0%, transparent 100%);
	z-index: 10;
	pointer-events: none;
}

.carousel-mask-right {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 15vw;
	background: linear-gradient(to left, #09090b 0%, transparent 100%);
	z-index: 10;
	pointer-events: none;
}

.animate-scroll {
	display: flex;
	width: max-content;
	animation: scroll 30s linear infinite;
	will-change: transform;
}

.carousel-item {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding-right: 4em;
	transition: transform 0.3s ease;
	opacity: 0.5;
	color: #dde4fd80;
}

.carousel-item:hover {
	transform: scale(1.1);
	opacity: 1;
	color: #ffffff;
}

.carousel-item svg,
.carousel-item img {
	height: 1.75em;
	width: auto;
}

.carousel-item span {
	font-size: 1.125em;
	font-weight: 500;
	white-space: nowrap;
}

/* Portfolio Section Styles */
.portfolio-section {
	position: relative;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);
	min-height: 80vh;
	background-image: url('./backdrop.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 5em;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-glass {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 80vh;
	background: rgba(9, 9, 11, 0.35);
	backdrop-filter: blur(8px);
	padding: 6em 5vw;
	box-sizing: border-box;
}

.portfolio-content {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	text-align: left;
}

.portfolio-title {
	font-family: Epilogue, sans-serif;
	font-size: 3em;
	margin-bottom: 0.2em;
	margin-top: 0;
}

.portfolio-subtitle {
	color: #dde4fd80;
	font-size: 1.25em;
	margin-bottom: 3em;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2em;
}

.portfolio-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1.5em;
	padding: 2em;
	transition: all 0.3s ease;
	cursor: pointer;
}

.portfolio-card:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-card-header {
	display: flex;
	align-items: center;
	gap: 1em;
	margin-bottom: 1.5em;
}

.portfolio-card-header svg {
	width: 1.8em;
	height: 1.8em;
	color: #ffffff;
}

.portfolio-card-title {
	font-size: 1.25em;
	font-weight: 600;
	margin: 0;
	color: #ffffff;
}

.portfolio-card-list {
	list-style: none;
	padding: 0;
	margin: 0;
	color: #dde4fd80;
	font-size: 0.95em;
}

.portfolio-card-list li {
	margin-bottom: 0.8em;
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.portfolio-card-list li::before {
	content: "•";
	color: #ffffff;
}

/* Projects Section Styles */
.projects-section {
	position: relative;
	padding: 6em 5vw;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.projects-title {
	font-family: Epilogue, sans-serif;
	font-size: 3em;
	margin-bottom: 1em;
	color: #fff;
	margin-top: 0;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 2em;
}

.project-card {
	background: rgba(9, 9, 11, 0.6);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1.5em;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.project-card:hover {
	background: rgba(9, 9, 11, 0.8);
	border-color: rgba(255, 255, 255, 0.2);
}

.project-image-container {
	width: 100%;
	padding: 1.5em;
	box-sizing: border-box;
	background: transparent;
}

.project-image {
	width: 100%;
	height: 450px;
	border-radius: 1em;
	object-fit: contain;
	display: block;
}

.project-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 450px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 1em;
	color: #dde4fd80;
	font-weight: 500;
	font-size: 1.2em;
}

.project-info {
	padding: 1.5em;
	display: flex;
	flex-direction: column;
}

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

.project-title {
	font-size: 1.5em;
	font-weight: 600;
	margin: 0;
	color: #ffffff;
}

.project-status {
	color: #dde4fd80;
	font-size: 0.9em;
	margin: 0.2em 0 0 0;
}

.project-description {
	color: #dde4fd80;
	font-size: 0.95em;
	line-height: 1.5;
	margin: 0;
}

.project-buttons {
	display: flex;
	gap: 0.5em;
}

.project-btn {
	width: 3em;
	height: 3em;
	border-radius: 0.5em;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.05);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

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

.project-btn svg {
	width: 1.2em;
	height: 1.2em;
}