/*
Theme Name: Mersobahis Mobil
Theme URI: https://example.com/mersobahis-mobil
Author: Mersobahis
Description: Mersobahis mobil giriş, iOS ve Android uygulama rehberi teması. Siyah / gümüş tasarım. Hazır dolu, uzun ve indexlenebilir anasayfa; her bölümün metni ve görseli Özelleştirici'den düzenlenir. Mobil/masaüstü karşılaştırma tablosu, S.S.S. akordiyonu, otomatik kurulan alt sayfalar ve menüler. AMP uyumlu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mersobahis-mobil
Tags: blog, custom-menu, custom-logo, one-column
*/

:root {
	--bg-dark: #070707;
	--bg-mid: #121212;
	--surface: rgba(18, 18, 18, 0.78);
	--silver: #c9c9c9;
	--silver-light: #f4f4f4;
	--silver-deep: #8d8d8d;
	--text: #ededed;
	--soft: #d0d0d0;
	--muted: #9a9a9a;
	--ink: #0a0a0a;
	--card-border: rgba(255, 255, 255, 0.14);
	--line: rgba(255, 255, 255, 0.1);
	--grad-silver: linear-gradient(135deg, #f8f8f8 0%, #c6c6c6 55%, #9a9a9a 100%);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--text);
	background: radial-gradient(1200px 600px at 15% -5%, rgba(255, 255, 255, 0.11), transparent 60%),
		radial-gradient(1000px 550px at 90% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
		linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-mid) 55%, #050505 100%);
	background-attachment: fixed;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--silver-light);
	text-decoration: none;
}

a:hover {
	color: #fff;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-glow {
	position: fixed;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.1;
	pointer-events: none;
	z-index: 0;
}

.site-glow-left {
	top: -120px;
	left: -140px;
	background: #ffffff;
}

.site-glow-right {
	top: 30%;
	right: -160px;
	background: #b8c0cc;
	opacity: 0.08;
}

/* Header */
.site-header {
	position: relative;
	z-index: 5;
	border-bottom: 1px solid var(--line);
	background: rgba(8, 8, 8, 0.82);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 76px;
}

.site-logo {
	display: block;
	flex-shrink: 0;
}

.site-logo img {
	display: block;
	height: 30px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
}

.site-nav {
	flex: 1;
}

.site-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.site-menu li a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	color: var(--text);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-menu li a:hover,
.site-menu li.current-menu-item a,
.site-menu li.current_page_item a {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* Buttons */
.btn {
	display: inline-block;
	font-weight: 800;
	letter-spacing: 0.03em;
	border-radius: 8px;
	text-align: center;
}

.btn-header,
.btn-primary,
.btn-app {
	color: var(--ink);
	background: var(--grad-silver);
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-header:hover,
.btn-primary:hover,
.btn-app:hover {
	color: #000;
	filter: brightness(1.1);
}

.btn-header {
	margin-left: auto;
	padding: 11px 24px;
	font-size: 0.95rem;
}

.btn-primary {
	padding: 17px 52px;
	font-size: 1.2rem;
}

.btn-outline {
	padding: 16px 40px;
	font-size: 1.1rem;
	color: var(--silver-light);
	border: 2px solid var(--silver);
	background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
	color: var(--ink);
	background: var(--silver-light);
}

.btn-app {
	padding: 13px 30px;
	font-size: 1.02rem;
}

/* Hero */
.hero {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 44px 0 34px;
}

.hero-front {
	padding: 64px 0 54px;
}

.hero-badge {
	display: inline-block;
	padding: 8px 20px;
	margin-bottom: 18px;
	border-radius: 999px;
	border: 1px solid var(--card-border);
	background: rgba(255, 255, 255, 0.07);
	color: var(--silver-light);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-title {
	margin: 0 0 14px;
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1.2;
	background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 45%, #8f8f8f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-desc {
	max-width: 720px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 1.1rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 30px;
}

/* Sections */
.site-main {
	position: relative;
	z-index: 2;
	padding-bottom: 60px;
}

.section {
	margin: 44px 0;
}

.section h2 {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 16px;
	color: var(--silver-light);
}

.text-section p,
.compare-section p,
.app-section > p {
	color: var(--soft);
	font-size: 1.05rem;
}

/* Feature cards */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.feature-card {
	padding: 24px 20px;
	border-radius: 14px;
	border: 1px solid var(--card-border);
	background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(10, 10, 10, 0.7));
	text-align: center;
}

.feature-icon {
	font-size: 2rem;
	display: block;
	margin-bottom: 10px;
	filter: grayscale(1) brightness(1.35);
}

.feature-card h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	color: var(--silver-light);
}

.feature-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Comparison table */
.table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid var(--card-border);
	margin: 20px 0;
}

.compare-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: var(--surface);
	font-size: 0.98rem;
}

.compare-table th {
	background: linear-gradient(180deg, #2c2c2c, #1b1b1b);
	color: var(--silver-light);
	text-align: left;
	padding: 14px 18px;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.compare-table td {
	padding: 13px 18px;
	border-top: 1px solid var(--line);
	color: var(--soft);
}

.compare-table td:first-child {
	font-weight: 700;
	color: var(--silver-light);
	white-space: nowrap;
}

.compare-table tbody tr:nth-child(odd) {
	background: rgba(255, 255, 255, 0.035);
}

/* App cards */
.app-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 22px 0;
}

.app-card {
	padding: 28px 26px;
	border-radius: 16px;
	border: 1px solid var(--card-border);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(10, 10, 10, 0.72));
}

.app-card h3 {
	margin: 0 0 14px;
	font-size: 1.3rem;
	color: var(--silver-light);
}

.app-card ul {
	margin: 0 0 20px;
	padding-left: 20px;
	color: var(--soft);
}

.app-card li {
	margin-bottom: 8px;
}

.app-section > p.app-note {
	color: var(--muted);
	font-size: 0.95rem;
}

/* Steps */
.steps-list {
	list-style: none;
	counter-reset: mbm-step;
	margin: 0;
	padding: 0;
}

.steps-list li {
	counter-increment: mbm-step;
	position: relative;
	padding: 18px 20px 18px 76px;
	margin-bottom: 14px;
	border-radius: 12px;
	border: 1px solid var(--card-border);
	background: var(--surface);
}

.steps-list li::before {
	content: counter(mbm-step);
	position: absolute;
	left: 20px;
	top: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--grad-silver);
	color: var(--ink);
	font-weight: 900;
	font-size: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.steps-list h3 {
	margin: 0 0 6px;
	font-size: 1.1rem;
	color: var(--silver-light);
}

.steps-list p {
	margin: 0;
	color: var(--soft);
	font-size: 0.98rem;
}

/* FAQ accordion */
.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	border: 1px solid var(--card-border);
	border-radius: 12px;
	background: var(--surface);
	overflow: hidden;
}

.faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 56px 18px 22px;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--text);
	position: relative;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	margin-top: -14px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--silver-light);
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 28px;
	text-align: center;
}

.faq-item[open] summary {
	color: #fff;
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item p {
	margin: 0;
	padding: 0 22px 20px;
	color: var(--soft);
	font-size: 0.98rem;
}

/* Section images */
.section-media {
	margin: 30px 0 6px;
	text-align: center;
}

.section-media img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	border: 1px solid var(--card-border);
	border-radius: 16px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.section-media img:hover {
	transform: translateY(-4px) scale(1.01);
	border-color: var(--silver);
	box-shadow: 0 22px 55px rgba(255, 255, 255, 0.1);
}

/* CTA */
.cta-section {
	text-align: center;
	padding: 44px 30px;
	border-radius: 18px;
	border: 1px solid var(--card-border);
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(10, 10, 10, 0.75));
}

.cta-section p {
	color: var(--soft);
	max-width: 620px;
	margin: 0 auto 24px;
}

.btn-cta {
	font-size: 1.25rem;
}

/* Blog cards */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.post-card {
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	border: 1px solid var(--card-border);
	background: var(--surface);
	overflow: hidden;
}

.post-card-media img {
	display: block;
	width: 100%;
	height: auto;
}

.post-card-body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
}

.post-card-date {
	color: var(--muted);
	font-size: 0.85rem;
}

.post-card-title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.4;
}

.post-card-title a {
	color: var(--silver-light);
}

.post-card-title a:hover {
	color: #fff;
	text-decoration: underline;
}

.post-card-excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.93rem;
}

.post-card-more {
	margin-top: auto;
	font-weight: 700;
	font-size: 0.95rem;
}

.pagination {
	margin-top: 30px;
	text-align: center;
}

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

.pagination .page-numbers {
	display: inline-block;
	padding: 9px 16px;
	border-radius: 8px;
	border: 1px solid var(--card-border);
	color: var(--text);
	font-weight: 700;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--grad-silver);
	color: var(--ink);
}

/* Content cards (single/page) */
.breadcrumb {
	margin-bottom: 16px;
	font-size: 0.92rem;
	color: var(--muted);
}

.breadcrumb a {
	color: var(--silver);
}

.breadcrumb-sep {
	margin: 0 8px;
	color: var(--muted);
}

.breadcrumb-current {
	color: var(--text);
}

.content-card {
	padding: 34px 34px 40px;
	border-radius: 16px;
	border: 1px solid var(--card-border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 30%), #131313;
	color: var(--soft);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.content-card a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-meta {
	color: var(--muted);
	font-size: 0.92rem;
	margin-bottom: 18px;
}

.entry-meta-sep {
	margin: 0 8px;
}

.entry-thumbnail {
	margin: 0;
}

.entry-thumbnail img {
	border-radius: 12px;
	margin-bottom: 20px;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--silver-light);
	line-height: 1.35;
	margin: 1.6em 0 0.6em;
}

.entry-content h2 {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.entry-content img {
	border-radius: 10px;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--silver);
	background: rgba(255, 255, 255, 0.05);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

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

.entry-content th {
	background: #222;
	color: var(--silver-light);
}

.back-home {
	margin-top: 26px;
	text-align: center;
}

.page-extra .content-card {
	margin-top: 8px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Footer */
.site-footer {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--line);
	background: rgba(4, 4, 4, 0.9);
	padding: 44px 0 26px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-logo {
	display: block;
	height: 26px;
	width: auto;
	margin-bottom: 14px;
}

.footer-about p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.footer-title {
	margin: 0 0 12px;
	font-size: 0.98rem;
	color: var(--silver-light);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

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

.footer-menu li {
	margin-bottom: 8px;
}

.footer-menu a {
	color: var(--soft);
	font-size: 0.96rem;
}

.footer-menu a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid var(--line);
	padding-top: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	color: var(--muted);
	font-size: 0.92rem;
}

.footer-bottom p {
	margin: 0;
}

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

	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

	.footer-about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.header-inner {
		flex-wrap: wrap;
		padding: 12px 20px;
		gap: 12px;
	}

	.site-logo img {
		height: 24px;
		max-width: 190px;
	}

	.site-nav {
		order: 3;
		flex-basis: 100%;
	}

	.site-menu {
		justify-content: center;
	}

	.site-menu li a {
		padding: 8px 10px;
		font-size: 13px;
	}

	.btn-header {
		padding: 10px 18px;
		font-size: 0.9rem;
	}

	.feature-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}

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

	.content-card {
		padding: 24px 20px 30px;
	}

	.steps-list li {
		padding-left: 66px;
	}

	.steps-list li::before {
		left: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.section-media img {
		transition: none;
	}
}
