/* ==========================================================================
   SERVISLER SAYFASI
   Renkler tema paletinden (main.css) alinmistir; portfolio.css ile ayni
   token isimlendirmesini kullanir.
   ========================================================================== */

:root {
	--sv-accent: #1851f1;
	--sv-ink: #222;
	--sv-muted: rgba(34, 34, 34, .6);
	--sv-cream: #f9f5ea;
	--sv-line: rgba(34, 34, 34, .1);
}

/* --- Giris ------------------------------------------------------------- */

.sv-intro {
	max-width: 44em;
	margin: 0 auto calc(24px + 2vw);
	text-align: center;
	font-size: calc(15px + .2vw);
	line-height: 1.7;
	color: var(--sv-muted);
}

/* --- Grup basligi ------------------------------------------------------ */

.sv-group {
	margin: 0 0 calc(28px + 2vw);
}

.sv-group-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0 0 26px;
	text-align: center;
}

.sv-group-title {
	font-family: 'Jost*', sans-serif;
	font-size: calc(16px + 1.44vw);
	font-weight: 400;
	font-style: italic;
	letter-spacing: .01em;
	color: var(--sv-ink);
	margin: 0;
}

.sv-group-note {
	font-size: 13px;
	color: var(--sv-muted);
	margin: 0;
}

/* --- Izgara ------------------------------------------------------------ */

.sv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: calc(12px + .8vw);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --- Kart -------------------------------------------------------------- */

.sv-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 26px 26px;
	background: var(--sv-cream);
	border: 0;
	transition: background-color .3s ease;
}

.sv-card:hover {
	background: #f5efdf;
}

.sv-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	color: var(--sv-accent);
	font-size: 30px;
	line-height: 1;
	margin-bottom: 4px;
}

/* fontello ikonlari :before ile gelir; kutu icinde ortalanmalari icin */
.sv-icon:before {
	margin: 0;
	width: auto;
}

.sv-title {
	font-family: 'Jost*', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sv-ink);
	margin: 4px 0 0;
}

.sv-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--sv-muted);
	margin: 0;
}

.sv-list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.sv-list li {
	position: relative;
	padding-left: 20px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--sv-ink);
}

.sv-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 2px solid var(--sv-accent);
}

/* --- Kapanis ----------------------------------------------------------- */

.sv-cta {
	margin: calc(10px + 1vw) 0 0;
	padding: calc(20px + 1.5vw);
	background: var(--sv-cream);
	text-align: center;
}

.sv-cta p {
	margin: 0 0 16px;
	font-size: calc(15px + .2vw);
	color: var(--sv-ink);
}

.sv-cta .button {
	display: inline-block;
}

/* --- Hareket hassasiyeti ----------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.sv-card {
		transition: none;
	}

	.sv-card:hover {
		transform: none;
	}
}

/* --- Kucuk ekran ------------------------------------------------------- */

@media (max-width: 480px) {
	.sv-grid {
		grid-template-columns: 1fr;
	}

	.sv-group-head {
		flex-direction: column;
		gap: 4px;
	}
}

/* --- One cikan servis (gorselli) --------------------------------------- */

.sv-feature {
	display: grid;
	grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
	gap: calc(16px + 1.2vw);
	align-items: center;
	margin: 0 0 calc(28px + 2vw);
	padding: calc(16px + 1vw);
	background: var(--sv-cream);
	border: 1px solid var(--sv-line);
}

.sv-feature-media {
	margin: 0;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #fff;
}

.sv-feature-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@supports not (aspect-ratio: 3 / 4) {
	.sv-feature-media {
		height: 0;
		padding-bottom: 133%;
		position: relative;
	}

	.sv-feature-media img {
		position: absolute;
		inset: 0;
	}
}

.sv-feature-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sv-feature-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sv-accent);
	margin: 0;
}

.sv-feature-title {
	font-family: 'Jost*', sans-serif;
	font-size: calc(19px + .5vw);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sv-ink);
	margin: 0;
}

@media (max-width: 700px) {
	.sv-feature {
		grid-template-columns: 1fr;
	}

	.sv-feature-media {
		aspect-ratio: 4 / 3;
	}
}
