/* CpT Law Firm - yeni tasarım (lacivert / sade / çok boşluklu) */
:root {
	--navy: #0b2167;
	--navy-dark: #081a52;
	--navy-soft: #e8ebf4;
	--text: #545559;
	--heading: #222222;
	--muted: #898a8d;
	--bg-gray: #f3f3f3;
	--line: #e6e6e6;
	--header-h: 90px;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--heading); font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- HEADER ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.site-header .wrap {
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between;
	max-width: 1320px;
}
.logo { display: block; line-height: 0; }
.logo-mark {
	display: block; width: 100px; height: 74px;
	background-color: var(--navy);
	-webkit-mask: url('../images/logo-cpt-mask.png') center / contain no-repeat;
	mask: url('../images/logo-cpt-mask.png') center / contain no-repeat;
}
.main-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; align-items: center; }
.main-menu a {
	font-family: 'Poppins', 'Inter', sans-serif;
	font-size: 14px; font-weight: 500; color: var(--navy);
	padding: 6px 0; border-bottom: 2px solid transparent;
	text-decoration: none; transition: border-color .2s, color .2s;
}
.main-menu a:hover, .main-menu a.is-active { border-bottom-color: var(--muted); color: var(--navy); }
.menu-toggle {
	display: none; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: var(--navy-soft); color: var(--navy); cursor: pointer;
	align-items: center; justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }

/* ---------- HERO (ana sayfa) ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h)); min-height: 380px; max-height: 760px; background: var(--navy-dark); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* ---------- SAYFA BAŞLIK BANDI ---------- */
.page-title-band { background: var(--bg-gray); padding: 48px 0; text-align: center; }
.page-title-band h1 {
	margin: 0; color: var(--navy);
	font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600;
	font-size: clamp(26px, 4vw, 36px);
}

/* ---------- BÖLÜMLER ---------- */
.section { padding: 56px 0; }
.section--gray { background: var(--bg-gray); }
.section h2.section-title {
	font-family: 'Poppins', 'Inter', sans-serif; font-size: 22px; color: var(--heading); margin-bottom: .8em;
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Ana sayfa: tanıtım + kurucu */
.intro-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.intro-grid .portrait { background: var(--bg-gray); }
.portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center bottom; }
.intro-text .lead p { font-size: 17px; }
.founder-name { font-family: 'Poppins', 'Inter', sans-serif; font-size: 20px; margin: 1.4em 0 .1em; }
.founder-role { color: var(--muted); margin-bottom: 1em; }
.founder-bio p { text-align: left !important; }

.btn {
	display: inline-block; background: var(--navy); color: #fff !important;
	font-family: 'Poppins', 'Inter', sans-serif; font-size: 12px; font-weight: 500;
	padding: 8px 22px; border-radius: 30px; text-decoration: none !important;
	transition: background .2s;
}
.btn:hover { background: var(--navy-dark); }

/* Misyon / Vizyon / Neden (gri bant, 3 sütun) */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.cols-3 h3 { font-family: 'Poppins', 'Inter', sans-serif; font-size: 18px; }
.cols-3 p, .cols-3 ul { text-align: left !important; }

/* Hakkımızda */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-grid .prose p { font-size: 17px; text-align: left !important; }
.prose > br, .prose p > br:first-child { display: none; }
.video-box { position: relative; background: #000; }
.video-box img { width: 100%; }
.play-btn {
	position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
	border: 0; border-radius: 50%; background: rgba(11,33,103,.85); cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.play-btn:hover { background: var(--navy); }
.play-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-modal {
	position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.85);
	display: none; align-items: center; justify-content: center; padding: 24px;
}
.video-modal.is-open { display: flex; }
.video-modal video { max-width: 960px; width: 100%; max-height: 80vh; background: #000; }
.video-modal .close {
	position: absolute; top: 18px; right: 24px; background: none; border: 0;
	color: #fff; font-size: 38px; line-height: 1; cursor: pointer;
}
.value-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.value-card h3 { font-family: 'Poppins', 'Inter', sans-serif; font-size: 18px; text-align: center; }
.value-card p { text-align: left !important; }

/* Çalışma alanları kartları */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.card h3 {
	font-family: 'Poppins', 'Inter', sans-serif; text-transform: uppercase;
	font-size: 15px; font-weight: 600; text-align: center; letter-spacing: .02em;
}

/* Avukat sayfası */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.profile-grid .portrait { background: var(--bg-gray); }
.profile h2 { font-family: 'Poppins', 'Inter', sans-serif; color: var(--navy); font-size: 26px; margin-bottom: .1em; }
.profile .role { color: var(--muted); margin-bottom: 1.2em; }
.profile h4 {
	font-family: 'Poppins', 'Inter', sans-serif; font-size: 16px; margin: 2em 0 .6em;
	padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.profile p { text-align: left !important; }
.profile .meta { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 1.2em 0 0; }
.profile .meta dt { font-weight: 600; color: var(--heading); font-size: 14px; }
.profile .meta dd { margin: 0 0 6px; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.contact-grid iframe { width: 100%; height: 420px; border: 0; background: var(--bg-gray); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-list svg { flex: none; width: 24px; height: 24px; margin-top: 3px; fill: var(--navy); }
.contact-list h3 { font-family: 'Poppins', 'Inter', sans-serif; font-size: 22px; color: var(--navy); }

/* Bilgi Bankası */
.blog-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.post { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.post time { font-size: 13px; color: var(--muted); }
.post h2 { font-family: 'Poppins', 'Inter', sans-serif; font-size: 24px; margin: .2em 0 .5em; }
.post h2 a { color: var(--heading); }
.post h2 a:hover { color: var(--navy); text-decoration: none; }
.single-content { overflow-wrap: anywhere; }
.single-content img { max-width: 100%; height: auto; }
.single-content p, .single-content li { text-align: left !important; }
.sidebar h3 { font-family: 'Poppins', 'Inter', sans-serif; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sidebar .date { display: block; font-size: 12px; color: var(--muted); }
.sidebar h4 { font-size: 15px; margin: 4px 0 0; font-weight: 500; }
.sidebar h4 a { color: var(--heading); }
.sidebar h4 a:hover { color: var(--navy); text-decoration: none; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: #fff; }
.footer-top { padding: 56px 0 48px; text-align: center; }
.footer-logo {
	width: 120px; height: 88px; margin: 0 auto 40px;
	background-color: #fff;
	-webkit-mask: url('../images/logo-cpt-mask.png') center / contain no-repeat;
	mask: url('../images/logo-cpt-mask.png') center / contain no-repeat;
}
.footer-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px 80px; text-align: left !important; }
.footer-info a, .footer-info span { color: #fff; font-size: 14px; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.icon-circle {
	flex: none; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.icon-circle svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { background: #fff; color: var(--muted); font-size: 11px; padding: 22px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--navy); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
	.menu-toggle { display: flex; margin-left: auto; }
	.site-header nav { width: 0; }
	.hero { height: 60vh; }
	.hero img { object-position: 72% center; }
	.main-menu {
		display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
		flex-direction: column; align-items: flex-start; gap: 0; background: #fff;
		padding: 8px 24px 20px; box-shadow: 0 8px 16px rgba(0,0,0,.08);
	}
	.main-menu.is-open { display: flex; }
	.main-menu li { width: 100%; border-bottom: 1px solid var(--line); }
	.main-menu a { display: block; padding: 14px 0; border-bottom: 0 !important; }
	.intro-grid, .about-grid, .profile-grid, .contact-grid, .blog-grid { grid-template-columns: 1fr; gap: 36px; }
	.intro-grid .portrait, .profile-grid .portrait { max-width: 320px; }
	.cols-3 { grid-template-columns: 1fr; gap: 32px; }
	.card-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
	.section { padding: 40px 0; }
}
@media (max-width: 540px) {
	:root { --header-h: 76px; }
	.logo-mark { width: 80px; height: 59px; }
	.card-grid { grid-template-columns: 1fr; }
	.footer-info { flex-direction: column; align-items: flex-start; gap: 22px; }
	.footer-bottom .wrap { flex-direction: column; }
}

/* Ana sayfa: üyelikler listesi */
.memberships-title { font-family: 'Poppins', 'Inter', sans-serif; font-size: 18px; margin: 1.8em 0 .6em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 4px 0; }

/* Practice Areas: 3 kart + detay sayfası */
.card-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.card a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--navy); }
.card-text { text-align: center; color: var(--navy); font-size: 15px; margin: 14px 0 18px; }
.card-more { text-align: center; margin: 0; }
.area-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.area-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-text p { font-size: 17px; text-align: left; }

/* Çerez bildirimi */
.cookie-notice {
	position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 200;
	max-width: 520px; background: #fff; border: 1px solid var(--line);
	box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 18px 22px;
	display: flex; gap: 18px; align-items: center; justify-content: space-between;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-notice .btn { border: 0; cursor: pointer; flex: none; }

@media (max-width: 960px) {
	.card-grid--3 { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin: 0 auto; }
	.area-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 540px) {
	.cookie-notice { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; text-align: left; }
}

/* Metinler iki yana yaslı */
.lead p, .founder-bio p, .area-text p, .card-text, .single-content p, .profile p {
	text-align: justify !important;
	-webkit-hyphens: manual;
	hyphens: manual;
}
