/* =========================================================
   Önce & Sonra sayfası — Figma tasarımına göre
   ========================================================= */

.page-ba {
	background: var(--color-bg);
	padding-block: 28px 96px;
}

.ba-wrap {
	max-width: 1160px;
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

/* ---------- YOL İZİ ---------- */
.ba-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--color-muted);
	margin-bottom: 30px;
}

.ba-breadcrumb a {
	color: var(--color-muted);
	transition: color 0.18s ease;
}

.ba-breadcrumb a:hover {
	color: var(--color-gold);
}

.ba-breadcrumb__sep {
	color: var(--color-border);
}

.ba-breadcrumb__current {
	color: var(--color-navy);
	font-weight: 500;
}

/* ---------- HERO ---------- */
.ba-hero {
	text-align: center;
	margin-bottom: 34px;
}

.ba-hero__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3em;
	color: var(--color-gold);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.ba-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(32px, 4.6vw, 50px);
	font-weight: 500;
	line-height: 1.12;
	color: var(--color-heading);
	margin-bottom: 14px;
}

.ba-hero__subtitle {
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-text);
	max-width: 640px;
	margin: 0 auto;
}

/* ---------- FİLTRE ---------- */
.ba-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}

.ba-filter {
	appearance: none;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-navy);
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ba-filter:hover {
	border-color: var(--color-navy);
}

.ba-filter.is-active {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: #fff;
}

/* ---------- IZGARA ---------- */
.ba-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px 24px;
}

.ba-card {
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 26px 50px -34px rgba(11, 31, 68, 0.4);
}

.ba-card.is-hidden {
	display: none;
}

.ba-card__media {
	position: relative;
	background: var(--color-section);
}

.ba-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: var(--color-navy);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
}

.ba-card__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.ba-card__side {
	position: relative;
	aspect-ratio: 3 / 4;
	background: var(--color-section);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.ba-card__side + .ba-card__side {
	border-left: 2px solid #fff;
}

.ba-card__side img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ba-card__ph {
	font-family: var(--font-heading);
	font-size: 15px;
	color: var(--color-muted);
}

.ba-card__tag {
	position: absolute;
	bottom: 8px;
	left: 8px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(11, 31, 68, 0.6);
	padding: 3px 8px;
	border-radius: 5px;
}

.ba-card__tag--after {
	left: auto;
	right: 8px;
	background: rgba(169, 139, 78, 0.85);
}

/* Etiketleri kartın dış kenarlarına sabitle (Sonrası solda, Öncesi sağda). */
.ba-card__side:first-child .ba-card__tag {
	left: 8px;
	right: auto;
}

.ba-card__side:last-child .ba-card__tag {
	left: auto;
	right: 8px;
}

.ba-card__body {
	padding: 16px 18px 18px;
}

.ba-card__grafts {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 500;
	color: var(--color-heading);
	margin-bottom: 4px;
}

.ba-card__meta {
	font-size: 13.5px;
	color: #111;
}

.ba-card__loc {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--color-heading);
}

.ba-card__flag {
	font-size: 17px;
	line-height: 1;
}

.ba-noresult {
	text-align: center;
	color: var(--color-muted);
	padding: 40px 0;
	font-size: 15px;
}

/* ---------- CTA ---------- */
.ba-cta {
	margin-top: 56px;
	background: var(--color-navy);
	color: #fff;
	border-radius: 20px;
	padding: 60px 32px;
	text-align: center;
}

.ba-cta__eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.3em;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.ba-cta__title {
	font-family: var(--font-heading);
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 500;
	margin-bottom: 12px;
}

.ba-cta__text {
	font-size: 15px;
	color: #fff;
	max-width: 560px;
	margin: 0 auto 28px;
	line-height: 1.6;
}

.ba-cta__actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.ba-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	font-weight: 600;
	padding: 13px 26px;
	border-radius: 10px;
	transition: transform 0.18s ease, background 0.18s ease;
}

.ba-cta__btn--wa {
	background: #fff;
	color: var(--color-navy);
}

.ba-cta__btn--wa:hover {
	background: #eef1f6;
	transform: translateY(-1px);
}

.ba-cta__btn--phone {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.ba-cta__btn--phone:hover {
	border-color: #fff;
	transform: translateY(-1px);
}

/* ---------- DUYARLI ---------- */
@media (max-width: 900px) {
	.ba-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.ba-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ba-cta {
		padding: 44px 22px;
	}
}
