/* =========================
   HİZMETLER SAYFASI - FINAL CSS
========================= */

.service-detail-hero,
.service-detail-layout {
	font-synthesis: none;
	text-rendering: geometricPrecision;
}

.service-detail-hero h1,
.service-detail-hero h2,
.service-detail-hero h3,
.service-content-panel h1,
.service-content-panel h2,
.service-content-panel h3,
.service-detail-item,
.service-content-badge,
.service-video-content h3,
.service-feature-item {
	font-family: "Poppins", sans-serif;
	font-synthesis: none;
}

.service-detail-hero p,
.service-content-panel p,
.service-detail-content p {
	font-family: "Lato", sans-serif;
	font-synthesis: none;
}

.service-showcase-right .service-content-panel > p,
.service-showcase-right .service-detail-content p {
	text-align: justify;
	text-justify: inter-word;
}

/* HERO / SLIDER */
.service-detail-hero {
	position: relative;
	height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: url("../../images/yeniekledigimfotolar/sayfasliders/17.webp") center center / cover no-repeat;
}

.service-detail-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(18, 35, 58, 0.52);
}

.service-detail-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 20px;
}

.service-detail-hero-content h1 {
	margin: 0 0 12px;
	font-size: 38px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0;
}

.service-detail-hero-content p {
	margin: 0;
	font-size: 18px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.94);
}

/* CONTENT */
#content .content-wrap {
	padding-top: 0;
	padding-bottom: 0;
}

.service-detail-layout {
	width: min(1480px, 100vw);
	max-width: none;
	margin: 0 auto 0 calc(50% - 50vw);
	padding: 0;
}

/* SHOWCASE */
.service-showcase {
	display: grid;
	grid-template-columns: minmax(530px, 650px) minmax(0, 1fr);
	gap: 92px;
	align-items: start;
	opacity: 0;
	transform: translateY(-40px);
	will-change: transform, opacity;
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.service-page-loaded .service-showcase {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.18s;
}

/* LEFT SIDE */
.service-showcase-left {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: sticky;
	top: var(--header-height, 88px);
	align-self: start;
}

.service-video-card {
	position: relative;
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
	padding: 0;
	border-radius: 0;
	overflow: hidden;
	cursor: pointer;
	background: #08111f;
	text-align: left;
	box-shadow: none;
	filter: saturate(0.76) brightness(0.8);
	transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, filter 0.32s ease;
	--video-scale: 1.18;
	--video-offset-x: 0%;
	--video-offset-y: 0%;
}

.service-video-card:focus {
	outline: none;
}

.service-video-card:focus-visible {
	box-shadow:
		0 0 0 3px rgba(19, 98, 171, 0.18),
		0 16px 34px rgba(19, 98, 171, 0.18);
}

.service-card-video,
.service-card-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transform: translate3d(var(--video-offset-x), var(--video-offset-y), 0) scale(var(--video-scale));
	transform-origin: center center;
	display: block;
	transition: transform 0.34s ease, filter 0.34s ease;
}

.service-card-image {
	object-fit: fill;
	object-position: center center;
	transform: none;
	background: #08111f;
}

.service-card-image + .service-video-overlay {
	background: linear-gradient(
		180deg,
		rgba(5, 13, 31, 0.22) 0%,
		rgba(8, 23, 50, 0.2) 42%,
		rgba(4, 10, 22, 0.36) 100%
	);
}

.service-video-card[data-service="ytk"] {
	--video-scale: 1.32;
	--video-offset-y: -1%;
}

.service-video-card[data-service="harita"] {
	--video-scale: 1.24;
	--video-offset-x: -1%;
	--video-offset-y: -2%;
}

.service-video-card[data-service="harita"] .service-video-overlay {
	opacity: 1;
	background: linear-gradient(
		180deg,
		rgba(5, 13, 31, 0.24) 0%,
		rgba(8, 23, 50, 0.22) 36%,
		rgba(4, 10, 22, 0.42) 100%
	);
}

.service-video-card[data-service="harita"].is-active .service-video-overlay {
	opacity: 1;
	background: linear-gradient(
		180deg,
		rgba(5, 13, 31, 0.18) 0%,
		rgba(8, 23, 50, 0.16) 40%,
		rgba(4, 10, 22, 0.34) 100%
	);
}

.service-video-card[data-service="cevre"] {
	--video-scale: 1.28;
	--video-offset-y: -3%;
}

.service-video-card[data-service="orman"] {
	--video-scale: 1.24;
	--video-offset-y: -2%;
}

.service-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(5, 13, 31, 0.62) 0%,
		rgba(8, 23, 50, 0.58) 36%,
		rgba(4, 10, 22, 0.84) 100%
	);
	transition: opacity 0.3s ease, background 0.3s ease;
}

.service-video-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	pointer-events: none;
}

.service-video-content {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 20px;
	z-index: 2;
}



.service-video-card:hover {
	transform: none;
	box-shadow: none;
}

.service-video-card.is-active {
	transform: none;
	box-shadow: none;
	filter: saturate(0.86) brightness(0.86);
}

.service-video-card.is-active::after {
	border: 1px solid rgba(19, 98, 171, 0.72);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.service-video-card.is-active .service-video-overlay {
	background: linear-gradient(180deg, rgba(5, 13, 31, 0.52) 0%, rgba(8, 23, 50, 0.5) 40%, rgba(4, 10, 22, 0.78) 100%);
}

.service-video-card.is-active:hover,
.service-video-card.is-active.is-previewing {
	z-index: 3;
	transform: scale(1.035);
	filter: saturate(1) brightness(1);
	box-shadow: 0 24px 58px rgba(6, 18, 36, 0.34);
}

.service-video-card.is-active:hover .service-video-overlay,
.service-video-card.is-active.is-previewing .service-video-overlay {
	opacity: 0;
}

.service-video-card.is-active:hover .service-card-video,
.service-video-card.is-active.is-previewing .service-card-video {
	transform: translate3d(var(--video-offset-x), var(--video-offset-y), 0) scale(calc(var(--video-scale) + 0.03));
}

/* SOUND TOGGLE */
.sound-toggle {
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 20, 36, 0.58);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #ffffff;
	font-size: 18px;
	cursor: pointer;
	z-index: 4;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
	transition: all 0.28s ease;
}

.sound-toggle:hover {
	background: #1362ab;
	transform: scale(1.08);
}

.service-video-card:not(.is-active) .sound-toggle {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.sound-toggle.is-on {
	background: #1362ab;
	color: #ffffff;
}

.sound-toggle:focus {
	outline: none;
}

.sound-toggle:focus-visible {
	box-shadow:
		0 0 0 3px rgba(255,255,255,0.22),
		0 10px 24px rgba(0, 0, 0, 0.16);
}

/* RIGHT SIDE */
.service-showcase-right {
	position: relative;
	min-height: 601px;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 54px 0 0;
	box-shadow: none;
	overflow: hidden;
}

.service-content-panel {
	display: none;
	animation: serviceContentFade 0.28s ease;
}

.service-content-panel.is-active {
	display: block;
}

@keyframes serviceContentFade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-content-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	margin-bottom: 22px;
	border-radius: 999px;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(135deg, #12233a 0%, #1a3150 55%, #24446f 100%);
	border: 1px solid rgba(96, 162, 240, 0.34);
	box-shadow: 0 10px 22px rgba(18, 35, 58, 0.22);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.service-content-badge::before {
	content: "";
	position: absolute;
	inset: -35% auto -35% -42%;
	width: 38%;
	background: linear-gradient(
		115deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.12) 30%,
		rgba(255, 255, 255, 0.70) 50%,
		rgba(255, 255, 255, 0.14) 70%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-24deg);
	animation: fides-btn-sheen 2.8s ease-in-out infinite;
	pointer-events: none;
}

.service-content-panel h2 {
	margin: 0 0 22px;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	color: #243040;
}

.service-content-panel p {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.95;
	color: #5a6675;
}

/* ACCORDION */
.service-inline-accordion {
	margin-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.service-accordion-item {
	border-top: 1px solid #d9e4ef;
	border-bottom: 1px solid #d9e4ef;
}

.service-detail-item {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 0;
	border: 0;
	background: transparent;
	color: #223044;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.service-detail-item:focus {
	outline: none;
}

.service-detail-item:focus-visible {
	box-shadow: 0 0 0 3px rgba(19, 98, 171, 0.15);
}

.service-detail-item span {
	flex: 1;
}

.service-toggle-icon {
	flex: 0 0 auto;
	font-size: 22px;
	color: #1362ab;
	transition: transform 0.28s ease, color 0.28s ease;
}

.service-accordion-item.is-open > .service-detail-item .service-toggle-icon {
	transform: rotate(45deg);
	color: #0f4f8a;
}

.service-detail-content {
	display: none;
	padding: 0 0 22px;
}

.service-accordion-item.is-open > .service-detail-content {
	display: block;
}

.service-detail-content p {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: #5b6674;
}

.service-nested-accordion {
	margin-top: 16px;
	margin-left: 24px;
	gap: 10px;
}

.service-nested-accordion .service-accordion-item {
	border-color: #e4edf5;
}

.service-nested-accordion .service-detail-item {
	padding: 16px 0;
	font-size: 16px;
	color: #26364b;
}

.service-nested-accordion .service-detail-content {
	padding-bottom: 16px;
}

/* FEATURE LIST */
.service-feature-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 26px;
}

.service-feature-item {
	position: relative;
	padding: 18px 18px 18px 48px;
	border: 1px solid #e4edf6;
	border-radius: 18px;
	background: #f9fbfe;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.7;
	color: #2a3646;
	text-align: justify;
	text-justify: inter-word;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.service-feature-item::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 22px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1362ab 0%, #3f87cf 100%);
	box-shadow: 0 0 0 6px rgba(19, 98, 171, 0.09);
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
	.service-detail-layout {
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}

	.service-showcase {
		grid-template-columns: 470px 1fr;
		gap: 32px;
	}

	.service-showcase-right {
		padding: 18px 0 0;
	}

	.service-content-panel h2 {
		font-size: 34px;
	}

	.service-content-panel p {
		font-size: 16px;
		line-height: 1.9;
	}

	.service-detail-item {
		font-size: 18px;
	}
}

@media (max-width: 991.98px) {
	.service-detail-hero {
		height: 240px;
	}

	.service-detail-hero-content h1 {
		font-size: 46px;
	}

	.service-showcase {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.service-showcase-left {
		display: contents;
	}

	.service-showcase-right {
		order: 2;
		min-height: auto;
		padding: 22px 18px 24px;
	}

	.service-video-card {
		order: 3;
	}

	.service-video-card.is-active {
		order: 1;
	}

	.service-video-card.is-active:hover,
	.service-video-card.is-active.is-previewing {
		transform: none;
	}

	.service-content-panel {
		width: min(100%, 760px);
		margin: 0 auto;
	}

	.service-feature-list {
		grid-template-columns: 1fr;
	}

	.service-detail-item {
		padding: 18px 0;
		font-size: 17px;
	}
}

@media (max-width: 767.98px) {
	.service-detail-hero {
		height: 200px;
	}

	.service-detail-hero-content h1 {
		font-size: 34px;
	}

	.service-detail-hero-content p {
		font-size: 15px;
		line-height: 1.7;
	}

	.service-detail-layout {
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}

	.service-video-card {
		height: 300px;
	}

	.service-video-content {
		left: 18px;
		right: 18px;
		bottom: 16px;
	}

	.service-video-content h3 {
		font-size: 24px;
	}

	.sound-toggle {
		right: 14px;
		bottom: 14px;
		width: 42px;
		height: 42px;
		font-size: 16px;
	}

	.service-showcase-right {
		padding: 22px 16px 20px;
		border-radius: 0;
	}

	.service-content-badge {
		margin-bottom: 14px;
		min-height: 40px;
		padding: 0 18px;
		font-size: 11px;
	}

	.service-content-panel h2 {
		font-size: 28px;
		margin-bottom: 18px;
	}

	.service-content-panel p {
		font-size: 15px;
		line-height: 1.8;
	}

	.service-detail-content {
		padding: 0 4px 18px;
	}

	.service-inline-accordion {
		gap: 10px;
	}

	.service-detail-item {
		padding: 16px 4px;
		font-size: 16px;
		line-height: 1.5;
	}

	.service-toggle-icon {
		font-size: 20px;
	}

	.service-detail-content p {
		font-size: 14px;
		line-height: 1.75;
	}

	.service-feature-item {
		padding: 16px 16px 16px 44px;
		font-size: 14px;
		line-height: 1.65;
	}
}
