/*
 Theme Name:   Baris Otlu Attorna Child
 Theme URI:    https://www.barisotlu.av.tr
 Description:  Attorna child theme customizations for Av. Barış Otlu.
 Author:       Codex
 Template:     attorna
 Version:      0.2.0
 License:      GNU General Public License v2 or later
 Text Domain:  baris-otlu-attorna-child
*/

:root {
	--bot-ink: #1d2529;
	--bot-ink-soft: #2f3a40;
	--bot-muted: #647179;
	--bot-line: #e4ddd2;
	--bot-gold: #b58b52;
	--bot-gold-dark: #856238;
	--bot-ivory: #fbf8f2;
	--bot-stone: #f0ece4;
	--bot-white: #ffffff;
	--bot-teal: #527b86;
	--bot-shadow: 0 20px 55px rgba(29, 37, 41, 0.12);
}

* {
	box-sizing: border-box;
}

body {
	color: var(--bot-ink);
	margin: 0;
	background: var(--bot-ivory);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	text-underline-offset: 0.18em;
}

img {
	max-width: 100%;
	height: auto;
}

.bot-shell {
	width: min(1180px, calc(100% - 44px));
	margin: 0 auto;
}

.bot-topbar {
	background: var(--bot-ink);
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
}

.bot-topbar-inner {
	min-height: 38px;
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
}

.bot-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(228, 221, 210, 0.9);
	backdrop-filter: blur(14px);
}

.bot-header-inner {
	min-height: 82px;
	display: flex;
	gap: 22px;
	align-items: center;
	justify-content: space-between;
}

.bot-brand {
	display: inline-flex;
	gap: 13px;
	align-items: center;
	color: var(--bot-ink);
	text-decoration: none;
	min-width: 245px;
}

.bot-brand-mark {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--bot-ink);
	color: var(--bot-white);
	font-weight: 800;
	box-shadow: inset 0 0 0 2px rgba(181, 139, 82, 0.55);
}

.bot-brand strong,
.bot-brand small {
	display: block;
}

.bot-brand strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 700;
}

.bot-brand small {
	color: var(--bot-muted);
	font-size: 13px;
}

.bot-main-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
}

.bot-main-nav a {
	color: var(--bot-ink);
	text-decoration: none;
	padding: 10px 9px;
	border-radius: 6px;
}

.bot-main-nav a:hover {
	background: var(--bot-stone);
	color: var(--bot-gold-dark);
}

.bot-header-actions {
	display: inline-flex;
	gap: 9px;
	align-items: center;
}

.bot-header-call,
.bot-header-appointment {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 6px;
	padding: 0 13px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.bot-header-call {
	color: var(--bot-gold-dark);
	border: 1px solid var(--bot-gold);
	background: var(--bot-white);
}

.bot-header-appointment {
	color: var(--bot-white);
	background: var(--bot-ink);
}

.bot-hero {
	position: relative;
	background: var(--bot-ink);
	color: var(--bot-white);
	overflow: hidden;
}

.bot-home-hero {
	min-height: 650px;
	padding: 92px 0 70px;
	background-image:
		linear-gradient(90deg, rgba(29, 37, 41, 0.96) 0%, rgba(29, 37, 41, 0.88) 42%, rgba(29, 37, 41, 0.35) 100%),
		url("assets/hero-office.png");
	background-size: cover;
	background-position: center;
}

.bot-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.78fr);
	gap: 46px;
	align-items: center;
}

.bot-hero-panel {
	max-width: 720px;
}

.bot-kicker {
	margin: 0 0 12px;
	color: var(--bot-gold);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: uppercase;
}

.bot-hero h1,
.bot-page-title h1,
.bot-section-heading h2,
.bot-process-grid h2,
.bot-soft-panel h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
}

.bot-hero h1 {
	max-width: 760px;
	font-size: clamp(48px, 7vw, 88px);
	line-height: 0.98;
}

.bot-hero-copy {
	max-width: 670px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 21px;
	line-height: 1.65;
}

.bot-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.bot-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 6px;
	border: 1px solid var(--bot-gold);
	background: var(--bot-gold);
	color: var(--bot-ink);
	font-weight: 850;
	text-decoration: none;
}

.bot-button:hover {
	background: #c79a60;
}

.bot-button-light {
	background: rgba(255, 255, 255, 0.08);
	color: var(--bot-white);
	border-color: rgba(255, 255, 255, 0.34);
}

.bot-hero-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	max-width: 680px;
	margin-top: 42px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.12);
}

.bot-hero-trust span {
	display: block;
	padding: 18px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	background: rgba(29, 37, 41, 0.36);
}

.bot-hero-trust strong {
	display: block;
	color: var(--bot-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 25px;
	line-height: 1.15;
}

.bot-hero-card {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--bot-ink);
	padding: 24px;
	box-shadow: var(--bot-shadow);
}

.bot-hero-card strong {
	display: block;
	margin-bottom: 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
}

.bot-hero-card a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	border-top: 1px solid var(--bot-line);
	color: var(--bot-ink);
	font-weight: 760;
	text-decoration: none;
}

.bot-hero-card a::after {
	content: "›";
	color: var(--bot-gold-dark);
	font-size: 24px;
	line-height: 1;
}

.bot-section {
	padding: 76px 0;
}

.bot-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.52fr);
	gap: 42px;
	align-items: end;
	margin-bottom: 30px;
}

.bot-section-heading .bot-kicker {
	grid-column: 1 / -1;
	margin-bottom: -24px;
}

.bot-section-heading h2 {
	grid-column: 1;
}

.bot-section-heading > p:not(.bot-kicker) {
	grid-column: 2;
	margin: 0;
}

.bot-section-heading h2,
.bot-process-grid h2,
.bot-soft-panel h2 {
	color: var(--bot-ink);
	font-size: clamp(32px, 4.2vw, 52px);
	line-height: 1.08;
}

.bot-section-heading p,
.bot-soft-panel p,
.bot-process-list span {
	color: var(--bot-muted);
	font-size: 17px;
	line-height: 1.72;
}

.bot-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bot-service-card,
.bot-list-card,
.bot-soft-panel,
.bot-side-cta,
.bot-contact-box,
.bot-legal-note {
	border: 1px solid var(--bot-line);
	border-radius: 8px;
	background: var(--bot-white);
	box-shadow: 0 14px 34px rgba(29, 37, 41, 0.06);
}

.bot-service-card {
	min-height: 238px;
	padding: 24px;
	color: var(--bot-ink);
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.bot-service-card:hover {
	border-color: var(--bot-gold);
	box-shadow: var(--bot-shadow);
	transform: translateY(-3px);
}

.bot-service-card span {
	display: inline-flex;
	margin-bottom: 20px;
	padding: 6px 9px;
	border-radius: 6px;
	background: var(--bot-stone);
	color: var(--bot-gold-dark);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.bot-service-card strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 25px;
	line-height: 1.18;
}

.bot-service-card p {
	margin: 16px 0 0;
	color: var(--bot-muted);
	line-height: 1.65;
}

.bot-featured-card {
	background: var(--bot-ink);
	color: var(--bot-white);
}

.bot-featured-card p {
	color: rgba(255, 255, 255, 0.75);
}

.bot-featured-card span {
	background: rgba(181, 139, 82, 0.18);
	color: #d9b883;
}

.bot-process-band {
	padding: 74px 0;
	background: #e8f0f1;
	border-top: 1px solid #d7e1e3;
	border-bottom: 1px solid #d7e1e3;
}

.bot-process-grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.bot-process-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bot-process;
}

.bot-process-list li {
	position: relative;
	min-height: 106px;
	padding: 22px 24px 22px 78px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(82, 123, 134, 0.22);
}

.bot-process-list li::before {
	counter-increment: bot-process;
	content: counter(bot-process);
	position: absolute;
	top: 22px;
	left: 22px;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--bot-teal);
	color: var(--bot-white);
	font-weight: 850;
}

.bot-process-list strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	margin-bottom: 6px;
}

.bot-split-section {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.bot-soft-panel {
	padding: 34px;
}

.bot-dark-panel {
	background: var(--bot-ink);
	color: var(--bot-white);
	border-color: var(--bot-ink);
}

.bot-dark-panel h2 {
	color: var(--bot-white);
}

.bot-dark-panel p {
	color: rgba(255, 255, 255, 0.75);
}

.bot-text-link {
	color: var(--bot-gold-dark);
	font-weight: 850;
	text-decoration: none;
}

.bot-page-title {
	padding: 64px 0 42px;
	background: linear-gradient(135deg, rgba(29, 37, 41, 0.96), rgba(47, 58, 64, 0.96));
	color: var(--bot-white);
	border-bottom: 5px solid var(--bot-gold);
}

.bot-page-title h1 {
	max-width: 900px;
	color: var(--bot-white);
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.08;
}

.bot-page-title p:not(.bot-kicker) {
	max-width: 720px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 18px;
	line-height: 1.7;
}

.bot-content-wrap,
.bot-listing {
	padding: 54px 0 82px;
}

.bot-readable-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 38px;
	align-items: start;
}

.bot-content {
	max-width: 850px;
	font-size: 18px;
	line-height: 1.86;
}

.bot-content h2 {
	margin: 40px 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 31px;
	line-height: 1.22;
	letter-spacing: 0;
}

.bot-content h3 {
	margin: 30px 0 10px;
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: 0;
}

.bot-content p,
.bot-content li {
	color: #313a40;
}

.bot-content a,
.bot-list-card a {
	color: var(--bot-gold-dark);
}

.bot-listing {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.bot-list-card {
	padding: 24px;
	min-height: 190px;
	display: flex;
	flex-direction: column;
}

.bot-list-card h2 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	line-height: 1.25;
	letter-spacing: 0;
}

.bot-list-card h2 a {
	color: var(--bot-ink);
	text-decoration: none;
}

.bot-list-card p {
	color: var(--bot-muted);
	line-height: 1.62;
}

.bot-card-link {
	margin-top: auto;
	font-weight: 850;
	text-decoration: none;
}

.bot-pagination {
	grid-column: 1 / -1;
}

.bot-side-cta {
	position: sticky;
	top: 118px;
	padding: 24px;
}

.bot-side-cta strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	line-height: 1.25;
}

.bot-side-cta p {
	color: var(--bot-muted);
	line-height: 1.65;
}

.bot-side-cta .bot-button {
	width: 100%;
	margin-bottom: 14px;
}

.bot-contact-box,
.bot-legal-note {
	padding: 18px 20px;
}

.bot-contact-box {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	align-items: center;
}

.bot-contact-link {
	color: var(--bot-gold-dark);
	font-weight: 800;
}

.bot-legal-note {
	color: var(--bot-muted);
	font-size: 15px;
	line-height: 1.7;
}

.bot-quick-paths {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.bot-quick-path {
	min-height: 112px;
	border: 1px solid var(--bot-line);
	background: var(--bot-white);
	border-radius: 8px;
	padding: 18px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-direction: column;
	transition: border-color 160ms ease, transform 160ms ease;
}

.bot-quick-path:hover {
	border-color: var(--bot-gold);
	transform: translateY(-2px);
}

.bot-quick-path strong {
	display: block;
	font-size: 16px;
	line-height: 1.35;
}

.bot-site-footer {
	padding: 42px 0 88px;
	background: var(--bot-ink);
	color: var(--bot-white);
}

.bot-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr;
	gap: 30px;
}

.bot-site-footer p,
.bot-site-footer a {
	color: rgba(255, 255, 255, 0.76);
}

.bot-mobile-actions {
	display: none;
}

@media (max-width: 980px) {
	.bot-header-inner {
		align-items: flex-start;
		padding: 16px 0;
		flex-direction: column;
	}

	.bot-main-nav {
		justify-content: flex-start;
	}

	.bot-hero-grid,
	.bot-section-heading,
	.bot-process-grid,
	.bot-readable-layout {
		grid-template-columns: 1fr;
	}

	.bot-section-heading .bot-kicker,
	.bot-section-heading h2,
	.bot-section-heading > p:not(.bot-kicker) {
		grid-column: 1;
		margin-bottom: 0;
	}

	.bot-side-cta {
		position: static;
	}

	.bot-service-grid,
	.bot-listing {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.bot-shell {
		width: min(100% - 30px, 1180px);
	}

	.bot-topbar-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
		padding: 9px 0;
	}

	.bot-brand {
		min-width: 0;
	}

	.bot-main-nav {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}

	.bot-main-nav a {
		background: var(--bot-stone);
		text-align: center;
	}

	.bot-header-actions {
		width: 100%;
	}

	.bot-header-call,
	.bot-header-appointment {
		flex: 1;
	}

	.bot-home-hero {
		min-height: auto;
		padding: 56px 0 46px;
		background-position: 58% center;
	}

	.bot-hero h1,
	.bot-page-title h1 {
		font-size: 40px;
	}

	.bot-hero-copy {
		font-size: 18px;
	}

	.bot-hero-trust {
		grid-template-columns: 1fr;
	}

	.bot-hero-card,
	.bot-soft-panel {
		padding: 22px;
	}

	.bot-section,
	.bot-process-band {
		padding: 52px 0;
	}

	.bot-service-grid,
	.bot-listing,
	.bot-split-section,
	.bot-footer-grid,
	.bot-quick-paths {
		grid-template-columns: 1fr;
	}

	.bot-page-title {
		padding: 46px 0 34px;
	}

	.bot-content-wrap,
	.bot-listing {
		padding: 42px 0 70px;
	}

	.bot-mobile-actions {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		background: var(--bot-ink);
		box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.16);
	}

	.bot-mobile-actions a {
		color: var(--bot-white);
		text-align: center;
		font-size: 13px;
		font-weight: 800;
		padding: 12px 8px;
		text-decoration: none;
		border-left: 1px solid rgba(255, 255, 255, 0.12);
	}
}
