/* Hizmetlerimiz Section */
.hizmetlerimiz-section {
	background: #162c45;
	padding: 40px 0 30px 0;
	margin: 0;
	min-height: auto;
}

.hizmetlerimiz-section .container-fluid {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 12px;
}

.hizmetlerimiz-section .row {
	margin: 0;
}


/* Image links */
.hizmet-image-link,
.subcategory-image-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hizmet-image-link:hover,
.subcategory-image-link:hover {
	text-decoration: none;
}

.section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-start;
	text-align: left;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 42px;
	color: white;
	font-weight: 700;
	margin: 0 25px 0 0;
}

.section-header p {
	font-size: 16px;
	color: rgba(255,255,255,0.7);
	max-width: 700px;
	margin: 0;
}

.hizmetler-row {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 12px;
	margin: 0 !important;
}

/* Alt satırdaki tek kart (Engelli Asansörü) için biraz üst boşluk */
.hizmetler-row-alt {
	margin-top: 40px !important;
}

.hizmet-item {
	flex: 1 1 33.333%;
	max-width: 33.333%;
	padding: 0 6px !important;
	margin: 0 0 18px !important;
	box-sizing: border-box;
}

.hizmet-item {
	display: flex;
	flex-direction: column;
}

.hizmet-item .hizmet-card {
	flex: 1;
}

.hizmet-card {
	position: relative;
	height: 430px;
	border-radius: 14px;
	overflow: hidden;
	background: #061427;
	border: 1px solid rgba(255,255,255,0.16);
	box-shadow: 0 22px 42px rgba(4, 20, 44, 0.55), 0 10px 24px rgba(1, 6, 14, 0.45);
	cursor: pointer;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	display: block;
}

.hizmet-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 24px 56px rgba(8, 35, 75, 0.62), 0 12px 28px rgba(1, 6, 14, 0.50);
}

.hizmet-image {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	line-height: 0; /* inline img alt boşluğunun mobilde görünmesini engellemek için */
}

.hizmet-image img {
	display: block; /* img altındaki cızgın boşluğu kaldır */
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease, filter 0.6s ease;
	filter: brightness(0.72);
	vertical-align: top;
}

.hizmet-card:hover .hizmet-image img {
	transform: scale(1.12);
	filter: brightness(0.95);
}

.hizmet-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(3, 10, 23, 0.18) 0%, rgba(6, 15, 35, 0.32) 40%, rgba(8, 18, 40, 0.50) 60%, rgba(12, 25, 50, 0.80) 100%);
	pointer-events: none;
	transition: all 0.35s ease;
}

.hizmet-card:hover .hizmet-overlay {
	background: linear-gradient(180deg, rgba(3, 10, 23, 0.20) 0%, rgba(6, 15, 35, 0.40) 40%, rgba(8, 18, 40, 0.60) 60%, rgba(12, 25, 50, 0.92) 100%);
}

.hizmet-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px 18px;
	z-index: 5;
	background: linear-gradient(180deg, transparent 0%, rgba(4, 9, 21, 0.5) 30%, rgba(6, 13, 27, 0.88) 65%, rgba(6, 14, 30, 0.98) 100%);
	backdrop-filter: blur(4px);
	box-shadow: inset 0 10px 25px rgba(0,0,0,0.45);
	transition: transform 0.35s ease;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: auto;
}

.hizmet-card:hover .hizmet-content {
	background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 22, 0.52) 30%, rgba(8, 17, 34, 0.84) 65%, rgba(8, 17, 34, 1) 100%);
}

.hizmet-content h3,
.hizmet-content p,
.btn-incele-hizmet {
	color: #ffffff !important;
}

.hizmet-content h3 {
	font-size: 24px;
	color: #ffffff !important;
	font-weight: 800;
	margin-bottom: 8px;
	line-height: 1.2;
	text-shadow: 0 4px 20px rgba(0,0,0,0.75);
	letter-spacing: 0.3px;
}

.hizmet-content h3 a {
	color: #ffffff !important;
	text-decoration: none;
}

.hizmet-content h3 a:hover,
.hizmet-content h3 a:focus {
	color: #ffffff !important;
	text-decoration: underline;
}

/* Hizmetlerimiz sayfasındaki modern kartlarda başlık rengi lacivert olsun */
.hizmet-card.modern-card .hizmet-content h3,
.hizmet-card.modern-card .hizmet-content h3 a {
	color: #182F4A !important;
}

.hizmet-content p {
	font-size: 15px;
	color: rgba(255,255,255,0.95);
	margin-bottom: 10px;
	line-height: 1.6;
	opacity: 1;
	text-shadow: 0 2px 10px rgba(0,0,0,0.55);
	transform: translateY(0);
	transition: all 0.4s ease;
}

.hizmet-card:hover .hizmet-content p {
	opacity: 1;
	transform: translateY(0);
}

.btn-incele-hizmet {
	display: inline-block;
	padding: 12px 30px;
	background: transparent;
	border: 2px solid white;
	color: white !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 4px;
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
}

.hizmet-card:hover .btn-incele-hizmet {
	opacity: 1;
	transform: translateY(0);
}

.btn-incele-hizmet {
	background: transparent;
	border: 2px solid white;
	color: #fff !important;
}

.btn-incele-hizmet:hover {
	background: #ffffff;
	color: #182F4A !important;
	text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
	.hizmetler-row {
		flex-wrap: wrap;
	}
	
	.hizmet-item {
		max-width: 100%;
		margin-bottom: 20px !important;
	}
	
	.hizmet-card {
		height: 500px;
	}
	
	.section-header h2 {
		font-size: 32px;
	}

	/* Touch devices: don't hide key CTA behind hover */
	.hizmet-content p {
		opacity: 1;
		transform: none;
	}
	.btn-incele-hizmet {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 768px) {
	.hizmetlerimiz-section {
		padding: 50px 0;
	}
	
	.section-header {
		margin-bottom: 40px;
	}
	
	.hizmet-content h3 {
		font-size: 22px;
	}
	
	.hizmet-content p {
		font-size: 14px;
	}

	/* Mobilde resim/kutu boşluğunu kapatma */
	.hizmet-card {
		height: auto;
		min-height: 420px;
	}

	.hizmet-image {
		height: 260px;
	}

	.hizmet-content {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		min-height: 170px;
		height: 170px;
		padding: 14px 12px;
		box-sizing: border-box;
		background: linear-gradient(180deg, transparent 0%, rgba(4, 9, 21, 0.70) 0%, rgba(6, 13, 27, 0.90) 60%, rgba(6, 14, 30, 0.98) 100%);
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.hizmet-content h3 {
		margin-bottom: 8px;
	}

	.hizmet-content p {
		margin-bottom: 10px;
	}
}

.sayfa .col-md-4 h2,
.sayfa .col-md-4 h3,
.hizmet-card h3,
.proje-content h3,
.hizmet-card .hizmet-content h3 {
	font-size: 24px;
	color: #1f3358;
	font-weight: 700;
	margin: 15px 16px 10px;
}

.sayfa .col-md-4 p,
.hizmet-card p,
.proje-content p,
.hizmet-card .hizmet-content p {
	font-size: 15px;
	color: #535f75;
	padding: 0 16px 16px;
	line-height: 1.6;
	margin: 0;
}

.sayfa .col-md-4 a,
.hizmet-card .btn-incele-hizmet,
.proje-card .btn-proje,
.ot-btn,
.btn-main-color {
	margin: 0 16px 16px;
}

.hizmet-content h3 {
	font-size: 24px;
	color: #ffffff;
	font-weight: 800;
	margin-bottom: 8px;
	line-height: 1.3;
	text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hizmet-content h3 a {
	color: #1f3358 !important;
	text-decoration: none;
}

.hizmet-content h3 a:hover,
.hizmet-content h3 a:focus {
	text-decoration: underline;
}

.hizmet-content p {
	font-size: 15px;
	color: #55607c;
	margin-bottom: 18px;
	line-height: 1.6;
}

.btn-incele-hizmet {
	display: inline-block;
	padding: 11px 26px;
	background: #182F4A;
	border: 1px solid #182F4A;
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border-radius: 8px;
	transition: all 0.3s ease;
	opacity: 1;
	transform: translateY(0);
}

.btn-incele-hizmet:hover {
	background: #FF6B35;
	border-color: #FF6B35;
	color: #fff !important;
}


/* Responsive */
@media (max-width: 992px) {
	.hizmetler-row {
		flex-wrap: wrap;
	}
	
	.hizmet-item {
		max-width: 100%;
		margin-bottom: 20px !important;
	}
	
	.hizmet-card {
		height: 500px;
	}
	
	.section-header h2 {
		font-size: 32px;
	}

	/* Touch devices: don't hide key CTA behind hover */
	.hizmet-content p {
		opacity: 1;
		transform: none;
	}
	.btn-incele-hizmet {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 768px) {
	.hizmetlerimiz-section {
		padding: 50px 0;
	}
	
	.section-header {
		margin-bottom: 40px;
	}
	
	.hizmet-content h3 {
		font-size: 22px;
	}
	
	.hizmet-content p {
		font-size: 14px;
	}
}

/* Homepage-specific eski Hizmetlerimiz kart stilleri */
.hizmetlerimiz-section .hizmet-card { background: #0c1f38; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 18px 34px rgba(0,0,0,0.30); }
.hizmetlerimiz-section .hizmet-content h3, .hizmetlerimiz-section .hizmet-content p, .hizmetlerimiz-section .hizmet-content a.btn-incele-hizmet { color: #ffffff !important; }
.hizmetlerimiz-section .hizmet-content h3 { text-shadow: 0 4px 20px rgba(0,0,0,0.75); }
.hizmetlerimiz-section .btn-incele-hizmet { background: transparent; border: 2px solid white; color: #fff !important; }
.hizmetlerimiz-section .hizmet-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }

/* Yeni: hizmet kartlarını varsayılan olarak 'hover' gibi sabit göster */
.hizmetlerimiz-section .hizmet-card {
	background: transparent !important;
	border: none !important;
	box-shadow: 0 20px 54px rgba(0,0,0,0.35) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hizmetlerimiz-section .hizmet-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 28px 70px rgba(0,0,0,0.45) !important;
}

/* Kart yüksekliklerini eşitleme */
.hizmetlerimiz-section .hizmetler-row {
	/* Bootstrap kolon yapısını koru; ekstra negatif margin kaldırıldı */
	margin-left: 0;
	margin-right: 0;
}
.hizmetlerimiz-section .hizmet-item {
	/* Her sütun kendi grid genişliği içinde kalsın */
	margin-bottom: 30px;
}
.hizmetlerimiz-section .hizmet-card {
	/* Kart yükseklik eşitleme */
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
}
.hizmetlerimiz-section .hizmet-image {
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	position: relative;
}
.hizmetlerimiz-section .hizmet-image img {
	width: 100%;
	height: 100%;
	min-height: auto;
	object-fit: cover;
	object-position: center center;
	display: block;
	filter: brightness(1) !important;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.4s ease;
}
.hizmetlerimiz-section .hizmet-card:hover .hizmet-image img {
	transform: scale(1.08);
}
.hizmetlerimiz-section .hizmet-overlay {
	background: linear-gradient(180deg, rgba(2,8,20,0.38) 0%, rgba(4,11,30,0.52) 35%, rgba(8,16,38,0.70) 70%, rgba(6,13,32,0.90) 100%) !important;
}

/* 3 kartın bir satırda kalmasını sağlar */
@media (min-width: 992px) {
	.hizmetlerimiz-section .hizmet-item {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}


.hizmetlerimiz-section .hizmet-content {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	padding: 20px 18px !important;
	background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.42) 34%, rgba(3,9,28,0.75) 60%, rgba(4,11,30,0.98) 100%) !important;
	backdrop-filter: blur(4px) !important;
}

.hizmetlerimiz-section .hizmet-content h3,
.hizmetlerimiz-section .hizmet-content p,
.hizmetlerimiz-section .hizmet-content a.btn-incele-hizmet {
	color: #ffffff !important;
}

.hizmetlerimiz-section .hizmet-content h3 {
	color: #ffffff !important;
}

.hizmetlerimiz-section .hizmet-content h3 a {
	color: #ffffff !important;
}

.hizmetlerimiz-section .hizmet-content p {
	color: #ffffff !important;
}

.hizmetlerimiz-section .hizmet-card a.btn-incele-hizmet {
	opacity: 1 !important;
	transform: none !important;
	background: rgba(255,255,255,0.16) !important;
	border: 1px solid rgba(255,255,255,0.58) !important;
	color: #fff !important;
}

.hizmetlerimiz-section .hizmet-card a.btn-incele-hizmet:hover,
.hizmetlerimiz-section .hizmet-card a.btn-incele-hizmet:focus {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #182F4A !important;
}

@media (max-width: 768px) {
	.hizmetlerimiz-section .hizmetler-row {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}
	.hizmetlerimiz-section .hizmet-item {
		display: block;
		width: 100%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 20px;
	}
	.hizmetlerimiz-section .hizmet-card {
		min-height: 420px !important;
		height: auto !important;
		transform: none !important;
		box-shadow: 0 14px 28px rgba(0,0,0,0.25) !important;
		position: relative;
	}
	.hizmetlerimiz-section .hizmet-image {
		height: 260px !important;
		min-height: 260px;
	}
	.hizmetlerimiz-section .hizmet-image img {
		height: 100% !important;
		max-height: none !important;
		width: 100% !important;
		display: block !important;
		object-fit: cover;
	}
	.hizmetlerimiz-section .hizmet-content {
		position: absolute !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100% !important;
		min-height: 170px;
		height: 170px;
		padding: 14px 12px;
		box-sizing: border-box;
		background: linear-gradient(180deg, transparent 0%, rgba(4,9,21,0.70) 0%, rgba(6,13,27,0.90) 60%, rgba(6,14,30,0.98) 100%) !important;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.hizmetlerimiz-section .hizmet-content h3 {
		margin-bottom: 8px;
	}
	.hizmetlerimiz-section .hizmet-content p {
		margin-bottom: 10px;
	}
	.hizmetlerimiz-section .hizmet-card:hover {
		transform: none !important;
		box-shadow: 0 14px 28px rgba(0,0,0,0.25) !important;
	}
}

@media (max-width: 992px) {
	.hizmetlerimiz-section .hizmet-card {
		height: auto !important;
		min-height: 420px;
	}
	.hizmetlerimiz-section .hizmet-image {
		height: 240px !important;
	}
}

