:root {
	--bg: #0f172a;
	--bg-soft: #f8fafc;
	--text: #1f2937;
	--text-light: #6b7280;
	--primary: #22c55e;
	--primary-dark: #16a34a;
	--white: #ffffff;
	--border: #e5e7eb;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', sans-serif;
	color: var(--text);
	background: var(--white);
	scroll-behavior: smooth;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	width: min(1120px, 92%);
	margin: 0 auto;
}

.topbar {
	background: #0b1220;
	color: #cbd5e1;
	font-size: 0.86rem;
}

.topbar a {
	color: #cbd5e1;
}

.topbar a:hover {
	color: #ffffff;
}

.topbar-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	padding: 0.6rem 0;
	justify-content: space-between;
}

.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 74px;
	gap: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand img {
	display: block;
	height: 54px;
	width: auto;
}

@media (max-width: 768px) {
	.brand img {
		height: 44px;
	}
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.nav-links a {
	padding: 0.5rem 0.4rem;
	font-size: 0.95rem;
	color: #0f172a;
}

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

.nav-links a.is-active {
	color: #16a34a;
	font-weight: 700;
}

.mobile-toggle {
	display: none;
	border: 1px solid var(--border);
	background: var(--white);
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
}

.hero {
	padding: 5rem 0 4rem;
	background-image:
		linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.45)),
		url('/assets/image/urunler/enjeksiyon-makinesi.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: center;
}

.eyebrow {
	display: block;
	padding: 0;
	background: transparent;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0 0 0.55rem 0;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0 0 0.9rem 0;
	line-height: 1.25;
	color: #0f172a;
}

h1 {
	font-size: clamp(2rem, 3.6vw, 3rem);
}

h2 {
	font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

.hero-text,
.lead {
	color: var(--text-light);
	line-height: 1.7;
	max-width: 66ch;
}

.hero h1,
.hero .hero-text {
	color: #f8fafc;
}

.hero-actions {
	display: flex;
	gap: 0.8rem;
	margin-top: 1.3rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1.2rem;
	border-radius: 10px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
}

.btn-primary {
	background: var(--primary);
	color: #06210f;
}

.btn-primary:hover {
	background: var(--primary-dark);
	color: var(--white);
}

.btn-secondary {
	border-color: #d1d5db;
	color: #0f172a;
	background: #f8fafc;
}

.btn-secondary:hover {
	background: #eef2f7;
}

.hero-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.35rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hero-card ul {
	margin: 0;
	padding-left: 1rem;
	color: var(--text-light);
	line-height: 1.8;
}

.section {
	padding: 3rem 0;
}

.section-alt {
	background: var(--bg-soft);
}

.section-head {
	margin-bottom: 1rem;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.home-services {
	position: relative;
	background-image:
		linear-gradient(rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.62)),
		url('/assets/image/urunler/0de80689-c5f9-484b-8e8f-20e07a0adcc8.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.home-services .section-head h2 {
	color: #f8fafc;
}

.card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1rem;
}

.card p {
	margin: 0;
	color: var(--text-light);
	line-height: 1.7;
}

.metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.product-slider {
	margin-top: 1.2rem;
	position: relative;
	overflow: hidden;
}

.product-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 260px;
	gap: 0.7rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	scroll-snap-type: x mandatory;
	cursor: grab;
	touch-action: pan-y;
}

.product-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.product-track::-webkit-scrollbar {
	height: 0;
}

.product-track::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 999px;
}

.product-card {
	width: 260px;
	min-width: 260px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	scroll-snap-align: start;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
	cursor: zoom-in;
}

.product-image {
	display: block;
	width: 100%;
	height: 190px;
	aspect-ratio: auto;
	object-fit: cover;
	background: #e2e8f0;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

.gallery-card {
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--white);
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
	cursor: zoom-in;
	display: grid;
}

.gallery-card .product-image {
	width: 100%;
	height: 100%;
	min-height: 180px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.empty-state {
	display: grid;
	place-items: center;
	color: #64748b;
	font-weight: 600;
	background: linear-gradient(135deg, #e2e8f0 0, #cbd5e1 100%);
}

.metric {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1rem;
	text-align: center;
}

.metric strong {
	display: block;
	font-size: 1.45rem;
	color: #047857;
	margin-bottom: 0.3rem;
}

.metric span {
	color: var(--text-light);
	font-size: 0.92rem;
}

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

.split-media {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #dbe2ea;
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.split-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.split-content .info-box {
	margin-top: 1rem;
}

.info-box {
	border: 1px solid #dbe2ea;
	background: #f8fafc;
	border-radius: 10px;
	padding: 1.2rem;
	color: #334155;
	font-weight: 500;
}

.news-list {
	display: grid;
	gap: 0.75rem;
}

.news-item {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 1rem;
	padding: 0.85rem;
	border: 1px solid #dbe2ea;
	border-radius: 12px;
	background: #ffffff;
}

.news-image-wrap {
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e2e8f0;
}

.news-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-content h3 {
	margin-bottom: 0.6rem;
}

.news-content p {
	margin: 0 0 0.55rem;
	color: var(--text-light);
	line-height: 1.6;
}

.news-content ul {
	margin: 0 0 0.55rem;
	padding-left: 1.15rem;
	color: var(--text-light);
	line-height: 1.6;
}

.section-contact {
	background: #0f172a;
	color: #e2e8f0;
}

.section-contact h1,
.section-contact h2,
.section-contact .eyebrow {
	color: #f8fafc;
}

.section-contact .eyebrow {
	background: transparent;
	color: #cbd5e1;
}

.contact-intro {
	margin: 0 0 1rem;
	line-height: 1.7;
	color: #cbd5e1;
}

.contact-details {
	display: grid;
	gap: 0.55rem;
	margin-bottom: 1.2rem;
	padding: 0.95rem;
	border: 1px solid #334155;
	border-radius: 10px;
	background: #0b1220;
}

.contact-details p {
	margin: 0;
	color: #e2e8f0;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.contact-form label {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-weight: 500;
}

.contact-form .full {
	grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border-radius: 10px;
	border: 1px solid #334155;
	background: #0b1220;
	color: #f8fafc;
	padding: 0.75rem 0.85rem;
	font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid #16a34a;
	border-color: transparent;
}

.alert {
	margin-bottom: 1rem;
	padding: 0.8rem 0.95rem;
	border-radius: 10px;
	font-weight: 600;
}

.alert-success {
	background: #dcfce7;
	color: #166534;
}

.alert-error {
	background: #fee2e2;
	color: #991b1b;
}

.footer {
	background: #020617;
	color: #cbd5e1;
	padding: 1.35rem 0;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.6rem;
	font-size: 0.9rem;
}

.footer-signature a {
	color: #f8fafc;
	font-weight: 600;
}

.footer-signature a:hover {
	color: #86efac;
}

.image-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	z-index: 200;
}

.image-modal.is-open {
	display: flex;
}

.image-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.8);
}

.image-modal-content {
	position: relative;
	z-index: 1;
	width: min(1080px, 96vw);
	max-height: 92vh;
	padding: 0.5rem;
	border-radius: 12px;
	background: #0b1220;
	border: 1px solid #1e293b;
}

.image-modal-img {
	display: block;
	width: 100%;
	max-height: calc(92vh - 1rem);
	object-fit: contain;
	border-radius: 10px;
}

.image-modal-close {
	position: absolute;
	top: -0.6rem;
	right: -0.6rem;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 999px;
	background: #ffffff;
	color: #111827;
	font-weight: 700;
	cursor: pointer;
}

.whatsapp-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #25d366;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
	z-index: 180;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 26px rgba(0, 0, 0, 0.32);
}

.whatsapp-float svg {
	width: 30px;
	height: 30px;
}

@media (max-width: 960px) {
	.hero-grid,
	.cards,
	.gallery-grid,
	.metrics,
	.split {
		grid-template-columns: 1fr 1fr;
	}

	.cards .card:last-child,
	.metrics .metric:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.mobile-toggle {
		display: inline-flex;
	}

	.nav-links {
		position: absolute;
		top: 74px;
		left: 0;
		right: 0;
		background: #ffffff;
		padding: 1rem;
		border-bottom: 1px solid var(--border);
		flex-direction: column;
		display: none;
	}

	.nav-links.is-open {
		display: flex;
	}

	.hero {
		padding-top: 3rem;
	}

	.hero-grid,
	.cards,
	.gallery-grid,
	.metrics,
	.split,
	.contact-form {
		grid-template-columns: 1fr;
	}

	.news-item {
		grid-template-columns: 1fr;
	}

	.product-track {
		grid-auto-columns: 170px;
	}

	.product-card {
		width: 170px;
		min-width: 170px;
	}

	.product-image {
		height: 130px;
	}

	.section {
		padding: 2.25rem 0;
	}
}
