/* ==========================================================================
   Hakkımızda (templates/page-hakkimizda.html + patterns/about.php)
   Photo + intro, story with a tall photo, three values, mission with a product shot.
   ========================================================================== */

.bm-about {
	--about-gap: clamp(32px, 5vw, 72px);
	--about-section: clamp(72px, 9vw, 120px);
	--about-radius: 20px;
	--about-ink: #1c1d29;
	--about-text: var(--bm-text-soft);
	padding-bottom: var(--about-section);
}

.bm-about h1,
.bm-about h2,
.bm-about h3,
.bm-about p {
	margin: 0;
}

/* Shared photo frame */
.bm-about__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--about-radius);
	background: var(--bm-soft);
}

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

/* Hero: photo on the left, breadcrumb + intro on the right ------------------------------------ */
.bm-about__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--about-gap);
	padding-top: 40px;
}

.bm-about__media--hero {
	aspect-ratio: 10 / 11;
}

.bm-about__intro > .wp-block-woocommerce-breadcrumbs {
	margin: 0 0 32px !important;
}

.bm-about__title {
	color: var(--about-ink);
	font-size: clamp(30px, 2.8vw, 40px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	text-wrap: balance;
}

.bm-about__lead {
	margin-top: 24px !important;
	color: var(--about-text);
	font-size: 16px;
	line-height: 1.75;
}

.bm-about__points {
	display: grid;
	gap: 30px;
	margin: 40px 0 0;
	padding: 36px 0 0;
	border-top: 1px solid rgba(28, 29, 41, 0.08);
	list-style: none;
}

.bm-about__points li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	color: var(--about-text);
	font-size: 14.5px;
	line-height: 1.6;
}

.bm-about__points strong {
	display: block;
	margin-bottom: 4px;
	color: var(--about-ink);
	font-size: 16px;
	font-weight: 600;
}

.bm-about__point-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(236, 105, 7, 0.09);
	color: var(--bm-accent);
}

.bm-about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 48px;
}

.bm-about__actions .bm-btn {
	flex: 1 1 200px;
	max-width: 260px;
	/* Labels as written ("İletişim Bilgileri"), not the site-wide all-caps button style */
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
}

/* Story: long text + tall photo ---------------------------------------------------------------- */
.bm-about__story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--about-gap);
	margin-top: var(--about-section);
}

.bm-about__story h2 {
	margin-bottom: 22px;
	color: var(--about-ink);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.bm-about__story-text p {
	color: var(--about-text);
	font-size: 17px;
	line-height: 1.8;
}

.bm-about__story-text p + p {
	margin-top: 20px;
}

.bm-about__media--story {
	aspect-ratio: 4 / 3;
}

/* Three values ------------------------------------------------------------------------------- */
.bm-about__values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: var(--about-section);
}

.bm-about__value {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 36px 28px;
	border: 1px solid rgba(28, 29, 41, 0.07);
	border-radius: var(--about-radius);
	text-align: center;
}

.bm-about__value-icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: rgba(236, 105, 7, 0.09);
	color: var(--bm-accent);
}

.bm-about__value h3 {
	color: var(--about-ink);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bm-about__value p {
	max-width: 320px;
	margin-top: 10px;
	color: var(--about-text);
	font-size: 14.5px;
	line-height: 1.65;
}

/* Mission: product shot + centred text ---------------------------------------------------------- */
.bm-about__mission {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--about-gap);
	margin-top: var(--about-section);
}

.bm-about__media--product {
	aspect-ratio: 1;
	max-width: 520px;
	width: 100%;
	justify-self: center;
	background: #fff;
}

.bm-about__media--product img {
	object-fit: contain;
}

.bm-about__mission-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.bm-about__mission h2 {
	max-width: 520px;
	color: var(--about-ink);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-wrap: balance;
}

.bm-about__mission h2 span {
	color: var(--bm-accent);
}

.bm-about__mission p {
	max-width: 560px;
	margin-top: 20px;
	color: var(--about-text);
	font-size: 15.5px;
	line-height: 1.8;
}

.bm-about__mission p.bm-about__motto {
	margin-top: 14px;
	color: var(--about-ink);
	font-size: 15.5px;
	font-weight: 600;
}

.bm-about__social {
	display: flex;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.bm-about__social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--bm-soft);
	color: var(--bm-primary);
	transition: background-color 0.2s, color 0.2s;
}

.bm-about__social a:hover {
	background: var(--bm-accent);
	color: #fff;
}

/* Centred section heading (Değişim ve İade: "İade Süreci") ----------------------------------- */
.bm-about__process {
	margin-top: var(--about-section);
	text-align: center;
}

.bm-about__section-title {
	color: var(--about-ink);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.bm-about__section-lead {
	margin-top: 12px !important;
	color: var(--about-text);
	font-size: 16px;
	line-height: 1.7;
}

/* Numbered steps reuse the value cards */
.bm-about__steps {
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.bm-about__steps .bm-about__value-icon {
	position: relative;
}

.bm-about__steps .bm-about__value-icon b {
	position: absolute;
	top: -4px;
	right: -6px;
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: 100px;
	background: var(--bm-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.bm-about__value p a {
	color: var(--bm-accent);
	font-weight: 600;
	text-decoration: none;
}

.bm-about__value p a:hover {
	text-decoration: underline;
}

/* Help box: soft panel with centred text and actions --------------------------------------------- */
.bm-about__help {
	margin-top: clamp(32px, 3.5vw, 48px);
}

.bm-about__help-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(32px, 3.5vw, 44px) 24px;
	border-radius: var(--about-radius);
	background: var(--bm-soft);
	text-align: center;
}

.bm-about__help-box .bm-about__value-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	background: #fff;
}

.bm-about__help-box h2 {
	color: var(--about-ink);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.bm-about__help-box p {
	max-width: 540px;
	margin-top: 12px;
	color: var(--about-text);
	font-size: 16px;
	line-height: 1.7;
}

.bm-about__help-box .bm-about__actions {
	justify-content: center;
	margin-top: 24px;
	width: 100%;
}

/* İletişim: dark info card + greyed map --------------------------------------------------------- */
.bm-contact__head {
	padding-top: 40px;
}

.bm-contact__head > .wp-block-woocommerce-breadcrumbs {
	margin: 0 0 24px !important;
}

.bm-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
	margin-top: 36px;
}

.bm-contact__card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 440px;
	padding: clamp(36px, 4.5vw, 64px);
	border-radius: var(--about-radius);
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(236, 105, 7, 0.22) 0%, rgba(236, 105, 7, 0) 55%),
		linear-gradient(160deg, #2a2c3a 0%, #1c1d29 70%);
	color: #fff;
}

.bm-contact__card h2 {
	margin-bottom: 32px;
	color: #fff;
	font-size: clamp(28px, 2.6vw, 36px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.bm-contact__list {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-contact__list li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 17px;
	line-height: 1.5;
}

.bm-contact__list .bm-icon {
	flex: none;
	margin-top: 1px;
	color: var(--bm-accent);
}

.bm-contact__list a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s;
}

.bm-contact__list a:hover {
	color: var(--bm-accent);
}

/* Map: grey tiles that fade into the page, orange pin, our own buttons */
.bm-contact__map {
	position: relative;
	min-height: 440px;
	overflow: hidden;
	border-radius: var(--about-radius);
}

.bm-contact__map-canvas {
	position: absolute;
	inset: 0;
	background: #f4f4f6;
	-webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 45%, transparent 100%);
	mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 45%, transparent 100%);
}

.bm-contact__map-canvas.leaflet-container {
	background: #f4f4f6;
	font: inherit;
}

/* Light grey tiles: one filter over the whole tile layer (no transparency, which shows seams) */
.bm-contact__map .leaflet-tile-pane {
	filter: grayscale(1) brightness(1.1) contrast(0.78);
}

.bm-contact__map .leaflet-control-attribution {
	background: none;
	color: var(--bm-muted);
	font-size: 10px;
}

.bm-contact__map .leaflet-control-attribution a {
	color: inherit;
}

.bm-contact__pin {
	color: var(--bm-accent);
	filter: drop-shadow(0 6px 10px rgba(236, 105, 7, 0.35));
}

.bm-contact__pin svg {
	display: block;
}

.bm-contact__route {
	position: absolute;
	bottom: 24px;
	left: 24px;
	z-index: 500;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 100px;
	background: var(--bm-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(236, 105, 7, 0.28);
	transition: background-color 0.2s;
}

.bm-contact__route:hover {
	background: var(--bm-accent-dark);
	color: #fff;
}

.bm-contact__zoom {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 500;
	display: flex;
	overflow: hidden;
	border-radius: 100px;
	background: #ececf0;
	box-shadow: 0 4px 14px rgba(28, 29, 41, 0.08);
}

.bm-contact__zoom button {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	background: none;
	color: var(--about-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s;
}

.bm-contact__zoom button + button {
	border-left: 1px solid rgba(28, 29, 41, 0.1);
}

.bm-contact__zoom button:hover {
	background: #e0e0e6;
}

/* Tablet & phone: one column ------------------------------------------------------------------- */
@media (max-width: 900px) {
	.bm-about__hero,
	.bm-about__story,
	.bm-about__mission {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-about__hero {
		padding-top: 20px;
	}

	.bm-about__media--hero {
		aspect-ratio: 4 / 3;
	}

	.bm-about__media--story {
		aspect-ratio: 4 / 3;
	}

	.bm-about__values {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.bm-about__media--product {
		max-width: 360px;
	}

	.bm-contact__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		margin-top: 32px;
	}

	.bm-contact__card {
		min-height: 0;
	}

	.bm-contact__map {
		min-height: 360px;
	}
}

@media (max-width: 640px) {
	.bm-about__actions .bm-btn {
		max-width: none;
	}

	.bm-about__value {
		padding: 28px 22px;
	}

	.bm-contact__list li {
		font-size: 15.5px;
	}

	.bm-contact__route {
		bottom: 16px;
		left: 16px;
		min-height: 46px;
		padding: 0 20px;
		font-size: 15px;
	}

	.bm-contact__zoom {
		right: 16px;
		bottom: 16px;
	}

	.bm-contact__zoom button {
		width: 46px;
		height: 46px;
	}
}
