/*
Theme Name: Huqqabet
Theme URI: https://example.com/huqqabet
Author: Huqqabet
Description: Huqqabet için koyu/neon yeşil, hızlı, responsive ve AMP uyumlu WordPress teması. Alevbet temasının koyu/yeşil versiyonudur.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: huqqabet
*/

:root {
	--color-bg: #050a07;
	--color-bg-deep: #020403;
	--color-bg-green: #06231a;
	--color-surface: #0c1511;
	--color-surface-soft: #122019;
	--color-surface-raised: #17291f;
	--color-text: #e9f3ec;
	--color-muted: #8fa89a;
	--color-green: #00f878;
	--color-green-light: #7dffb7;
	--color-green-dark: #00b857;
	--color-line: #1b2f25;
	--color-line-strong: #2a4535;
	--gradient-green: linear-gradient(135deg, #5dffa5 0%, #00f878 45%, #00c460 100%);
	--shadow-card: 0 22px 55px rgba(0, 0, 0, 0.6);
	--radius: 10px;
	--content-width: 1100px;
	--font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--color-text);
	background:
		radial-gradient(circle at 50% -8%, rgba(0, 248, 120, 0.32) 0, rgba(0, 248, 120, 0.1) 28%, transparent 55%),
		radial-gradient(circle at 6% 38%, rgba(0, 248, 120, 0.08) 0, transparent 30%),
		radial-gradient(circle at 94% 72%, rgba(0, 248, 120, 0.06) 0, transparent 30%),
		linear-gradient(180deg, var(--color-bg-green) 0, var(--color-bg) 46%, var(--color-bg-deep) 100%);
	background-attachment: fixed;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--color-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--color-green-light);
}

button,
input,
textarea,
select {
	font: inherit;
}

.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: 10px 16px;
	clip: auto;
	color: #000;
	background: var(--color-green);
	border-radius: 6px;
	font-weight: 700;
}

/* Header / hero */

.site-header {
	position: relative;
	padding: 34px 20px 56px;
	overflow: hidden;
	border-bottom: 1px solid var(--color-line);
}

.site-header::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		radial-gradient(circle at 50% 0, rgba(0, 248, 120, 0.16), transparent 34%),
		linear-gradient(180deg, rgba(0, 248, 120, 0.03), transparent);
}

.site-header::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	content: "";
	background: linear-gradient(90deg, transparent, rgba(0, 248, 120, 0.7), transparent);
}

.hero {
	width: min(820px, 100%);
	margin: 0 auto;
	text-align: center;
}

.site-logo {
	display: inline-block;
	margin-bottom: 14px;
	filter: drop-shadow(0 12px 30px rgba(0, 248, 120, 0.28));
}

.site-logo img {
	width: min(300px, 70vw);
	height: auto;
	object-fit: contain;
}

.hero-title {
	margin: 0;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: 0.01em;
	color: #ffffff;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.hero-title::after {
	display: block;
	width: 72px;
	height: 4px;
	margin: 16px auto 0;
	content: "";
	background: var(--gradient-green);
	border-radius: 999px;
	box-shadow: 0 0 18px rgba(0, 248, 120, 0.6);
}

.hero-description {
	max-width: 660px;
	margin: 16px auto 0;
	color: #b9d2c4;
	font-size: 1rem;
	line-height: 1.65;
}

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

.login-button,
.register-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 30px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.login-button {
	color: #03140a;
	background: var(--gradient-green);
	border: 1px solid rgba(125, 255, 183, 0.8);
	box-shadow:
		0 10px 30px rgba(0, 248, 120, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.login-button:hover,
.login-button:focus {
	color: #000;
	box-shadow:
		0 14px 38px rgba(0, 248, 120, 0.48),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.register-button {
	color: var(--color-green-light);
	background: rgba(0, 248, 120, 0.07);
	border: 1px solid rgba(0, 248, 120, 0.45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.register-button:hover,
.register-button:focus {
	color: #fff;
	background: rgba(0, 248, 120, 0.16);
	border-color: var(--color-green);
	transform: translateY(-2px);
}

/* Layout */

.site-main {
	width: min(var(--content-width), calc(100% - 40px));
	margin: 32px auto 0;
}

.content-grid {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(250px, 0.85fr);
	gap: 28px;
	align-items: start;
}

.content-card,
.sidebar-card {
	background:
		linear-gradient(180deg, rgba(0, 248, 120, 0.05), rgba(0, 248, 120, 0) 38%),
		var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	box-shadow:
		var(--shadow-card),
		inset 0 1px 0 rgba(0, 248, 120, 0.08);
}

.content-card {
	min-width: 0;
	padding: clamp(24px, 4vw, 42px);
}

.sidebar {
	position: sticky;
	top: 24px;
}

.sidebar-card {
	padding: 23px;
}

.sidebar-title {
	padding-bottom: 13px;
	margin: 0 0 12px;
	border-bottom: 1px solid var(--color-line-strong);
	color: var(--color-green);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-transform: uppercase;
}

.recent-posts {
	padding: 0;
	margin: 0;
	list-style: none;
}

.recent-posts li {
	padding: 11px 0;
	border-bottom: 1px solid var(--color-line);
	line-height: 1.4;
}

.recent-posts li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.recent-posts a {
	color: #d2e4d9;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.recent-posts a:hover,
.recent-posts a:focus {
	color: var(--color-green);
}

.sidebar-empty {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9rem;
}

/* Posts */

.post-summary {
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--color-line);
}

.post-summary:last-of-type {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.entry-title {
	margin: 0 0 8px;
	font-size: clamp(1.25rem, 3vw, 1.6rem);
	font-weight: 800;
	line-height: 1.3;
}

.entry-title a {
	color: #ffffff;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	color: var(--color-green);
}

.entry-meta {
	margin-bottom: 18px;
	color: var(--color-muted);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry-summary p {
	margin: 0 0 14px;
	color: #c6d8cd;
}

.read-more {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	color: var(--color-green-light);
	background: rgba(0, 248, 120, 0.07);
	border: 1px solid rgba(0, 248, 120, 0.4);
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.read-more:hover,
.read-more:focus {
	color: #03140a;
	background: var(--gradient-green);
	border-color: var(--color-green-light);
}

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

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.7em;
	margin-bottom: 0.6em;
	color: #ffffff;
	line-height: 1.3;
}

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

.entry-content h3 {
	font-size: 1.28rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-top: 0;
	margin-bottom: 1.25em;
	color: #d4e4da;
}

.entry-content a {
	color: var(--color-green);
}

.entry-content blockquote {
	padding: 15px 20px;
	margin: 1.5em 0;
	background: var(--color-surface-soft);
	border-left: 4px solid var(--color-green);
	border-radius: 0 6px 6px 0;
}

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

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

.entry-content th {
	color: #03140a;
	background: var(--gradient-green);
}

.entry-content tr:nth-child(even) td {
	background: var(--color-surface-soft);
}

.featured-image {
	margin: 0 0 26px;
	overflow: hidden;
	border: 1px solid var(--color-line-strong);
	border-radius: 8px;
}

.featured-image img {
	width: 100%;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

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

.wp-caption,
.gallery-caption {
	max-width: 100%;
	color: var(--color-muted);
	font-size: 0.85rem;
}

.empty-state h2 {
	margin-top: 0;
	color: #ffffff;
}

/* Navigation */

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 25px;
	margin-top: 35px;
	border-top: 1px solid var(--color-line);
}

.post-navigation a,
.page-links a {
	color: var(--color-green-light);
	font-weight: 700;
	text-decoration: none;
}

.post-navigation a:hover,
.page-links a:hover {
	color: #fff;
	text-decoration: underline;
}

.nav-next {
	margin-left: auto;
	text-align: right;
}

.navigation.pagination {
	padding-top: 25px;
	margin-top: 35px;
	border-top: 1px solid var(--color-line);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 6px 11px;
	color: var(--color-green-light);
	background: var(--color-surface-raised);
	border: 1px solid var(--color-line-strong);
	border-radius: 6px;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
	color: #03140a;
	background: var(--gradient-green);
	border-color: var(--color-green-light);
}

/* Footer */

.site-footer {
	padding: 44px 20px 32px;
	color: var(--color-muted);
	text-align: center;
}

.footer-inner {
	width: min(var(--content-width), 100%);
	padding-top: 25px;
	margin: 0 auto;
	border-top: 1px solid var(--color-line);
	font-size: 0.88rem;
}

.footer-icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 14px;
	object-fit: contain;
	filter: drop-shadow(0 0 12px rgba(0, 248, 120, 0.5));
}

.footer-inner a {
	color: var(--color-green);
}

.footer-inner a:hover,
.footer-inner a:focus {
	color: var(--color-green-light);
}

/* Responsive */

@media (max-width: 820px) {
	.site-header {
		padding-bottom: 42px;
	}

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

	.sidebar {
		position: static;
	}
}

@media (max-width: 520px) {
	body {
		font-size: 15px;
	}

	.site-header {
		padding: 24px 16px 36px;
	}

	.site-logo img {
		width: min(240px, 72vw);
	}

	.hero-description {
		font-size: 0.94rem;
	}

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}

	.login-button,
	.register-button {
		width: 100%;
		max-width: 330px;
	}

	.site-main {
		width: min(100% - 24px, var(--content-width));
		margin-top: 24px;
	}

	.content-card {
		padding: 22px 18px;
	}

	.sidebar-card {
		padding: 20px 18px;
	}

	.post-navigation {
		flex-direction: column;
	}

	.nav-next {
		margin-left: 0;
		text-align: left;
	}

	.alignleft,
	.alignright {
		float: none;
		margin-right: auto;
		margin-left: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.login-button,
	.register-button,
	.read-more {
		transition: none;
	}
}
