/**
 * BBC YAPI MÜHENDİSLİK — Hizmetler Listesi Sayfası
 * ----------------------------------------------------------------------------
 * Bu stil daha önce page-services.php içinde satır içi olarak basılıyordu:
 * 463 satır CSS her sayfa görüntülemesinde yeniden indiriliyor ve tarayıcıda
 * önbelleklenemiyordu. Şablon artık bbc_enqueue_template_style() ile bu
 * dosyayı sürümlenmiş olarak kuyruğa alır.
 */

/* ==========================================================================
   SERVICES LANDING PAGE DESIGN SYSTEM (DARK & GOLD GLASSMORPHISM)
   ========================================================================== */
.serv-hero {
	position: relative;
	background: #0A0D14;
	color: #FFFFFF;
	padding: 110px 0 60px;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.serv-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1000px 500px at 80% -10%, rgba(245, 166, 35, 0.22), transparent 65%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 24px);
	pointer-events: none;
}

.serv-hero .container { position: relative; z-index: 2; }

.serv-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #F5A623;
	margin-bottom: 16px;
	background: rgba(245, 166, 35, 0.12);
	border: 1px solid rgba(245, 166, 35, 0.3);
	padding: 6px 14px;
	border-radius: 30px;
}

.serv-hero h1 {
	font-family: var(--font-display);
	font-weight: 900;
	line-height: 1.1;
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 18px;
}

.serv-hero h1 span {
	color: #F5A623;
	background: linear-gradient(135deg, #F5A623 0%, #FBBF24 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.serv-hero .lead {
	max-width: 780px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.12rem;
	line-height: 1.65;
	margin-bottom: 28px;
}

.serv-breadcrumb {
	font-size: 0.85rem;
	color: #9CA3AF;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.serv-breadcrumb a {
	color: #D1D5DB;
	text-decoration: none;
	transition: color 0.2s ease;
}

.serv-breadcrumb a:hover { color: #F5A623; }

/* Sticky Quick Nav Pills */
.serv-quick-nav-wrap {
	background: rgba(18, 24, 38, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 70px;
	z-index: 90;
	padding: 12px 0;
}

.serv-quick-nav {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	white-space: nowrap;
	padding-bottom: 4px;
	scrollbar-width: thin;
}

.serv-quick-nav::-webkit-scrollbar { height: 4px; }
.serv-quick-nav::-webkit-scrollbar-thumb { background: #F5A623; border-radius: 4px; }

.serv-nav-pill {
	padding: 8px 18px;
	border-radius: 30px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #9CA3AF;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.serv-nav-pill:hover,
.serv-nav-pill.active {
	background: rgba(245, 166, 35, 0.18);
	border-color: #F5A623;
	color: #FFFFFF;
	box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

/* Service Detail Cards Section */
.serv-main-section {
	background: #0A0D14;
	padding: 60px 0 100px;
}

.service-detail-card {
	background: rgba(18, 24, 38, 0.85);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 48px);
	margin-bottom: 50px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	scroll-margin-top: 140px;
	transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-detail-card:hover,
.service-detail-card.focused-card {
	border-color: rgba(245, 166, 35, 0.5);
	box-shadow: 0 25px 65px rgba(245, 166, 35, 0.15);
}

.service-detail-header {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-detail-icon {
	width: 60px;
	height: 60px;
	background: rgba(245, 166, 35, 0.15);
	border: 1px solid rgba(245, 166, 35, 0.35);
	color: #F5A623;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	flex-shrink: 0;
}

.service-detail-title h2 {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: 6px;
}

.service-detail-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.76rem;
	font-weight: 800;
	background: rgba(34, 197, 94, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #86EFAC;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.service-warm-intro {
	background: rgba(245, 166, 35, 0.06);
	border-left: 4px solid #F5A623;
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
	margin-bottom: 24px;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #F3F4F6;
}

.service-detail-body p {
	font-size: 0.98rem;
	line-height: 1.7;
	color: #D1D5DB;
	margin-bottom: 18px;
}

/* Specs & Features Grid */
.service-specs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 28px 0;
}

@media (max-width: 900px) {
	.service-specs-grid { grid-template-columns: 1fr; }
}

.spec-box {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 20px;
}

.spec-box h5 {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 800;
	color: #F5A623;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.spec-box p {
	font-size: 0.88rem;
	color: #9CA3AF;
	margin: 0;
	line-height: 1.5;
}

/* Local Geo Callout Box */
.geo-callout-box {
	background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(10, 13, 20, 0.8) 100%);
	border: 1px solid rgba(56, 189, 248, 0.3);
	border-radius: 16px;
	padding: 20px 24px;
	margin: 24px 0;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.geo-callout-box i { color: #38BDF8; font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.geo-callout-box h5 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 800; color: #FFFFFF; margin-bottom: 4px; }
.geo-callout-box p { font-size: 0.88rem; color: #9CA3AF; margin: 0; line-height: 1.55; }

/* Service FAQ Accordion */
.serv-faq-section {
	margin-top: 24px;
	border-top: 1px dashed rgba(255, 255, 255, 0.1);
	padding-top: 24px;
}

.serv-faq-section h4 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: 14px;
}

.serv-faq-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 10px;
	transition: border-color 0.3s ease;
}

.serv-faq-item[open] { border-color: rgba(245, 166, 35, 0.35); }

.serv-faq-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	font-size: 0.92rem;
	font-weight: 700;
	color: #F3F4F6;
	cursor: pointer;
	list-style: none;
}

/* Taraycilarin yerlesik ucgen imini kaldir (kendi ikonumuz var). */
.serv-faq-header::-webkit-details-marker { display: none; }
.serv-faq-header::marker { content: ""; }

.serv-faq-header:focus-visible {
	outline: 2px solid #F5A623;
	outline-offset: 4px;
	border-radius: 6px;
}

.serv-faq-header i,
.serv-faq-header svg { color: #F5A623; flex-shrink: 0; transition: transform 0.3s ease; }
.serv-faq-item[open] .serv-faq-header i,
.serv-faq-item[open] .serv-faq-header svg { transform: rotate(180deg); }

/*
 * Eskiden `max-height: 250px` ile acilirdi; 250 pikseli gecen cevaplar
 * SESSIZCE KIRPILIYORDU. <details> ile dogal yukseklik kullanilir.
 */
.serv-faq-body {
	margin-top: 10px;
	font-size: 0.88rem;
	color: #9CA3AF;
	line-height: 1.6;
}

.serv-faq-body p:last-child { margin-bottom: 0; }

/* Service Detail Footer Actions */
.service-detail-footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-actions-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Empathetic Founder Card */
.founder-reassurance-card {
	background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(10, 13, 20, 0.95) 100%);
	border: 1px solid rgba(245, 166, 35, 0.4);
	border-radius: 24px;
	padding: 40px 30px;
	margin-top: 60px;
	text-align: center;
}

/* Mobile Responsive Optimizations (< 768px) */
@media (max-width: 768px) {
	.serv-hero {
		padding: 85px 0 35px !important;
	}
	.serv-eyebrow {
		font-size: 0.72rem !important;
		padding: 4px 10px !important;
		margin-bottom: 12px !important;
	}
	.serv-hero h1 {
		font-size: 1.65rem !important;
		line-height: 1.2 !important;
		margin-bottom: 12px !important;
	}
	.serv-hero .lead {
		font-size: 0.925rem !important;
		line-height: 1.55 !important;
		margin-bottom: 18px !important;
	}
	.serv-quick-nav-wrap {
		position: relative !important;
		top: 0 !important;
		padding: 8px 0 !important;
		background: #121826 !important;
	}
	.serv-nav-pill {
		padding: 6px 14px !important;
		font-size: 0.78rem !important;
	}
	.serv-main-section {
		padding: 30px 0 60px !important;
	}
	.service-detail-card {
		padding: 20px 16px !important;
		margin-bottom: 30px !important;
		border-radius: 16px !important;
	}
	.service-detail-header {
		flex-direction: flex-start !important;
		gap: 14px !important;
		margin-bottom: 16px !important;
		padding-bottom: 14px !important;
	}
	.service-detail-icon {
		width: 48px !important;
		height: 48px !important;
		font-size: 20px !important;
		border-radius: 12px !important;
	}
	.service-detail-title h2 {
		font-size: 1.35rem !important;
		line-height: 1.25 !important;
	}
	.service-warm-intro {
		padding: 12px 14px !important;
		font-size: 0.88rem !important;
		line-height: 1.55 !important;
		margin-bottom: 18px !important;
	}
	.service-detail-body p {
		font-size: 0.9rem !important;
		line-height: 1.6 !important;
		margin-bottom: 14px !important;
	}
	.service-specs-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
		margin: 20px 0 !important;
	}
	.spec-box {
		padding: 14px !important;
		border-radius: 10px !important;
	}
	.geo-callout-box {
		padding: 14px !important;
		gap: 10px !important;
		margin: 18px 0 !important;
	}
	.geo-callout-box i { font-size: 18px !important; }
	.serv-faq-section {
		margin-top: 18px !important;
		padding-top: 16px !important;
	}
	.serv-faq-item {
		padding: 12px 14px !important;
	}
	.serv-faq-header {
		font-size: 0.85rem !important;
	}
	.service-detail-footer {
		margin-top: 20px !important;
		padding-top: 16px !important;
		flex-direction: column !important;
		align-items: stretch !important;
	}
	.footer-actions-group {
		flex-direction: column !important;
		width: 100% !important;
	}
	.footer-actions-group .btn,
	.footer-actions-group a.btn {
		width: 100% !important;
		justify-content: center !important;
		padding: 12px !important;
		font-size: 0.8rem !important;
	}
	.founder-reassurance-card {
		padding: 28px 18px !important;
		margin-top: 40px !important;
		border-radius: 16px !important;
	}
	.founder-reassurance-card h3 {
		font-size: 1.3rem !important;
	}
}
