/*
Theme Name: Control Event Premium Blocks
Theme URI: https://controlevent.org
Author: Control Event Solutions
Description: Control Event Solutions için blok tabanlı premium tema. Tüm metinler Site Editörü'nde tıklanarak düzenlenir, bölümler sürüklenerek taşınır. Görünüm → Düzenleyici'den yönetilir.
Version: 2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: controlevent-blocks
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
	--bg: #0a0a0f;
	--bg-2: #101018;
	--panel: #15151f;
	--line: rgba(255, 255, 255, .08);
	--text: #f2f2f5;
	--muted: #9a9aa8;
	--amber: #ffb42e;
	--amber-soft: #ffd382;
	--violet: #7c5cff;
	--magenta: #ff3d81;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber); color: #0a0a0f; }
img { max-width: 100%; height: auto; }

/* ---------- Ortak ---------- */
.grad, .ce-grad em {
	background: linear-gradient(100deg, var(--amber), var(--magenta) 60%, var(--violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: normal;
}
h1 em, h2 em, h3 em {
	background: linear-gradient(100deg, var(--amber), var(--magenta) 60%, var(--violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: normal;
}
.kicker {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .72rem !important; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
	color: var(--amber) !important; font-family: 'Inter', sans-serif;
}
.kicker::before { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, var(--amber), transparent); }
.section-pad { padding-top: 120px; padding-bottom: 120px; }
.muted-text { color: var(--muted); }

/* ---------- Butonlar ---------- */
.wp-block-button .wp-block-button__link {
	border-radius: 100px; font-weight: 800; font-size: .86rem; letter-spacing: .05em;
	padding: 16px 34px; transition: transform .45s var(--ease), box-shadow .45s, background .45s;
	font-family: 'Inter', sans-serif;
}
.wp-block-button.btn-amber .wp-block-button__link {
	background: linear-gradient(100deg, var(--amber), #ff8a3d); color: #14100a;
	box-shadow: 0 18px 45px -15px rgba(255, 180, 46, .5);
}
.wp-block-button.btn-amber .wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 24px 55px -15px rgba(255, 180, 46, .7); }
.wp-block-button.btn-line .wp-block-button__link { background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: var(--text); }
.wp-block-button.btn-line .wp-block-button__link:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .05); }
.wp-block-button.btn-wa .wp-block-button__link { background: #22c15e; color: #fff; box-shadow: 0 18px 45px -15px rgba(34, 193, 94, .5); }
.wp-block-button.btn-wa .wp-block-button__link:hover { transform: translateY(-3px); background: #1eae54; }

/* ---------- Üst Menü ---------- */
.site-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	padding: 16px 0; transition: background .5s var(--ease), box-shadow .5s;
}
.site-nav.scrolled {
	background: rgba(10, 10, 15, .8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(0, 0, 0, .8);
}
body.admin-bar .site-nav { top: 32px; }
.brand-box { gap: 12px; align-items: center; }
.brand-box .wp-block-site-title a {
	font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .14em;
	font-size: 1.05rem; color: var(--text); text-decoration: none;
}
.site-nav .wp-block-navigation a {
	font-size: .85rem; font-weight: 600; color: rgba(242, 242, 245, .75); transition: color .35s;
}
.site-nav .wp-block-navigation a:hover { color: var(--amber); }
.nav-cta-btn .wp-block-button__link { padding: 12px 26px; font-size: .8rem; }
.wp-block-navigation__responsive-container.is-menu-open { background: #0a0a0fee !important; backdrop-filter: blur(20px); }
.wp-block-navigation__responsive-container.is-menu-open a { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; }
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { fill: var(--text); }

/* ---------- Hero ---------- */
.hero-section {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; justify-content: center;
	overflow: hidden; padding-top: 140px; padding-bottom: 100px;
}
.hero-fx { position: absolute; inset: 0; pointer-events: none; }
.hero-fx .beam { position: absolute; top: -20%; width: 34vw; height: 150%; opacity: .5; filter: blur(60px); transform-origin: top center; }
.hero-fx .beam-1 { left: 8%; background: conic-gradient(from 190deg at 50% 0%, transparent 42%, rgba(124, 92, 255, .5) 50%, transparent 58%); animation: ce-sway 9s ease-in-out infinite alternate; }
.hero-fx .beam-2 { left: 38%; background: conic-gradient(from 175deg at 50% 0%, transparent 42%, rgba(255, 180, 46, .45) 50%, transparent 58%); animation: ce-sway 11s ease-in-out infinite alternate-reverse; }
.hero-fx .beam-3 { right: 6%; background: conic-gradient(from 185deg at 50% 0%, transparent 42%, rgba(255, 61, 129, .4) 50%, transparent 58%); animation: ce-sway 13s ease-in-out infinite alternate; }
@keyframes ce-sway { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.hero-fx .grid-bg {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-kicker {
	display: inline-flex !important; align-items: center; gap: 12px; width: fit-content;
	font-size: .72rem !important; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
	color: var(--amber-soft) !important; border: 1px solid rgba(255, 180, 46, .3); border-radius: 100px;
	padding: 10px 22px; background: rgba(255, 180, 46, .06);
}
.hero-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: ce-pulse 2.2s infinite; }
@keyframes ce-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 180, 46, .6); } 55% { box-shadow: 0 0 0 10px rgba(255, 180, 46, 0); } }
.hero-title { font-size: clamp(2.8rem, 7.2vw, 5.6rem) !important; font-weight: 700; letter-spacing: -.03em; max-width: 16ch; }
.hero-lead { max-width: 540px; font-size: 1.06rem; font-weight: 300; color: var(--muted); }
.hero-stats { margin-top: 40px; }
.hero-stats .wp-block-column { border-left: 1px solid var(--line); padding-left: 18px; flex-grow: 0 !important; flex-basis: auto !important; padding-right: 40px; }
.hero-stats h3 {
	font-size: 1.5rem !important; font-weight: 700; margin: 0 0 2px;
	background: linear-gradient(100deg, var(--amber), var(--amber-soft));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats p { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ---------- Kayan Şerit ---------- */
.marquee-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: ce-marq 34s linear infinite; gap: 0; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-track p {
	display: flex; align-items: center; gap: 24px; padding: 0 24px; margin: 0; white-space: nowrap;
	font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: .98rem; color: rgba(242, 242, 245, .8);
}
.marquee-track p::after { content: '◆'; color: var(--amber); font-size: .6rem; }
@keyframes ce-marq { to { transform: translateX(-50%); } }

/* ---------- Bölüm başlıkları ---------- */
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem) !important; letter-spacing: -.02em; }
.section-lead { max-width: 580px; color: var(--muted); font-size: 1.02rem; }

/* ---------- Etiket hapları (liste) ---------- */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 0; }
.pill-list li {
	font-size: .76rem; font-weight: 700; letter-spacing: .05em; padding: 9px 18px; border-radius: 100px;
	border: 1px solid var(--line); color: var(--muted); transition: color .4s, border-color .4s, background .4s;
}
.pill-list li:hover { color: var(--amber-soft); border-color: rgba(255, 180, 46, .5); background: rgba(255, 180, 46, .06); }

/* ---------- Ekipman listesi ---------- */
.equip-list { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.equip-list li {
	display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line);
	border-radius: 16px; padding: 18px 20px; font-size: .88rem; font-weight: 600;
	transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.equip-list li::before { content: '◆'; color: var(--amber); font-size: .7rem; flex-shrink: 0; }
.equip-list li:hover { transform: translateY(-5px); border-color: rgba(255, 180, 46, .45); background: #191926; }

/* ---------- Hizmet kartları ---------- */
.svc-card {
	background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px !important;
	position: relative; overflow: hidden; height: 100%;
	transition: transform .55s var(--ease), border-color .55s, box-shadow .55s;
}
.svc-card::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, var(--amber), var(--magenta), var(--violet));
	transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card h3 { font-size: 1.5rem !important; margin-top: 0; }
.svc-card > p { font-size: .94rem; color: var(--muted); }
.svc-card ul { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.svc-card ul li { font-size: .88rem; color: rgba(242, 242, 245, .75); display: flex; align-items: center; gap: 10px; }
.svc-card ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }

/* ---------- Süreç adımları ---------- */
.steps-row { counter-reset: ce-step; }
.step-card {
	position: relative; padding: 34px 26px !important; border: 1px solid var(--line); border-radius: 20px;
	background: linear-gradient(160deg, var(--panel), transparent); height: 100%;
	transition: transform .5s var(--ease), border-color .5s;
}
.step-card:hover { transform: translateY(-8px); border-color: rgba(124, 92, 255, .5); }
.step-card::before {
	counter-increment: ce-step; content: '0' counter(ce-step);
	font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.4rem; display: block; margin-bottom: 12px;
	background: linear-gradient(120deg, var(--amber), var(--magenta));
	-webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.step-card h3 { font-size: 1.12rem !important; margin: 0 0 8px; }
.step-card p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.cta-section { background: var(--bg-2); position: relative; overflow: hidden; text-align: center; }
.cta-section .section-title { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* ---------- İletişim kartları ---------- */
.c-card {
	display: flex !important; flex-direction: row !important; align-items: center; gap: 16px;
	background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px !important;
	transition: transform .5s var(--ease), border-color .5s;
}
.c-card:hover { transform: translateX(10px); border-color: rgba(255, 180, 46, .45); }
.c-card p { margin: 0; }
.c-card .c-label { font-size: .7rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--amber) !important; font-weight: 700; }
.c-card .c-value { font-weight: 600; font-size: 1rem; }
.c-card .c-value a { color: var(--text); }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 20px; filter: invert(90%) hue-rotate(180deg) saturate(.7) contrast(.95); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 70px; padding-bottom: 30px; }
.site-footer h4 { font-size: .74rem !important; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); font-family: 'Inter', sans-serif; }
.site-footer p, .site-footer li { color: var(--muted); font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0 !important; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--muted); transition: color .3s; text-decoration: none; }
.site-footer a:hover { color: var(--amber-soft); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .8rem; color: rgba(154, 154, 168, .6); }
.wp-block-social-links .wp-social-link { background: transparent !important; border: 1px solid var(--line); border-radius: 12px; transition: background .4s, transform .4s var(--ease); }
.wp-block-social-links .wp-social-link:hover { background: var(--amber) !important; transform: translateY(-4px); }
.wp-block-social-links .wp-social-link svg { fill: var(--text); }
.wp-block-social-links .wp-social-link:hover svg { fill: #14100a; }

/* ---------- WhatsApp float + progress ---------- */
.wa-float {
	position: fixed; bottom: 28px; right: 28px; z-index: 900; width: 60px; height: 60px; border-radius: 50%;
	background: #22c15e; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 16px 40px -10px rgba(34, 193, 94, .55); transition: transform .4s var(--ease);
	animation: ce-wa 2.8s infinite;
}
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
.wa-float svg { width: 29px; height: 29px; fill: #fff; }
@keyframes ce-wa { 0%, 100% { box-shadow: 0 16px 40px -10px rgba(34, 193, 94, .55), 0 0 0 0 rgba(34, 193, 94, .4); } 55% { box-shadow: 0 16px 40px -10px rgba(34, 193, 94, .55), 0 0 0 18px rgba(34, 193, 94, 0); } }
.ce-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--amber), var(--magenta), var(--violet)); z-index: 1200; width: 0%; }
body.admin-bar .ce-progress { top: 32px; }

/* ---------- Scroll animasyonları ---------- */
.fx-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fx-reveal.fx-in { opacity: 1; transform: none; }
body.block-editor-iframe__body .fx-reveal,
.editor-styles-wrapper .fx-reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Duyarlılık ---------- */
@media (max-width: 781px) {
	.equip-list { grid-template-columns: 1fr; }
	.hero-stats .wp-block-column { padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}
