/*
Theme Name: BalSohbet.Net
Theme URI: https://balsohbet.net/
Author: BalSohbet.Net
Description: BalSohbet.Net için sohbet odaklı, mobil uyumlu WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: balsohbet-net
*/

:root {
	--bs-ink: #15233b;
	--bs-muted: #66758c;
	--bs-blue: #215fe8;
	--bs-blue-dark: #1648bd;
	--bs-red: #e64258;
	--bs-orange: #f58a32;
	--bs-line: #e5ebf3;
	--bs-soft: #f4f7fc;
	--bs-white: #fff;
	--bs-shadow: 0 22px 60px rgba(26, 52, 95, .12);
	--bs-radius: 22px;
	color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #eef3fb;
	color: var(--bs-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--bs-blue); text-decoration: none; }
a:hover { color: var(--bs-blue-dark); }
button, input { font: inherit; }
.bs-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.login-card { scroll-margin-top: 105px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 18px; clip: auto; background: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(229, 237, 252, .96); border-bottom: 1px solid #cfdbf1; box-shadow: 0 6px 20px rgba(25, 48, 94, .09); backdrop-filter: blur(14px); }
body.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--bs-ink); font-size: 1.28rem; font-weight: 800; letter-spacing: -.045em; }
.site-brand:hover { color: var(--bs-ink); }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-height: 44px; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, var(--bs-blue) 10%, var(--bs-red) 75%, var(--bs-orange)); font-size: 1.08rem; letter-spacing: -.08em; box-shadow: 0 7px 18px rgba(40, 100, 240, .24); }
.brand-wordmark { display: inline-flex; align-items: baseline; }
.brand-wordmark span { color: var(--bs-blue); }
.primary-navigation { margin-left: auto; }
.primary-navigation ul { display: flex; align-items: center; gap: 30px; padding: 0; margin: 0; list-style: none; }
.primary-navigation li { position: relative; }
.primary-navigation a { color: #324b78; font-size: .94rem; font-weight: 700; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--bs-blue); }
.primary-navigation .sub-menu { position: absolute; top: 100%; left: -18px; display: none; min-width: 190px; padding: 12px; border: 1px solid var(--bs-line); border-radius: 14px; background: #fff; box-shadow: var(--bs-shadow); }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.primary-navigation .sub-menu li { padding: 7px 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--bs-line); border-radius: 13px; color: var(--bs-ink); background: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; content: ""; }
.header-cta { padding: 11px 18px; border-radius: 12px; color: #fff; background: linear-gradient(110deg, var(--bs-blue), var(--bs-red)); font-size: .9rem; font-weight: 750; box-shadow: 0 8px 18px rgba(40, 100, 240, .22); }
.header-cta:hover { color: #fff; background: linear-gradient(110deg, var(--bs-blue-dark), #c82f49); }

.hero { overflow: hidden; position: relative; padding: 68px 0 74px; background: radial-gradient(ellipse at 87% 8%, rgba(245, 138, 50, .78), transparent 23%), radial-gradient(ellipse at 4% 95%, rgba(230, 66, 88, .62), transparent 28%), linear-gradient(115deg, #123988 0%, #215fe8 62%, #347af3 100%); }
.hero::before { position: absolute; right: -130px; bottom: -260px; width: 580px; height: 580px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 8vw, 105px); }
.login-card { position: relative; z-index: 1; padding: 32px; border: 1px solid rgba(255, 255, 255, .9); border-top: 5px solid var(--bs-orange); border-radius: var(--bs-radius); background: #fff; box-shadow: 0 26px 66px rgba(8, 28, 78, .3); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--bs-blue); font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--bs-orange); content: ""; }
.login-card h2 { margin: 10px 0 5px; font-size: 1.48rem; letter-spacing: -.04em; }
.login-card > p { margin: 0 0 22px; color: var(--bs-muted); font-size: .92rem; }
.login-form { display: grid; gap: 14px; }
.form-field label { display: block; margin-bottom: 6px; color: #34445d; font-size: .84rem; font-weight: 700; }
.form-field input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #dce4ef; border-radius: 11px; outline: none; color: var(--bs-ink); background: #fff; transition: border-color .18s, box-shadow .18s; }
.form-field input:focus { border-color: var(--bs-blue); box-shadow: 0 0 0 3px rgba(40, 100, 240, .12); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 0; border-radius: 11px; cursor: pointer; font-size: .94rem; font-weight: 750; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--bs-blue); box-shadow: 0 9px 18px rgba(40, 100, 240, .2); }
.button-primary:hover { color: #fff; background: var(--bs-blue-dark); }
.button-download { width: 100%; margin-top: 11px; border: 1px solid #e77829; color: #fff; background: linear-gradient(105deg, #f58a32, #e95e42); box-shadow: 0 8px 18px rgba(229, 99, 52, .2); }
.button-download:hover { border-color: #d94f3a; color: #fff; background: linear-gradient(105deg, #e77424, #d94454); }
.button:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.form-note { min-height: 1.4em; margin: 3px 0 0; color: #a04b23; font-size: .82rem; }
.hero-copy { display: grid; max-width: 660px; grid-template-columns: minmax(0, 1fr) minmax(185px, .7fr); align-items: center; gap: 22px; }
.hero-copy-text { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 14px; color: #ffd178; }
.hero-copy h1 { margin: 0 0 17px; color: #fff; font-size: clamp(2.55rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -.065em; text-shadow: 0 3px 20px rgba(10, 31, 84, .18); }
.hero-copy h1 span { color: #ffc45c; }
.hero-copy p { max-width: 520px; margin: 0; color: #e7edff; font-size: 1.08rem; line-height: 1.75; }
.hero-visual { position: relative; display: grid; min-width: 0; min-height: 370px; place-items: center; margin: 0; }
.hero-visual img { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: min(470px, 52vw); min-height: 300px; object-fit: contain; border: 7px solid #fff; border-radius: 25px; background: #e9eef9; box-shadow: 0 25px 65px rgba(5, 25, 72, .42), 0 0 0 4px rgba(255, 255, 255, .16); }
.hero-orbit { position: absolute; width: 220px; height: 220px; border: 1px solid rgba(40, 100, 240, .15); border-radius: 50%; }
.hero-orbit::before, .hero-orbit::after { position: absolute; width: 13px; height: 13px; border: 4px solid #fff; border-radius: 50%; background: var(--bs-orange); box-shadow: 0 4px 15px rgba(245, 138, 50, .22); content: ""; }
.hero-orbit::before { top: 26px; right: 18px; }
.hero-orbit::after { bottom: 22px; left: 20px; background: var(--bs-red); }

.section { padding: 76px 0; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { margin: 0 0 7px; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--bs-muted); }
.seo-section { position: relative; padding: 59px 0 62px; border-top: 5px solid var(--bs-orange); border-bottom: 1px solid #c9d7f1; background: linear-gradient(115deg, #dce8ff 0%, #eef3ff 58%, #fff0e4 100%); }
.seo-section::after { position: absolute; top: 0; right: 0; width: 24%; height: 5px; background: var(--bs-red); content: ""; }
.seo-content { max-width: 100%; color: #354766; }
.seo-content > :first-child { margin-top: 0; }
.seo-content > :last-child { margin-bottom: 0; }
.seo-content h2, .seo-content h3, .seo-content h4 { color: var(--bs-ink); letter-spacing: -.035em; }
.seo-content a { text-decoration: underline; text-underline-offset: 3px; }
.posts-section { padding-top: 72px; background: linear-gradient(135deg, #f0f5ff 0%, #fff8f1 100%); border-bottom: 1px solid #dce5f4; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link { flex: 0 0 auto; margin-bottom: 10px; font-size: .92rem; font-weight: 750; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid #cedbf2; border-top: 4px solid var(--bs-blue); border-radius: 17px; background: #fff; box-shadow: 0 8px 25px rgba(31, 66, 129, .07); transition: transform .2s, box-shadow .2s; }
.post-card:nth-child(3n + 2) { border-top-color: var(--bs-red); }
.post-card:nth-child(3n) { border-top-color: var(--bs-orange); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(26, 52, 95, .16); }
.post-card-image { display: block; overflow: hidden; aspect-ratio: 1.72; background: linear-gradient(135deg, #d8e5ff 0%, #f8e3e7 52%, #ffead6 100%); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-body { padding: 19px 20px 21px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 9px; color: #8290a4; font-size: .76rem; font-weight: 650; }
.post-meta a { display: inline-block; padding: 1px 8px; border-radius: 999px; color: #b5354d; background: #ffedf0; }
.post-card h2, .post-card h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.025em; }
.post-card h2 a, .post-card h3 a { color: var(--bs-ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--bs-blue); }
.post-card p { margin: 0; color: var(--bs-muted); font-size: .9rem; }
.empty-posts { padding: 30px; border: 1px dashed #e8a970; border-radius: 16px; color: #68452e; background: #fff2e6; }

.site-footer { padding: 55px 0 23px; color: #bdc8d9; background: linear-gradient(115deg, #101b32 0%, #172b55 68%, #392842 100%); border-top: 5px solid var(--bs-red); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .85fr; gap: 54px; padding-bottom: 40px; }
.footer-brand .site-brand { color: #fff; }
.footer-brand p { max-width: 360px; margin: 17px 0 0; color: #aab7ca; font-size: .92rem; }
.footer-column h2 { margin: 4px 0 17px; color: #fff; font-size: .94rem; letter-spacing: .01em; }
.footer-column ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.footer-column a { color: #bdc8d9; font-size: .88rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8796ad; font-size: .8rem; }
.footer-bottom p { margin: 0; }

.content-main { min-height: 46vh; padding: 62px 0 80px; background: linear-gradient(140deg, #e8efff 0%, #f6f8fd 62%, #fff0e4 100%); }
.single-main { min-height: 0; padding: 0; background: transparent; }
.content-narrow { max-width: 800px; }
.archive-header { margin-bottom: 34px; }
.archive-header h1, .entry-title { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.055em; }
.archive-description { color: var(--bs-muted); }
.entry-content { color: #45566f; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--bs-ink); line-height: 1.3; letter-spacing: -.035em; }
.entry-content img { border-radius: 15px; }
.entry-content blockquote { margin: 25px 0; padding: 14px 20px; border-left: 3px solid var(--bs-blue); color: #51627b; background: #f4f7fc; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 10px 12px; border: 1px solid var(--bs-line); }
.pagination { margin-top: 34px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pagination ul.page-numbers { min-width: 0; height: auto; place-items: initial; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid #bfd0ef; border-radius: 11px; color: #29426f; background: #fff; font-size: .9rem; font-weight: 700; box-shadow: 0 4px 12px rgba(31, 66, 129, .08); }
.pagination a.page-numbers:hover { border-color: var(--bs-blue); color: var(--bs-blue); background: #f4f7ff; }
.pagination .current { border-color: var(--bs-blue); color: #fff; background: var(--bs-blue); }
.pagination .dots { border-color: transparent; background: transparent; }
.single-article { background: #fff; }
.single-content-area { padding: 58px 0 78px; background: linear-gradient(140deg, #e8efff 0%, #f6f8fd 62%, #fff0e4 100%); }
.single-content { padding: clamp(24px, 5vw, 54px); border: 1px solid #d7e2f5; border-radius: 22px; background: #fff; box-shadow: 0 14px 42px rgba(31, 66, 129, .1); }
.single-post-header { margin: 0 8px 18px; }
.single-post-header .post-meta { color: #66758c; }
.single-featured-image { overflow: hidden; margin: 0 0 24px; border: 1px solid #d7e2f5; border-radius: 17px; }
.single-featured-image img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.single-content-footer { padding: 0 8px; }
.single-content-footer p { margin: 22px 0 0; color: var(--bs-muted); }
.single-content-footer a { color: #b5354d; }
.single-article .post-navigation { padding: 22px 8px 0; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 45px; padding-top: 24px; border-top: 1px solid var(--bs-line); }
.post-navigation a { font-weight: 700; }
.post-navigation .nav-next { text-align: right; }
.comment-list { padding-left: 22px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--bs-line); border-radius: 9px; }
.comment-form .submit { padding: 11px 16px; border: 0; border-radius: 10px; color: #fff; background: var(--bs-blue); cursor: pointer; }
.error-404 { padding: 80px 0; text-align: center; }
.error-404 h1 { margin: 0 0 14px; font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.06em; }

@media (max-width: 850px) {
	.header-inner { min-height: 72px; flex-wrap: wrap; gap: 12px; }
	.menu-toggle { display: block; order: 3; }
	.header-cta { margin-left: auto; }
	.primary-navigation { display: none; order: 4; width: 100%; margin: 0; }
	.primary-navigation.is-open { display: block; padding: 0 0 14px; }
	.primary-navigation ul { display: grid; gap: 0; }
	.primary-navigation li { border-top: 1px solid var(--bs-line); }
	.primary-navigation a { display: block; padding: 12px 3px; }
	.primary-navigation .sub-menu { position: static; display: block; padding: 0 0 5px 14px; border: 0; box-shadow: none; }
	.primary-navigation .sub-menu li { border: 0; }
	.primary-navigation .sub-menu a { padding: 8px 3px; }
	.hero { padding: 48px 0 58px; }
	.hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
	.login-card { padding: 25px; }
	.hero-copy { grid-template-columns: minmax(0, 1fr) minmax(150px, .65fr); gap: 16px; }
	.hero-copy h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
	.hero-copy p { font-size: .98rem; }
	.hero-visual { min-height: 320px; }
	.hero-visual img { height: min(390px, 46vw); min-height: 280px; border-width: 6px; border-radius: 21px; }
	.hero-orbit { width: 190px; height: 190px; }
	.single-content-area { padding: 42px 0 58px; }
	.post-grid { gap: 15px; }
	.post-card-body { padding: 16px; }
	.footer-grid { gap: 30px; }
}
@media (max-width: 640px) {
	.bs-container { width: min(100% - 30px, 500px); }
	.site-brand { font-size: 1.15rem; }
	.brand-mark { width: 36px; height: 36px; }
	.header-cta { padding: 9px 13px; font-size: .82rem; }
	.hero { padding: 34px 0 45px; }
	.hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.hero-copy { grid-template-columns: 1fr; gap: 10px; }
	.hero-copy h1 { max-width: 500px; font-size: clamp(2.5rem, 12vw, 3.65rem); }
	.hero-copy p { font-size: 1rem; }
	.login-card { padding: 24px; }
	.hero-visual { min-height: 335px; margin-top: 10px; }
	.hero-visual img { height: min(430px, 115vw); min-height: 0; }
	.hero-orbit { width: 190px; height: 190px; }
	.single-content-area { padding: 30px 0 48px; }
	.single-content { padding: 24px 20px; border-radius: 16px; }
	.section { padding: 54px 0; }
	.seo-section { padding: 43px 0; }
	.section-heading-row { align-items: flex-start; }
	.section-heading-row .text-link { max-width: 90px; text-align: right; }
	.post-grid { grid-template-columns: 1fr; }
	.post-card { display: grid; grid-template-columns: 118px 1fr; align-items: stretch; }
	.post-card-image { min-height: 100%; aspect-ratio: auto; }
	.post-card-body { padding: 14px; }
	.post-card h2, .post-card h3 { font-size: 1rem; }
	.post-card p { display: none; }
	.post-meta { gap: 5px 8px; font-size: .69rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; gap: 6px; }
	.content-main { padding: 42px 0 60px; }
	.post-navigation { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
