/**
 * gineus-2 — Öne çıkan hizmetler (featured_services)
 * Taslak: ham-html/style.css — .section-header, .bento-grid, .content-card, .btn-tinted, .btn-solid
 * Kapsül: .g2-featured-services (diğer modüllerle çakışmasın)
 */

.g2-featured-services {
	--g2-fs-transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	--g2-fs-radius-lg: 24px;
	--g2-fs-radius-md: 16px;
	--g2-fs-glass-bg: rgba(255, 255, 255, 0.85);
	--g2-fs-glass-solid: rgba(255, 255, 255, 0.98);
	--g2-fs-glass-border: rgba(255, 255, 255, 1);
	--g2-fs-glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 1);
	--g2-fs-glass-shadow-hover: 0 12px 32px rgba(0, 113, 227, 0.08), inset 0 1px 1px rgba(255, 255, 255, 1);
	--g2-fs-blur: blur(24px);
}

.g2-featured-services__inner {
	max-width: min(1240px, 100%);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* --- section-header (taslak) --- */
.g2-featured-services .section-header {
	margin: 64px 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.g2-featured-services .section-header h2 {
	margin: 0;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--text-main, #1d1d1f);
}

.g2-featured-services .g2-fs-title-accent {
	color: var(--accent-blue, #0071e3);
}

.g2-featured-services .section-header a {
	font-size: 13px;
	font-weight: 700;
	color: var(--accent-blue, #0071e3) !important;
	padding: 8px 16px;
	background: #e0f2fe;
	border-radius: 20px;
	transition: var(--g2-fs-transition);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none !important;
}

.g2-featured-services .section-header a:hover {
	background: #bae6fd;
	transform: translateX(4px);
	color: var(--accent-blue, #0071e3) !important;
}

.g2-featured-services__intro {
	margin: -12px 0 24px;
	font-size: 15px;
	color: var(--text-muted, #526070);
	line-height: 1.5;
}

/* --- bento grid --- */
.g2-featured-services .bento-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
	margin-bottom: 24px;
}

.g2-featured-services .bento-box {
	background: var(--g2-fs-glass-bg);
	backdrop-filter: var(--g2-fs-blur);
	-webkit-backdrop-filter: var(--g2-fs-blur);
	border: 1px solid var(--g2-fs-glass-border);
	border-radius: var(--g2-fs-radius-lg);
	box-shadow: var(--g2-fs-glass-shadow);
	position: relative;
	transition: var(--g2-fs-transition);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.g2-featured-services .bento-box:hover {
	transform: translateY(-3px);
	box-shadow: var(--g2-fs-glass-shadow-hover);
}

.g2-featured-services .span-1 {
	grid-column: span 1;
}
.g2-featured-services .span-2 {
	grid-column: span 2;
}
.g2-featured-services .span-3 {
	grid-column: span 3;
}
.g2-featured-services .span-4 {
	grid-column: span 4;
}
.g2-featured-services .span-6 {
	grid-column: span 6;
}
.g2-featured-services .span-12 {
	grid-column: span 12;
}

/* --- content-card --- */
.g2-featured-services .content-card--linked {
	cursor: pointer;
}

.g2-featured-services .g2-fs-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	text-decoration: none;
}

.g2-featured-services .content-card .card-img {
	height: 180px;
	width: 100%;
	position: relative;
	border-radius: var(--g2-fs-radius-lg) var(--g2-fs-radius-lg) 0 0;
	overflow: hidden;
	background: #e8eef5;
}

/* Grup öğesi CTA kartı — üst görselde kırmızı köşe vurgusu (taslak referans) */
.g2-featured-services .content-card .card-img--g2-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(240, 72, 62, 0.45) 0%, rgba(240, 72, 62, 0.08) 42%, transparent 72%);
}

.g2-featured-services .card-meta.card-meta--urgent {
	color: #e63946 !important;
}

.g2-featured-services .content-card .card-img--has-fa .g2-fs-card-img__fa {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	color: #e63946;
	z-index: 1;
}

.g2-featured-services .g2-fs-card-img-fa-hero {
	width: 100%;
	height: 100%;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, #fee2e2 0%, #f1f5f9 55%, #e2e8f0 100%);
	font-size: 3rem;
	color: #e63946;
}

.g2-featured-services .content-card .card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.g2-featured-services .bento-box:hover .card-img img {
	transform: scale(1.05);
}

.g2-featured-services .g2-fs-card-img-placeholder {
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.g2-featured-services .content-card .card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.g2-featured-services .card-meta {
	display: block;
	font-size: 11px;
	font-weight: 800;
	color: var(--accent-blue, #0071e3);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.g2-featured-services .content-card h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 12px;
	line-height: 1.3;
	letter-spacing: -0.5px;
	color: var(--text-main, #1d1d1f);
}

.g2-featured-services .content-card .g2-fs-card-desc {
	font-size: 13px;
	color: var(--text-muted, #526070);
	flex-grow: 1;
	margin: 0 0 24px;
	line-height: 1.5;
}

.g2-featured-services .g2-fs-card-desc--lines2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: 2;
}

.g2-featured-services .g2-fs-card-desc--clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: var(--g2-fs-excerpt-lines, 3);
}

.g2-featured-services .card-actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
	position: relative;
	z-index: 2;
}

.g2-featured-services .card-actions > a {
	flex: 1;
	padding: 10px 0;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
	border-radius: var(--g2-fs-radius-md);
	transition: var(--g2-fs-transition);
}

.g2-featured-services .card-actions > a.btn-tinted {
	background: #e0f2fe;
	color: var(--accent-blue, #0071e3) !important;
	border: 1px solid rgba(0, 113, 227, 0.1);
	font-weight: 700;
}

.g2-featured-services .card-actions > a.btn-tinted:hover {
	background: #bae6fd;
	transform: translateY(-2px);
	color: var(--accent-blue, #0071e3) !important;
}

.g2-featured-services .card-actions > a.btn-solid {
	background: var(--accent-blue, #0071e3);
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
	border: none;
}

.g2-featured-services .card-actions > a.btn-solid:hover {
	background: #005bb5;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

/* Eski HTML/cache’te kalan .btn-solid.red — kartlarda koyu mavi (.btn-solid ile aynı) */
.g2-featured-services .card-actions > a.btn-solid.red {
	background: var(--accent-blue, #0071e3);
	box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.g2-featured-services .card-actions > a.btn-solid.red:hover {
	background: #005bb5;
	box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
	color: #fff !important;
}

/* Carousel: kart tam yükseklik */
.g2-featured-services--carousel .g2-ref-carousel__cell {
	display: flex;
}

.g2-featured-services--carousel .g2-ref-carousel__cell > .bento-box {
	width: 100%;
	min-width: 0;
}

@media (max-width: 1024px) {
	.g2-featured-services .span-3,
	.g2-featured-services .span-4 {
		grid-column: span 6;
	}
}

@media (max-width: 768px) {
	.g2-featured-services .section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin: 40px 0 20px;
	}

	.g2-featured-services .section-header h2 {
		font-size: 26px;
	}

	.g2-featured-services .span-3,
	.g2-featured-services .span-4,
	.g2-featured-services .span-6 {
		grid-column: span 12;
	}
}
