/*
Theme Name: Jane Sanayi
Theme URI: https://janesanayi.com/
Author: Jane Sanayi
Description: Kaynaklı imalat ve demir çelik işletmeleri için yönetilebilir, mobil uyumlu WordPress teması.
Version: 1.0.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: janesanayi
*/

:root {
	--js-ink: #18212a;
	--js-muted: #64717c;
	--js-paper: #f7f8f8;
	--js-white: #fff;
	--js-line: #e4e8ea;
	--js-accent: #e66b35;
	--js-accent-dark: #c95525;
	--js-dark: #17212a;
	--js-radius: 8px;
	--js-width: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	color: var(--js-ink);
	background: var(--js-white);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

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

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--js-accent);
	outline-offset: 4px;
}

.js-container {
	width: min(var(--js-width), calc(100% - 48px));
	margin-inline: auto;
}

.js-skip-link {
	position: absolute;
	z-index: 20;
	top: 12px;
	left: 12px;
	padding: 10px 16px;
	transform: translateY(-160%);
	color: var(--js-white);
	background: var(--js-dark);
}

.js-skip-link:focus {
	transform: translateY(0);
}

.js-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--js-white);
	border-bottom: 1px solid rgba(24, 33, 42, .07);
	box-shadow: 0 4px 16px rgba(24, 33, 42, .045);
}

.js-header-inner {
	display: flex;
	min-height: 82px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.js-brand-group {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.js-brand-title {
	max-width: 230px;
	color: var(--js-ink);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.2;
}

.custom-logo-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.custom-logo-link img {
	width: auto;
	max-width: 150px;
	max-height: 54px;
}

.js-brand-mark-link {
	display: inline-flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.js-brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 6px;
	color: var(--js-white);
	background: var(--js-accent);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.07em;
}

.js-navigation {
	display: flex;
	align-items: center;
	gap: 28px;
}

.js-menu {
	display: flex;
	align-items: center;
	gap: 27px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.js-menu a {
	color: #44515a;
	font-size: 14px;
	font-weight: 650;
	transition: color .2s ease;
}

.js-menu a:hover {
	color: var(--js-accent-dark);
}

.js-header-cta,
.js-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 21px;
	border: 1px solid transparent;
	border-radius: 5px;
	color: var(--js-white);
	background: var(--js-accent);
	font-size: 14px;
	font-weight: 750;
	transition: background .2s ease, transform .2s ease;
}

.js-header-cta:hover,
.js-button:hover {
	transform: translateY(-1px);
	color: var(--js-white);
	background: var(--js-accent-dark);
}

.js-hero {
	position: relative;
	display: flex;
	min-height: 630px;
	align-items: center;
	overflow: hidden;
	color: var(--js-white);
	background-color: #19232c;
	background-position: center 48%;
	background-size: cover;
}

.js-hero::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 21, 27, .94) 0%, rgba(14, 21, 27, .82) 43%, rgba(14, 21, 27, .25) 100%);
	content: "";
}

.js-hero-inner {
	position: relative;
	z-index: 1;
	padding-block: 100px 94px;
}

.js-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	color: var(--js-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.js-eyebrow::before {
	width: 25px;
	height: 2px;
	background: currentColor;
	content: "";
}

.js-hero h1 {
	max-width: 740px;
	margin: 0;
	font-size: clamp(42px, 6.1vw, 76px);
	font-weight: 800;
	letter-spacing: -.055em;
	line-height: 1.06;
}

.js-hero-copy {
	max-width: 590px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, .78);
	font-size: 18px;
	line-height: 1.7;
}

.js-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 34px;
}

.js-button--outline {
	border-color: rgba(255, 255, 255, .43);
	background: transparent;
}

.js-button--outline:hover {
	border-color: var(--js-white);
	background: rgba(255, 255, 255, .1);
}

.js-hero-note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 56px;
	color: rgba(255, 255, 255, .77);
	font-size: 13px;
	font-weight: 600;
}

.js-hero-note-mark {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 50%;
	color: var(--js-accent);
	font-size: 12px;
}

.js-section {
	padding-block: 100px;
}

.js-section--muted {
	background: var(--js-paper);
}

.js-section-heading {
	max-width: 670px;
	margin-bottom: 43px;
}

.js-section-heading .js-eyebrow {
	margin-bottom: 15px;
}

.js-section-heading h2,
.js-about-copy h2,
.js-contact-copy h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.15;
}

.js-section-lead {
	margin: 15px 0 0;
	color: var(--js-muted);
	font-size: 16px;
}

.js-services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.js-service-card {
	min-height: 248px;
	padding: 27px 24px;
	border: 1px solid var(--js-line);
	border-radius: var(--js-radius);
	background: var(--js-white);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.js-service-card-link {
	display: block;
	height: 100%;
}

.js-service-card-link:focus-visible {
	border-radius: 4px;
	outline-offset: 8px;
}

.js-service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(230, 107, 53, .5);
	box-shadow: 0 15px 35px rgba(23, 33, 42, .08);
}

.js-service-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 17px;
	color: var(--js-accent-dark);
	font-size: 13px;
	font-weight: 750;
}

.js-service-icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	margin-bottom: 23px;
	border-radius: 6px;
	color: var(--js-accent-dark);
	background: #fff1e9;
}

.js-service-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.js-service-card h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 750;
	letter-spacing: -.02em;
	line-height: 1.35;
}

.js-service-card p {
	margin: 10px 0 0;
	color: var(--js-muted);
	font-size: 14px;
	line-height: 1.65;
}

.js-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 72px;
}

.js-about-image {
	position: relative;
	min-height: 435px;
	border-radius: var(--js-radius);
	background-color: #27323a;
	background-position: center;
	background-size: cover;
}

.js-about-image::after {
	position: absolute;
	right: -18px;
	bottom: -18px;
	width: 42%;
	height: 42%;
	border-right: 5px solid var(--js-accent);
	border-bottom: 5px solid var(--js-accent);
	content: "";
	pointer-events: none;
}

.js-about-copy .js-eyebrow {
	margin-bottom: 16px;
}

.js-about-copy h2 {
	max-width: 520px;
}

.js-about-copy > p:not(.js-eyebrow) {
	margin: 20px 0 0;
	color: var(--js-muted);
	line-height: 1.8;
}

.js-about-points {
	display: grid;
	gap: 14px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.js-about-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
}

.js-check {
	display: grid;
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
	place-items: center;
	border-radius: 50%;
	color: var(--js-accent-dark);
	background: #fff1e9;
	font-size: 12px;
}

.js-process {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 43px;
}

.js-process-step {
	position: relative;
	padding: 0 34px;
	border-left: 1px solid var(--js-line);
}

.js-process-step:first-child {
	padding-left: 0;
	border-left: 0;
}

.js-process-number {
	display: block;
	margin-bottom: 14px;
	color: var(--js-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
}

.js-process-step h3 {
	margin: 0;
	font-size: 19px;
	font-weight: 750;
}

.js-process-step p {
	margin: 9px 0 0;
	color: var(--js-muted);
	font-size: 14px;
}

.js-contact {
	padding-block: 74px;
	color: var(--js-white);
	background: var(--js-dark);
}

.js-contact-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.js-contact-copy {
	max-width: 630px;
}

.js-contact-copy .js-eyebrow {
	margin-bottom: 15px;
}

.js-contact-copy h2 {
	font-size: clamp(32px, 4vw, 43px);
}

.js-contact-copy > p:not(.js-eyebrow) {
	margin: 15px 0 0;
	color: rgba(255, 255, 255, .7);
}

.js-contact-details {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 26px;
	margin-top: 25px;
}

.js-contact-details a,
.js-contact-details span {
	color: rgba(255, 255, 255, .88);
	font-size: 14px;
	font-weight: 650;
}

.js-contact-details a:hover {
	color: #ffae83;
}

.js-footer {
	padding-block: 24px;
	color: #bac2c8;
	background: #111920;
	font-size: 13px;
}

.js-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.js-footer p {
	margin: 0;
}

.js-footer a {
	color: var(--js-white);
}

.js-content {
	min-height: 55vh;
	padding-block: 64px 100px;
}

.js-content h1,
.js-content h2,
.js-content h3 {
	letter-spacing: -.035em;
	line-height: 1.2;
}

.js-content h1 {
	font-size: clamp(36px, 5vw, 58px);
}

.js-service-hero {
	min-height: 300px;
	padding-inline: 18px;
}

.js-service-hero-content > p:last-child {
	font-size: 16px;
}

.js-service-content {
	width: min(850px, calc(100% - 36px));
	padding-block: 44px 66px;
}

.js-service-cta {
	align-items: flex-start;
	flex-direction: column;
	padding: 24px;
}

.js-content :where(p, li) {
	max-width: 780px;
}

.js-service-hero {
	position: relative;
	display: flex;
	min-height: 350px;
	align-items: center;
	overflow: hidden;
	padding: 56px max(24px, calc((100% - var(--js-width)) / 2));
	color: var(--js-white);
	background-color: var(--js-dark);
	background-position: center 48%;
	background-size: cover;
}

.js-service-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 21, 27, .92), rgba(14, 21, 27, .6));
}

.js-service-hero-content {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
}

.js-service-hero h1 {
	margin: 0;
	font-size: clamp(42px, 6vw, 64px);
	font-weight: 800;
	letter-spacing: -.05em;
	line-height: 1.08;
}

.js-service-hero-content > p:last-child {
	max-width: 600px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: 18px;
	line-height: 1.7;
}

.js-service-content {
	width: min(850px, calc(100% - 48px));
	margin-inline: auto;
	padding-block: 62px 90px;
}

.js-service-content > :first-child {
	margin-top: 0;
}

.js-service-content h2 {
	margin: 42px 0 14px;
	font-size: clamp(25px, 3vw, 32px);
	font-weight: 800;
}

.js-service-content h3 {
	margin: 30px 0 10px;
	font-size: 21px;
	font-weight: 750;
}

.js-service-content p,
.js-service-content li {
	color: #4e5c66;
	line-height: 1.8;
}

.js-service-content li {
	padding-left: 5px;
	margin-bottom: 8px;
}

.js-project-gallery {
	margin-top: 62px;
}

.js-project-gallery-heading {
	margin-bottom: 24px;
}

.js-project-gallery-heading .js-eyebrow {
	margin-bottom: 12px;
}

.js-project-gallery-heading h2 {
	margin: 0;
}

.js-project-gallery-heading > p:last-child {
	margin: 10px 0 0;
	color: var(--js-muted);
	font-size: 14px;
}

.js-project-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.js-project-gallery-item {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--js-line);
	border-radius: var(--js-radius);
	background: var(--js-white);
}

.js-project-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.js-project-gallery-item figcaption {
	padding: 12px 14px;
	color: var(--js-ink);
	font-size: 13px;
	font-weight: 700;
}

.js-service-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 54px;
	padding: 30px;
	border-radius: var(--js-radius);
	background: var(--js-paper);
}

.js-service-cta h2 {
	margin: 0;
	font-size: 23px;
}

.js-service-cta p {
	margin: 8px 0 0;
	font-size: 14px;
}

.js-about-page > .js-eyebrow {
	margin-bottom: 14px;
}

.js-about-page > h1 {
	margin: 0 0 40px;
}

.js-about-page .js-about-grid {
	margin-bottom: 36px;
}

.js-about-page-cta {
	margin-top: 28px;
}

.js-post-list {
	display: grid;
	gap: 28px;
}

.js-post-card {
	padding-bottom: 26px;
	border-bottom: 1px solid var(--js-line);
}

.js-post-card h2 {
	margin: 0 0 10px;
	font-size: 28px;
}

.js-post-meta {
	color: var(--js-muted);
	font-size: 13px;
}

@media (max-width: 900px) {
	.js-navigation {
		gap: 18px;
	}

	.js-menu {
		gap: 16px;
	}

	.js-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.js-project-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.js-about-grid {
		gap: 45px;
	}

	.js-about-image {
		min-height: 380px;
	}
}

@media (max-width: 700px) {
	html {
		scroll-padding-top: 132px;
	}

	.js-container {
		width: min(var(--js-width), calc(100% - 36px));
	}

	.js-header-inner {
		min-height: 0;
		flex-wrap: wrap;
		gap: 8px 12px;
		padding-block: 10px;
	}

	.js-brand-group {
		gap: 9px;
	}

	.custom-logo-link img {
		max-width: 105px;
		max-height: 42px;
	}

	.js-brand-title {
		max-width: 155px;
		font-size: 13px;
	}

	.js-navigation {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		gap: 8px 12px;
	}

	.js-menu {
		flex: 1 1 auto;
		flex-wrap: wrap;
		gap: 2px 16px;
	}

	.js-menu a {
		display: inline-block;
		padding: 4px 0;
		font-size: 13px;
	}

	.js-header-cta {
		min-height: 38px;
		padding-inline: 12px;
		font-size: 12px;
		white-space: nowrap;
	}

	.js-hero {
		min-height: 590px;
		background-position: 60% center;
	}

	.js-hero::before {
		background: linear-gradient(90deg, rgba(14, 21, 27, .91), rgba(14, 21, 27, .62));
	}

	.js-hero-inner {
		padding-block: 78px;
	}

	.js-hero-copy {
		font-size: 16px;
	}

	.js-hero-note {
		margin-top: 38px;
	}

	.js-section {
		padding-block: 72px;
	}

	.js-services-grid {
		gap: 12px;
	}

	.js-project-gallery-grid {
		grid-template-columns: 1fr;
	}

	.js-service-card {
		min-height: 0;
		padding: 21px 18px;
	}

	.js-service-icon {
		margin-bottom: 18px;
	}

	.js-about-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.js-about-image {
		min-height: 330px;
		margin-right: 12px;
	}

	.js-process {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.js-process-step,
	.js-process-step:first-child {
		padding: 0 0 0 19px;
		border-left: 1px solid var(--js-line);
	}

	.js-contact {
		padding-block: 62px;
	}

	.js-contact-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 28px;
	}
}

@media (max-width: 420px) {
	.js-services-grid {
		grid-template-columns: 1fr;
	}

	.js-service-card {
		padding: 23px;
	}

	.js-footer-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
