/*
Theme Name: Yıldız Ticaret
Theme URI: https://example.com
Author: Yıldız Ticaret
Description: Yıldız Ticaret toptan mangal kömürü için özel tek sayfa tema. Telefon, WhatsApp ve adres Görünüm > Özelleştir > İletişim Bilgileri bölümünden değiştirilebilir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: yildiz-ticaret
*/

:root {
	--bg: #0f0e0d;
	--bg-2: #171513;
	--surface: #1e1b18;
	--line: rgba(255, 255, 255, .09);
	--text: #f4efe9;
	--muted: #a89f95;
	--ember: #ff6b1a;
	--ember-2: #ffb03b;
	--ember-grad: linear-gradient(135deg, #ff4d14 0%, #ff7a1a 45%, #ffb03b 100%);
	--radius: 18px;
	--wrap: 1180px;
	--font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Butonlar */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem;
	border: 1px solid transparent; cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-wa { background: var(--ember-grad); color: #1a0a00; box-shadow: 0 10px 30px -10px rgba(255, 107, 26, .7); }
.btn-wa:hover { box-shadow: 0 16px 40px -10px rgba(255, 107, 26, .85); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .04); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .25); }
.btn-line { border-color: rgba(255, 107, 26, .5); color: var(--ember-2); padding: .65em 1.2em; }
.btn-line:hover { background: rgba(255, 107, 26, .1); border-color: var(--ember); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600;
	color: var(--ember-2); margin-bottom: 1em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Başlık */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(15, 14, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(15, 14, 13, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { width: 220px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .98rem; }
.main-nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--text); }
.nav-cta { padding: .6em 1.15em; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Giriş */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 110px); }
.hero-glow {
	position: absolute; inset: auto -10% -40% 30%; height: 80%;
	background: radial-gradient(closest-side, rgba(255, 90, 20, .28), transparent 70%);
	filter: blur(20px); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em {
	font-style: normal; background: var(--ember-grad);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.18rem; color: #cfc6bc; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-weight: 500; }
.hero-points li::before { content: "★"; color: var(--ember); margin-right: .45em; }
.hero-media { position: relative; }
.photo-frame {
	position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 14, 13, .55)); }
.badge-card {
	position: absolute; left: -26px; bottom: 34px; z-index: 2;
	background: rgba(30, 27, 24, .92); backdrop-filter: blur(8px); border: 1px solid var(--line);
	border-left: 3px solid var(--ember); border-radius: 14px; padding: 14px 20px; display: grid;
}
.badge-card span { color: var(--muted); font-size: .92rem; }

/* Şerit */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: ticker 32s linear infinite; font-size: 1.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #d8cfc5; }
.ticker .star { color: var(--ember); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Bölümler */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-dark { background: var(--bg-2); }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Ürünler */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product {
	position: relative; display: flex; flex-direction: column; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 34px 30px 30px; overflow: hidden; transition: transform .3s, border-color .3s;
}
.product::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ember-grad);
	transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.product:hover { transform: translateY(-6px); border-color: rgba(255, 107, 26, .35); }
.product:hover::before { transform: scaleX(1); }
.product-no { position: absolute; top: 18px; right: 24px; font-size: 3.4rem; font-weight: 800; color: rgba(255, 255, 255, .05); line-height: 1; }
.tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-2); background: rgba(255, 107, 26, .1); border: 1px solid rgba(255, 107, 26, .25); padding: .3em .8em; border-radius: 999px; margin-bottom: 18px; }
.product h3 { font-size: 1.6rem; }
.product p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 8px; }
.checks li { padding-left: 1.6em; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ember); font-weight: 700; }
.product .btn { margin-top: auto; }

/* Neden biz */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .section-head { margin-bottom: 32px; }
.feature-list { display: grid; gap: 26px; }
.feature { display: flex; gap: 18px; }
.feature-ico {
	flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(255, 107, 26, .12); color: var(--ember); border: 1px solid rgba(255, 107, 26, .25);
}
.feature h3 { margin-bottom: .25em; font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; }

/* Kimlere */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience {
	display: flex; align-items: center; gap: 16px; padding: 24px 26px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .3s, transform .3s;
}
.audience:hover { border-color: rgba(255, 107, 26, .35); transform: translateY(-3px); }
.audience span { font-size: 1.8rem; }
.audience h3 { margin: 0; font-size: 1.12rem; font-weight: 600; }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.step-no {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--ember-grad); color: #1a0a00; font-weight: 800; font-size: 1.3rem; margin-bottom: 20px;
	box-shadow: 0 10px 30px -8px rgba(255, 107, 26, .6);
}
.step p { color: var(--muted); margin: 0; }

/* Çağrı */
.cta-band { padding: 0 0 clamp(70px, 9vw, 120px); background: var(--bg-2); }
.cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	padding: clamp(36px, 5vw, 60px); border-radius: 26px; position: relative; overflow: hidden;
	background: radial-gradient(120% 140% at 100% 0%, rgba(255, 107, 26, .35), transparent 55%), var(--surface);
	border: 1px solid rgba(255, 107, 26, .25);
}
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { color: var(--muted); margin: 0; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.contact-card {
	display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 16px;
	background: var(--surface); border: 1px solid var(--line); transition: border-color .3s;
}
a.contact-card:hover { border-color: rgba(255, 107, 26, .45); }
.contact-card .ico { width: 26px; height: 26px; color: var(--ember); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.9) invert(.92) contrast(.9); }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 0; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 200px; margin-bottom: 16px; }
.site-footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a:hover { color: var(--ember-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Sabit WhatsApp */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff;
	box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }

/* Diğer sayfalar */
.page-content h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .8em; }
.entry a { color: var(--ember-2); text-decoration: underline; }

/* Belirme animasyonu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.ticker-track { animation: none; }
	html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 1024px) {
	.product-grid, .audience-grid, .steps { grid-template-columns: repeat(2, 1fr); }
	.product-grid .product:last-child { grid-column: 1 / -1; }
	.steps .step:last-child { grid-column: 1 / -1; }
}

/* Mobil */
@media (max-width: 860px) {
	.menu-toggle { display: block; z-index: 2; }
	.main-nav {
		position: fixed; inset: 76px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--bg); padding: 20px;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
	}
	.main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
	.main-nav a:not(.btn) { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 1.2rem; color: var(--text); }
	.nav-cta { margin-top: 24px; padding: 1em; }
	.brand img { width: 180px; }
	.hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
	.hero-media { max-width: 460px; }
	.badge-card { left: 16px; }
	.split-media { order: 2; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.product-grid, .audience-grid, .steps, .contact-cards { grid-template-columns: 1fr; }
	.hero-actions .btn { width: 100%; }
	.cta-inner .btn { width: 100%; }
	.audience { padding: 18px 20px; }
}
