/* =========================================================
   Meetech Custom — header, footer, motion & polish
   Loaded on top of Twenty Twenty-Five. Safe to remove any time.
   ========================================================= */

:root{
	--mt-bg: #14171c;
	--mt-surface: #1c2027;
	--mt-text: #f5f6f8;
	--mt-text-muted: #a7adb8;
	--mt-border: rgba(255,255,255,.08);
	--mt-accent-1: #10b981;
	--mt-accent-2: #06b6d4;
	--mt-accent-3: #6366f1;
	--mt-gradient: linear-gradient(135deg, var(--mt-accent-1), var(--mt-accent-2) 55%, var(--mt-accent-3));
	--mt-ease: cubic-bezier(.22,.61,.36,1);
}

html{ scroll-behavior: smooth; }

/* ---------- Header ---------- */
.meetech-site-header{
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(20,23,28,.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--mt-border);
	transition: background .35s var(--mt-ease), box-shadow .35s var(--mt-ease), padding .25s var(--mt-ease);
}
.meetech-site-header.is-scrolled{
	background: rgba(15,17,21,.92);
	box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.meetech-site-header a,
.meetech-site-header .wp-block-site-title a{
	color: var(--mt-text) !important;
	text-decoration: none;
}
.meetech-nav .wp-block-navigation-item a{
	position: relative;
	color: var(--mt-text) !important;
	opacity: .85;
	font-size: .95rem;
	transition: opacity .25s var(--mt-ease);
}
.meetech-nav .wp-block-navigation-item a:hover{ opacity: 1; }
.meetech-nav .wp-block-navigation-item:not(.meetech-nav-cta) > a::after{
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: -4px;
	height: 2px;
	background: var(--mt-gradient);
	transition: right .3s var(--mt-ease);
}
.meetech-nav .wp-block-navigation-item:not(.meetech-nav-cta) > a:hover::after{ right: 0; }

.meetech-nav-cta > a{
	background: var(--mt-gradient) !important;
	color: #08110c !important;
	font-weight: 600;
	padding: .5em 1.2em !important;
	border-radius: 999px;
	opacity: 1 !important;
	transition: transform .25s var(--mt-ease), box-shadow .25s var(--mt-ease);
}
.meetech-nav-cta > a:hover{
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(16,185,129,.35);
}
.meetech-nav-cta > a::after{ display:none; }

/* Mobile overlay menu (core Navigation block handles the toggle itself) */
.meetech-nav .wp-block-navigation__responsive-container.is-menu-open{
	background: var(--mt-bg) !important;
}
.meetech-nav .wp-block-navigation__responsive-container.is-menu-open a{
	color: var(--mt-text) !important;
	font-size: 1.4rem;
}

/* ---------- Footer ---------- */
.meetech-site-footer{
	background: var(--mt-bg);
	color: var(--mt-text-muted);
	border-top: 1px solid var(--mt-border);
}
.meetech-site-footer .wp-block-site-title a,
.meetech-site-footer h3{
	color: var(--mt-text) !important;
}
.meetech-footer-desc{ color: var(--mt-text-muted); max-width: 32ch; }
.meetech-footer-heading{ letter-spacing: .04em; text-transform: uppercase; opacity: .7; margin-bottom: .6em !important; }
.meetech-footer-nav .wp-block-navigation-item a{
	color: var(--mt-text-muted) !important;
	transition: color .2s var(--mt-ease), padding-left .2s var(--mt-ease);
}
.meetech-footer-nav .wp-block-navigation-item a:hover{
	color: var(--mt-text) !important;
	padding-left: 4px;
}
.meetech-footer-bottom{ border-top: 1px solid var(--mt-border); padding-top: 1.5em; opacity: .7; }

/* ---------- Scroll-reveal ---------- */
.mt-reveal{
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s var(--mt-ease), transform .7s var(--mt-ease);
	will-change: opacity, transform;
}
.mt-reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
	.mt-reveal{ opacity: 1; transform: none; transition: none; }
	html{ scroll-behavior: auto; }
}

/* ---------- Card hover-lift ---------- */
main .wp-block-cover,
main .wp-block-column > figure{
	transition: transform .35s var(--mt-ease), box-shadow .35s var(--mt-ease);
}
main .wp-block-cover:hover{
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Buttons: consistent hover lift across the site */
.wp-block-button__link{
	transition: transform .25s var(--mt-ease), box-shadow .25s var(--mt-ease);
}
.wp-block-button__link:hover{
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* ---------- Animated counters ---------- */
.mt-counter-num{
	background: var(--mt-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}

/* ---------- Back to top ---------- */
.mt-to-top{
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: var(--mt-gradient);
	color: #08110c;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateY(12px) scale(.9);
	pointer-events: none;
	transition: opacity .3s var(--mt-ease), transform .3s var(--mt-ease);
	z-index: 998;
}
.mt-to-top.is-visible{ opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.mt-to-top:hover{ filter: brightness(1.1); }
