/*
Theme Name: Buf Ajans
Theme URI: https://bufajans.com.tr/
Author: Buf Ajans
Author URI: https://bufajans.com.tr/
Description: Buf Ajans reklam ajansı için tasarlanmış hızlı, mobil uyumlu ve SEO uyumlu kurumsal tema. Mavi tonlu, modern ve sade tasarım.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buf-ajans
Tags: business, blog, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
	--blue-900: #081f3a;
	--blue-800: #0a2a4d;
	--blue-700: #0b3d75;
	--blue-600: #1256a8;
	--blue-500: #1a6cd6;
	--blue-100: #e7f0fb;
	--blue-50: #f4f8fe;
	--amber-400: #ffc93c;
	--amber-500: #f5b400;
	--gray-900: #17212c;
	--gray-700: #3d4c5c;
	--gray-500: #6b7a8a;
	--gray-200: #dbe3ec;
	--gray-100: #eef2f7;
	--white: #ffffff;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(8, 31, 58, .12);
	--shadow-sm: 0 4px 14px rgba(8, 31, 58, .08);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--gray-900);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--blue-600);
	text-decoration: none;
	transition: color .15s ease;
}

a:hover,
a:focus {
	color: var(--blue-500);
	text-decoration: underline;
}

.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--gray-100);
	clip: auto !important;
	clip-path: none;
	color: var(--blue-800);
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	top: 5px;
	width: auto;
	z-index: 100000;
	text-decoration: none;
	padding: 12px 20px;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip-link:focus {
	left: 10px;
	top: 10px;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
	text-align: center;
}

.btn:hover,
.btn:focus {
	text-decoration: none;
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--amber-400);
	color: var(--blue-900);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--amber-500);
	color: var(--blue-900);
	box-shadow: 0 12px 26px rgba(245, 180, 0, .35);
}

.btn-outline {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, .7);
}

.btn-outline:hover,
.btn-outline:focus {
	background: rgba(255, 255, 255, .12);
	color: var(--white);
	border-color: var(--white);
}

.btn-blue {
	background: var(--blue-600);
	color: var(--white);
}

.btn-blue:hover,
.btn-blue:focus {
	background: var(--blue-700);
	color: var(--white);
	box-shadow: 0 12px 26px rgba(18, 86, 168, .3);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--gray-100);
	box-shadow: 0 2px 12px rgba(8, 31, 58, .05);
}

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

.site-branding {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.site-title {
	font-size: 26px;
	font-weight: 800;
	color: var(--blue-800);
	letter-spacing: -.02em;
}

.site-title:hover,
.site-title:focus {
	color: var(--blue-600);
	text-decoration: none;
}

.site-tagline {
	font-size: 13px;
	color: var(--gray-500);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.main-navigation a {
	display: block;
	padding: 10px 16px;
	border-radius: 8px;
	color: var(--gray-700);
	font-weight: 600;
	font-size: 16px;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--blue-600);
	background: var(--blue-50);
	text-decoration: none;
}

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 10px;
	border-radius: 8px;
}

.menu-toggle-bar {
	display: block;
	width: 26px;
	height: 3px;
	margin: 5px 0;
	background: var(--blue-800);
	border-radius: 3px;
}

/* ---------- Hero ---------- */
.hero {
	background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%);
	color: var(--white);
	padding: 84px 0 96px;
	position: relative;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, transparent 70%);
}

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

.hero-kicker {
	display: inline-block;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .25);
	color: var(--white);
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: 22px;
}

.hero-title {
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.12;
	margin: 0 0 18px;
	max-width: 760px;
	letter-spacing: -.02em;
}

.hero-sub {
	font-size: clamp(17px, 2.2vw, 21px);
	max-width: 640px;
	margin: 0 0 30px;
	opacity: .92;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 54px;
}

.hero-stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	max-width: 700px;
}

.hero-stats li {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: var(--radius);
	padding: 18px 20px;
}

.hero-stats strong {
	display: block;
	font-size: 26px;
	color: var(--amber-400);
	line-height: 1.1;
}

.hero-stats span {
	font-size: 14px;
	opacity: .9;
}

/* ---------- Sections ---------- */
.section {
	padding: 80px 0;
}

.section-alt {
	background: var(--blue-50);
}

.section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}

.section-eyebrow {
	color: var(--blue-600);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.section-title {
	font-size: clamp(28px, 3.6vw, 38px);
	line-height: 1.2;
	margin: 0 0 14px;
	color: var(--blue-900);
	letter-spacing: -.01em;
}

.section-sub {
	color: var(--gray-500);
	margin: 0;
	font-size: 18px;
}

/* ---------- Services grid ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 26px;
}

.service-card {
	background: var(--white);
	border: 1px solid var(--gray-100);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow-sm);
	transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: var(--blue-100);
	color: var(--blue-600);
	margin-bottom: 18px;
}

.service-icon svg {
	width: 30px;
	height: 30px;
}

.service-card h3 {
	margin: 0 0 8px;
	font-size: 20px;
	color: var(--blue-900);
}

.service-card p {
	margin: 0;
	color: var(--gray-700);
	font-size: 16px;
}

/* ---------- Why us ---------- */
.why-grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 48px;
	align-items: center;
}

.why-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.why-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.why-check {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--blue-600);
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 16px;
	margin-top: 2px;
}

.why-list h3 {
	margin: 0 0 4px;
	font-size: 18px;
	color: var(--blue-900);
}

.why-list p {
	margin: 0;
	color: var(--gray-500);
	font-size: 16px;
}

.why-callout {
	background: linear-gradient(160deg, var(--blue-800), var(--blue-600));
	color: var(--white);
	border-radius: var(--radius);
	padding: 36px;
	box-shadow: var(--shadow);
}

.why-callout h3 {
	margin: 0 0 12px;
	font-size: 24px;
}

.why-callout p {
	margin: 0 0 24px;
	opacity: .92;
}

.why-callout .btn {
	width: 100%;
}

/* ---------- CTA band ---------- */
.cta-band {
	background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
	color: var(--white);
	padding: 60px 0;
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.cta-inner h2 {
	margin: 0 0 8px;
	font-size: clamp(24px, 3vw, 32px);
}

.cta-inner p {
	margin: 0;
	opacity: .9;
}

.cta-phone {
	font-size: 26px;
	font-weight: 800;
	color: var(--amber-400);
}

.cta-phone:hover,
.cta-phone:focus {
	color: var(--white);
	text-decoration: none;
}

/* ---------- Blog ---------- */
.page-hero {
	background: var(--blue-800);
	color: var(--white);
	padding: 54px 0;
}

.page-hero h1 {
	margin: 0;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.2;
}

.page-hero .breadcrumbs {
	font-size: 14px;
	opacity: .85;
	margin-top: 8px;
}

.page-hero .breadcrumbs a {
	color: var(--white);
	opacity: .8;
}

.page-hero .breadcrumbs a:hover {
	opacity: 1;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}

.post-card {
	background: var(--white);
	border: 1px solid var(--gray-100);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.post-card-thumb {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--blue-100), var(--blue-600));
	overflow: hidden;
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	text-align: center;
}

.post-card-placeholder span {
	background: rgba(255, 255, 255, .92);
	color: var(--blue-800);
	font-weight: 700;
	font-size: 17px;
	padding: 10px 18px;
	border-radius: 10px;
}

.post-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--gray-500);
}

.post-card-cat a {
	color: var(--blue-600);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 12px;
}

.post-card-title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.35;
}

.post-card-title a {
	color: var(--blue-900);
}

.post-card-title a:hover,
.post-card-title a:focus {
	color: var(--blue-600);
	text-decoration: none;
}

.post-card-excerpt {
	margin: 0 0 18px;
	color: var(--gray-700);
	font-size: 15.5px;
	flex: 1;
}

.post-card-link {
	font-weight: 700;
	color: var(--blue-600);
}

.post-card-link:hover {
	text-decoration: underline;
}

.pagination {
	margin: 48px 0 0;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid var(--gray-200);
	color: var(--gray-700);
	background: var(--white);
	font-weight: 600;
}

.pagination .page-numbers.current {
	background: var(--blue-600);
	border-color: var(--blue-600);
	color: var(--white);
}

.pagination .page-numbers:hover {
	border-color: var(--blue-600);
	color: var(--blue-600);
	text-decoration: none;
}

/* ---------- Single post ---------- */
.single-wrapper {
	max-width: 860px;
	margin: 0 auto;
}

.single-meta {
	color: var(--gray-500);
	font-size: 14px;
	margin-bottom: 28px;
}

.single-meta .cat-links a {
	color: var(--blue-600);
	font-weight: 600;
}

.single-thumb {
	margin: 0 0 28px;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-content {
	font-size: 17px;
}

.entry-content h2 {
	font-size: 28px;
	margin: 40px 0 14px;
	color: var(--blue-900);
	line-height: 1.25;
}

.entry-content h3 {
	font-size: 23px;
	margin: 32px 0 12px;
	color: var(--blue-800);
	line-height: 1.3;
}

.entry-content h4 {
	font-size: 19px;
	margin: 26px 0 10px;
	color: var(--blue-800);
}

.entry-content p {
	margin: 0 0 18px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 20px;
	padding-left: 26px;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin: 28px 0;
	padding: 18px 24px;
	border-left: 4px solid var(--blue-600);
	background: var(--blue-50);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15.5px;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--gray-200);
	padding: 10px 12px;
	text-align: left;
}

.entry-content th {
	background: var(--blue-100);
	color: var(--blue-900);
	font-weight: 700;
}

.entry-content tr:nth-child(even) td {
	background: var(--gray-100);
}

.entry-content img {
	border-radius: var(--radius);
}

.post-tags {
	margin: 34px 0;
}

.post-tags .tag-links a {
	display: inline-block;
	background: var(--blue-50);
	color: var(--blue-700);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	margin: 4px 4px 4px 0;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--gray-100);
	border-bottom: 1px solid var(--gray-100);
	padding: 22px 0;
	margin: 34px 0;
	flex-wrap: wrap;
}

.post-navigation a {
	color: var(--blue-600);
	font-weight: 600;
}

/* ---------- Comments ---------- */
.comments-area {
	margin-top: 40px;
}

.comments-title,
.comment-reply-title {
	font-size: 24px;
	color: var(--blue-900);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 24px 0;
}

.comment-list .comment-body {
	background: var(--blue-50);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 16px;
}

.comment-list .comment-author {
	font-weight: 700;
	color: var(--blue-800);
}

.comment-list .comment-metadata a {
	color: var(--gray-500);
	font-size: 13px;
}

.comment-list .children {
	list-style: none;
	padding-left: 28px;
}

.comment-form label {
	display: block;
	font-weight: 600;
	margin: 14px 0 6px;
	color: var(--blue-800);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--gray-200);
	border-radius: 8px;
	font: inherit;
	background: var(--white);
	color: var(--gray-900);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--blue-500);
	outline-offset: -1px;
	border-color: var(--blue-500);
}

.comment-form .submit {
	background: var(--blue-600);
	color: var(--white);
	border: 0;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	margin-top: 16px;
}

.comment-form .submit:hover {
	background: var(--blue-700);
}

/* ---------- Search / 404 ---------- */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 460px;
	margin: 24px auto 0;
}

.search-form .search-field {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--gray-200);
	border-radius: 999px;
	font: inherit;
}

.search-form .search-field:focus {
	outline: 2px solid var(--blue-500);
	outline-offset: -1px;
	border-color: var(--blue-500);
}

.search-form .search-submit {
	background: var(--blue-600);
	color: var(--white);
	border: 0;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}

.search-form .search-submit:hover {
	background: var(--blue-700);
}

.search-notice {
	text-align: center;
	padding: 20px 0 0;
	color: var(--gray-700);
}

.error-404 {
	text-align: center;
	padding: 40px 0 60px;
}

.error-404 h2 {
	font-size: 34px;
	color: var(--blue-900);
}

/* ---------- Widgets ---------- */
.widget {
	margin-bottom: 30px;
}

.widget-title {
	font-size: 18px;
	color: var(--blue-900);
	border-bottom: 2px solid var(--blue-100);
	padding-bottom: 10px;
	margin-bottom: 14px;
}

/* ---------- Page content ---------- */
.page-content {
	padding: 56px 0 72px;
}

.page-content-inner {
	max-width: 860px;
	margin: 0 auto;
}

.entry-content .alignleft {
	float: left;
	margin: 8px 24px 16px 0;
}

.entry-content .alignright {
	float: right;
	margin: 8px 0 16px 24px;
}

.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--blue-900);
	color: rgba(255, 255, 255, .85);
	margin-top: 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding: 56px 20px 40px;
}

.footer-title {
	color: var(--white);
	font-size: 17px;
	margin: 0 0 16px;
}

.site-footer p {
	margin: 0 0 10px;
	font-size: 15px;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin-bottom: 10px;
	font-size: 15px;
}

.site-footer a {
	color: rgba(255, 255, 255, .85);
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--amber-400);
	text-decoration: none;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .14);
	padding: 20px 0;
}

.footer-bottom p {
	margin: 0;
	font-size: 14px;
	text-align: center;
	color: rgba(255, 255, 255, .6);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.why-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 860px) {
	.menu-toggle {
		display: inline-flex;
	}

	.main-navigation {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--gray-100);
		box-shadow: var(--shadow-sm);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}

	.main-navigation.nav-open {
		max-height: 480px;
		overflow-y: auto;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		padding: 12px 20px;
		gap: 2px;
	}

	.main-navigation a {
		padding: 14px 12px;
		border-radius: 8px;
	}

	.hero {
		padding: 64px 0 72px;
	}

	.cta-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.section {
		padding: 56px 0;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}
}
