/*
Theme Name: Kulüp Pro
Theme URI: https://www.vulut.com/
Description: Amatör spor kulüpleri için modern, hafif tema. Kulübe özel renk, logo, kadro, puan durumu ve iletişim bölümleri.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
Author: Ufuk Hoca
Text Domain: kulup
*/

:root {
	--c1: #c8102e;
	--c2: #111111;
	--dark: #0d0d10;
	--ink: #16181d;
	--muted: #5d6470;
	--line: #e6e8ec;
	--bg: #ffffff;
	--soft: #f4f5f7;
	--on-c1: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(10, 12, 20, .08);
	--head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c1); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
	font-family: var(--head);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: .01em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 8px 14px; clip: auto; width: auto; height: auto; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .85em 1.5em;
	border-radius: 999px;
	font-weight: 700; font-size: .95rem;
	letter-spacing: .02em;
	background: var(--c1); color: var(--on-c1);
	border: 2px solid var(--c1);
	transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.btn--light { background: #fff; color: var(--dark); border-color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }

/* Top bar */
.topbar { background: var(--dark); color: rgba(255,255,255,.8); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }

/* Social icons */
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: rgba(255,255,255,.08); color: #fff;
	transition: background .15s ease;
}
.social a:hover { background: var(--c1); color: var(--on-c1); }
.social svg { width: 16px; height: 16px; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 1.35rem; line-height: 1; text-transform: uppercase; }
.brand__name small { display: block; font-size: .72rem; font-family: var(--body); font-weight: 600; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav a {
	display: block; padding: 10px 14px;
	font-weight: 600; font-size: .95rem; color: var(--ink);
	border-radius: 8px;
}
.nav a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--c1); text-decoration: none; }
.nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px;
	display: block; padding: 8px;
	background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .15s ease;
}
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: .75em; }
.nav-toggle {
	display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
	position: relative; color: #fff; overflow: hidden;
	min-height: min(88vh, 760px);
	display: flex; align-items: center;
	background: var(--dark);
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.03); }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(100deg, color-mix(in srgb, var(--dark) 92%, transparent) 0%, color-mix(in srgb, var(--dark) 70%, transparent) 45%, color-mix(in srgb, var(--c1) 35%, transparent) 100%);
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 2;
	background: var(--bg);
	clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}
.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 110px; }
.hero__kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
	color: #fff; margin-bottom: 18px;
}
.hero__kicker::before { content: ""; width: 40px; height: 3px; background: var(--c1); border-radius: 3px; }
.hero h1 { margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 em { font-style: normal; color: var(--c1); }
.hero__text { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge { justify-self: center; position: relative; }
.hero__badge img { width: min(320px, 70vw); filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats */
.stats { position: relative; z-index: 5; margin-top: -60px; }
.stats__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
	border: 1px solid var(--line);
}
.stat { padding: 26px 22px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--c1); }
.stat__label { font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: 6px; }

/* Sections */
.section { padding: 90px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.eyebrow {
	display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
	color: var(--c1); margin-bottom: 10px;
}
.section--dark .eyebrow { color: #fff; opacity: .8; }
.section__head h2 { margin: 0; }
.more-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.more-link svg { width: 18px; height: 18px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.about__media::before {
	content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
	background: var(--c1); z-index: -1;
}
.about__since {
	position: absolute; left: -20px; bottom: 30px;
	background: var(--dark); color: #fff; padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow);
	font-family: var(--head); text-transform: uppercase; font-weight: 700; line-height: 1;
}
.about__since strong { display: block; font-size: 2.4rem; color: var(--c1); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.chips li {
	font-family: var(--head); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em;
	padding: 8px 18px; border-radius: 999px;
	background: color-mix(in srgb, var(--c1) 10%, #fff); color: var(--c1);
	border: 1px solid color-mix(in srgb, var(--c1) 25%, #fff);
}

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(10,12,20,.04);
	transition: transform .2s ease, box-shadow .2s ease;
	display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--soft); }
.card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card__meta { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--c1); text-decoration: none; }
.card__excerpt { color: var(--muted); font-size: .95rem; }
.card__ph { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--dark)); }
.card__ph img { width: 90px; opacity: .9; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.person { text-align: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person__img { aspect-ratio: 1/1; object-fit: cover; width: 100%; background: var(--soft); }
.person__ph {
	aspect-ratio: 1/1; display: grid; place-items: center;
	background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 85%, #000), var(--dark));
	color: #fff; font-family: var(--head); font-size: 3.2rem; font-weight: 800;
}
.person__body { padding: 18px 16px 22px; border-top: 4px solid var(--c1); }
.person__name { font-family: var(--head); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.person__role { color: var(--c1); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.person__bio { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* Standings */
.table-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(10,12,20,.04); overflow: hidden; margin-bottom: 30px; }
.table-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--dark); color: #fff; flex-wrap: wrap; }
.table-card__head h3 { margin: 0; font-size: 1.35rem; }
.table-card__head a { color: #fff; opacity: .8; font-size: .85rem; font-weight: 600; }
.table-scroll { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.standings th, .standings td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.standings th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; background: var(--soft); }
.standings td.team, .standings th.team { text-align: left; font-weight: 600; }
.standings td.pos { font-weight: 800; width: 44px; }
.standings td.pts { font-weight: 800; font-size: 1.05rem; }
.standings tr.is-us td { background: color-mix(in srgb, var(--c1) 12%, #fff); }
.standings tr.is-us td.team { color: var(--c1); font-weight: 800; }
.standings tr.is-us td.pos { box-shadow: inset 4px 0 0 var(--c1); }
.table-card__foot { padding: 12px 22px; font-size: .8rem; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 12px; position: relative; }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Instagram band */
.insta-band {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(120deg, var(--c1), color-mix(in srgb, var(--c1) 55%, var(--dark)) 60%, var(--dark));
	border-radius: 22px; padding: 50px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
}
.insta-band img { width: 110px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.insta-band h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.insta-band p { margin: 0; opacity: .9; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.entry .chips, .entry .contact__list { padding-left: 0; }
.contact__item {
	display: flex; gap: 16px; align-items: flex-start;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.contact__icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--c1); color: var(--on-c1); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact__value { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact__value a { color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 360px; border: 1px solid var(--line); background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Page header */
.page-hero {
	position: relative; color: #fff; padding: 80px 0 90px; overflow: hidden;
	background: linear-gradient(110deg, var(--dark) 0%, color-mix(in srgb, var(--dark) 75%, var(--c1)) 70%, var(--c1) 100%);
}
.page-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--bg);
	clip-path: polygon(0 100%, 100% 20%, 100% 100%);
}
.page-hero__logo { position: absolute; right: 4%; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 260px; opacity: .1; }
.page-hero h1 { margin: 0; position: relative; }
.crumbs { font-size: .85rem; opacity: .75; margin-bottom: 10px; position: relative; }
.crumbs a { color: #fff; }

/* Content */
.content { padding: 60px 0 90px; }
.entry { max-width: 860px; }
.entry--wide { max-width: none; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 2rem; margin-top: 1.4em; }
.entry h3 { margin-top: 1.3em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry blockquote { border-left: 4px solid var(--c1); margin-left: 0; padding: 6px 20px; color: var(--muted); font-style: italic; }
.entry .wp-block-image img, .entry figure img { border-radius: 12px; }
.entry .wp-block-gallery { gap: 12px; }
.entry .wp-block-gallery img { border-radius: 10px; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; width: calc(33.333% - 8px) !important; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
@media (max-width: 640px) {
	.entry .wp-block-gallery.has-nested-images figure.wp-block-image { width: calc(50% - 6px) !important; }
}
.entry table { width: 100%; border-collapse: collapse; }
.entry td, .entry th { border: 1px solid var(--line); padding: 8px 10px; }
.single-thumb { border-radius: var(--radius); margin-bottom: 30px; width: 100%; max-height: 520px; object-fit: cover; }
.empty-note {
	background: var(--soft); border: 1px dashed color-mix(in srgb, var(--c1) 40%, var(--line));
	border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted);
}
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--c1); color: var(--on-c1); border-color: var(--c1); }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 70px 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 70px; }
.footer-brand strong { font-family: var(--head); color: #fff; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--c1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
	display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 78px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow); max-height: calc(100vh - 78px); overflow-y: auto;
		display: none;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 20px; gap: 0; }
	.nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.nav .menu-item-has-children > a::after { content: none; }
	.hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
	.hero__badge { order: -1; }
	.hero__badge img { width: 170px; }
	.hero__kicker { justify-content: center; }
	.hero__text { margin-left: auto; margin-right: auto; }
	.hero__actions { justify-content: center; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.about, .contact { grid-template-columns: 1fr; gap: 40px; }
	.about__media { max-width: 460px; }
	.grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
	.insta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }
	.page-hero__logo { width: 180px; }
}
@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.topbar__info .hide-sm { display: none; }
	.section { padding: 64px 0; }
	.brand img { width: 46px; height: 46px; }
	.brand__name { font-size: 1.1rem; }
	.brand__name small { display: none; }
	.grid--3, .grid--4 { grid-template-columns: 1fr; }
	.people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.person__name { font-size: 1.1rem; }
	.footer-grid { grid-template-columns: 1fr; }
	.about__since { left: 10px; }
	.about__media::before { inset: 16px -10px -16px 16px; }
}
