/*
Theme Name: Galabet Giriş
Theme URI: https://galabetyenim.com/
Author: Galabet Giriş Rehberi
Description: Galabet ve Galabet Giriş için hızlı, mobil uyumlu ve SEO uyumlu tema.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: galabet
*/

:root {
	--night: #07140f;
	--night-2: #10241b;
	--line: rgba(186, 232, 196, 0.18);
	--green: #12824a;
	--green-dark: #0c6438;
	--lime: #d7f26a;
	--paper: #f7f6f1;
	--ink: #17231c;
	--muted: #5c6b62;
	--gold: #a9782e;
	--card: #ffffff;
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
	--sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1120px;
	--measure: 72ch;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background:
		radial-gradient(900px 420px at 10% -10%, rgba(18, 130, 74, 0.35), transparent 60%),
		radial-gradient(700px 380px at 100% 0%, rgba(215, 242, 106, 0.12), transparent 55%),
		var(--night);
}

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

a { color: var(--green-dark); }

a:hover { color: #084828; }

.skip {
	position: absolute;
	left: 12px;
	top: -40px;
	background: #fff;
	color: #000;
	padding: 8px 12px;
	z-index: 20;
}

.skip:focus { top: 12px; }

.wrap {
	width: min(var(--wrap), calc(100% - 32px));
	margin-inline: auto;
}

.topbar {
	background: #04110b;
	color: #d5e7da;
	font-size: 0.82rem;
	letter-spacing: 0.01em;
}

.topbar p {
	width: min(var(--wrap), calc(100% - 32px));
	margin: 0 auto;
	padding: 8px 0;
}

.age {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 22px;
	margin-right: 8px;
	border-radius: 999px;
	background: var(--lime);
	color: #14200a;
	font-size: 0.72rem;
	font-weight: 800;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(7, 20, 15, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

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

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.brand img {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: #123524;
}

.brand-name span,
.footer-brand span { color: var(--lime); }

.nav-toggle {
	margin-left: auto;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: transparent;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.site-nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 12px 16px 18px;
	background: #0b1c14;
	border-bottom: 1px solid var(--line);
}

.site-nav.is-open { display: grid; gap: 12px; }

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

.menu {
	display: grid;
	gap: 4px;
}

.menu a,
.footer-menu a,
.contact-list a {
	color: #e7f5ec;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.footer-menu a,
.contact-list a { color: #d5e7da; min-height: 36px; }

.menu a:hover,
.footer-menu a:hover,
.contact-list a:hover { color: var(--lime); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.btn-primary {
	background: var(--green);
	color: #fff;
}

.btn-primary:hover { background: var(--green-dark); color: #fff; }

.btn-ghost {
	background: transparent;
	color: var(--green-dark);
	border-color: rgba(18, 130, 74, 0.35);
}

.site-nav .btn-ghost,
.btn-nav {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.25);
	background: var(--green);
}

.site-main { padding: 28px 0 64px; }

.sheet {
	width: min(860px, calc(100% - 32px));
	margin: 0 auto;
	background: var(--paper);
	border-radius: 28px;
	padding: 28px 22px 36px;
	box-shadow: var(--shadow);
}

.kicker {
	margin: 0 0 10px;
	color: var(--gold);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

h1, h2, h3 {
	line-height: 1.25;
	letter-spacing: -0.03em;
	color: #102218;
}

h1 { margin: 0 0 18px; font-size: clamp(1.7rem, 4vw, 2.45rem); }

h2 {
	margin: 2rem 0 0.8rem;
	padding-top: 0.4rem;
	font-size: clamp(1.35rem, 3vw, 1.7rem);
	border-top: 1px solid rgba(18, 130, 74, 0.18);
}

h3 {
	margin: 1.5rem 0 0.6rem;
	font-size: 1.2rem;
	color: var(--green-dark);
}

.guide p,
.sheet p { max-width: var(--measure); }

.guide ul,
.guide ol,
.sheet ul,
.sheet ol { padding-left: 1.2rem; max-width: var(--measure); }

.guide li + li,
.sheet li + li { margin-top: 0.7rem; }

.steps { list-style: decimal; }

.toc {
	margin: 22px 0;
	padding: 14px 16px;
	border-radius: 16px;
	background: #e7f3ea;
}

.toc-title {
	margin: 0 0 6px;
	font-weight: 800;
	font-size: 0.92rem;
}

.toc ol { margin: 0; }

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.figure {
	margin: 22px 0;
	padding: 0;
}

.figure img {
	display: block;
	border-radius: 18px;
	background: #dfe8e2;
}

.figure-portrait { max-width: 420px; }

figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.92rem;
}

.byline {
	margin-top: 28px;
	padding: 16px 18px;
	border-left: 4px solid var(--green);
	background: #fff;
	border-radius: 0 16px 16px 0;
}

.byline p { margin: 0 0 8px; }

.byline-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: var(--muted);
	font-size: 0.92rem;
}

.crumb {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 0.92rem;
}

.crumb a { color: var(--green-dark); }

.note,
.form-note {
	padding: 12px 14px;
	border-radius: 12px;
	background: #e7f3ea;
}

.form-note.warn { background: #fff4d8; }

.contact-form {
	display: grid;
	gap: 12px;
	margin-top: 18px;
	max-width: 560px;
}

.contact-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #c9d5cc;
	font: inherit;
	background: #fff;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.site-footer {
	color: #d5e7da;
	padding: 36px 0 28px;
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	gap: 22px;
}

.footer-brand,
.footer-title {
	margin: 0 0 8px;
	font-weight: 800;
	color: #fff;
}

.footer-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: #b7c9be;
	font-size: 0.92rem;
}

.footer-base a { color: #d5e7da; }

.cookie {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 30;
	display: grid;
	gap: 12px;
	padding: 14px;
	border-radius: 18px;
	background: #10241b;
	color: #e7f5ec;
	box-shadow: var(--shadow);
}

html.cookies-ok .cookie { display: none; }

.cookie p { margin: 0; font-size: 0.95rem; }

.cookie a { color: var(--lime); }

.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

.cookie .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 2px;
}

@media (min-width: 860px) {
	.nav-toggle { display: none; }
	.site-nav {
		display: flex;
		position: static;
		align-items: center;
		gap: 8px;
		margin-left: auto;
		padding: 0;
		background: transparent;
		border: 0;
	}
	.menu { display: flex; align-items: center; gap: 4px; }
	.menu a { padding: 0 10px; color: #e7f5ec; }
	.sheet { padding: 42px 48px 48px; }
	.footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
	.cookie {
		left: auto;
		width: min(520px, calc(100% - 32px));
		right: 16px;
	}
}

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

@media print {
	.topbar, .site-header, .site-footer, .cookie, .cta-row, .nav-toggle { display: none !important; }
	body { background: #fff; }
	.sheet { box-shadow: none; }
}
