html {
	scroll-behavior: smooth;
}

body {
	background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.16), transparent 30%), #06080f;
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.nav-link {
	color: rgba(255, 255, 255, 0.86);
	transition: color 0.2s ease;
}

.nav-link:hover {
	color: #f87171;
}

#navToggle {
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

#navToggle:active {
	transform: scale(0.97);
}

.nav-mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

#beranda {
	background-image: url('../img/arcomputer.jpeg');
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: rgba(4, 6, 12, 0.88);
}

.hero-content {
	position: relative;
	z-index: 10;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-logo-shadow {
	filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.8));
}

#beranda > a {
	z-index: 10;
}

.scroll-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.scroll-next-icon {
	display: inline-block;
	animation: scrollNextBounce 1.5s infinite;
}

@keyframes scrollNextBounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-5px);
	}
	60% {
		transform: translateY(-2px);
	}
}

.testimonial-marquee {
	position: relative;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimonial-track {
	display: flex;
	gap: 1rem;
	width: max-content;
	animation: testimonialMarqueeLeft 34s linear infinite;
	will-change: transform;
}

.testimonial-track:hover {
	animation-play-state: paused;
}

.testimonial-card {
	width: min(86vw, 24rem);
	border-radius: 0;
	backdrop-filter: blur(4px);
}

#kontak .footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

#kontak .footer-brand img {
	margin-left: auto;
	margin-right: auto;
}

#kontak .footer-brand > div:first-child,
#kontak .footer-social {
	justify-content: center;
	width: 100%;
}

@media (min-width: 1280px) {
	#kontak .footer-brand {
		min-height: 420px;
	}

	#kontak .footer-social {
		margin-top: auto;
	}
}

@keyframes testimonialMarqueeLeft {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 767px) {
	#beranda {
		min-height: calc(100svh - 73px);
		height: calc(100svh - 73px);
	}

	#beranda > div:nth-child(2) {
		height: 100%;
		display: flex;
		align-items: center;
		padding-top: 1rem;
		padding-bottom: 5rem;
	}

	.testimonial-card {
		width: min(90vw, 20rem);
	}

	.nav-mobile-menu {
		display: flex;
		position: absolute;
		top: calc(100% + 0.7rem);
		left: 1rem;
		right: 1rem;
		flex-direction: column;
		gap: 0;
		padding: 0.4rem;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 0.9rem;
		background: rgba(5, 8, 16, 0.96);
		backdrop-filter: blur(8px);
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		pointer-events: none;
		transform: translateY(-8px);
		transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.25s ease;
		z-index: 40;
	}

	.nav-mobile-menu.is-open {
		max-height: 18rem;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.nav-mobile-menu li + li {
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.nav-mobile-menu .nav-link {
		display: block;
		padding: 0.72rem 0.85rem;
		border-radius: 0.6rem;
	}

	#navToggle.is-active {
		border-color: rgba(248, 113, 113, 0.72);
		background: rgba(248, 113, 113, 0.13);
		color: #fca5a5;
	}

	#beranda .hero-content {
		transform: translateY(-1.5rem);
		gap: 0.5rem;
	}

	#beranda .hero-content > * + * {
		margin-top: 0.65rem;
	}

	#beranda .hero-logo-shadow {
		height: 13rem;
		width: 13rem;
	}

	#beranda .hero-content h1 {
		line-height: 1.12;
	}

	#beranda .hero-content p.text-lg {
		letter-spacing: 0.04em;
	}

	#beranda > a {
		display: none;
	}

	#kontak iframe {
		height: 260px !important;
		pointer-events: none;
	}
}

@media (min-width: 768px) {
	.nav-mobile-menu {
		display: flex;
		position: static;
		left: auto;
		right: auto;
		top: auto;
		max-height: none;
		opacity: 1;
		overflow: visible;
		pointer-events: auto;
		transform: none;
		padding: 0;
		border: 0;
		background: transparent;
		backdrop-filter: none;
		z-index: auto;
	}
}
