/*
Theme Name: TecBiz
Theme URI: https://tecbiz.eu
Description: TecBiz child theme for Twenty Twenty-Five. Full-screen, SpaceX-style panels.
Author: TecBiz
Template: twentytwentyfive
Version: 1.4.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: tecbiz
*/

/* ---------- Base ---------- */
body {
	background: #000;
	color: #f0f0f0;
	-webkit-font-smoothing: antialiased;
}

/* Header floats over the first panel, like spacex.com */
.tb-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	background: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,0));
	transition: background .3s ease;
}
.admin-bar .tb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tb-header { top: 46px; } }

.tb-header .wp-block-site-title a,
.tb-header .wp-block-navigation a {
	text-decoration: none;
}
.tb-header .wp-block-site-title {
	letter-spacing: .35em;
	text-transform: uppercase;
}
.tb-header .wp-block-navigation {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
}

/* Hamburger overlay: full black screen, big links */
.tb-header .wp-block-navigation__responsive-container.is-menu-open {
	background: #000 !important;
	color: #fff !important;
	padding: 6rem 2rem 2rem;
}
.tb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	font-size: 1.1rem;
	padding: .6rem 0;
	border-bottom: 1px solid rgba(255,255,255,.12);
	width: 100%;
}

/* ---------- Panels ---------- */
.tb-panel.wp-block-cover {
	min-height: 100vh;
	min-height: 100svh;
	align-items: flex-end;
	padding: 0 6vw 14vh;
	background-color: #05070a;
}
.tb-panel .wp-block-cover__inner-container {
	max-width: 560px;
	margin: 0 !important;
}
.tb-panel--center .wp-block-cover__inner-container {
	max-width: 760px;
	margin: 0 auto !important;
	text-align: center;
}
.tb-panel--short.wp-block-cover {
	min-height: 70vh;
}

.tb-eyebrow {
	text-transform: uppercase;
	letter-spacing: .25em;
	font-size: .75rem;
	opacity: .75;
	margin-bottom: .75rem;
}

.tb-panel h1,
.tb-panel h2,
.tb-section h2 {
	text-transform: uppercase;
	letter-spacing: .02em;
	line-height: 1.05;
	font-weight: 700;
}

/* Outline button, like spacex.com */
.tb-btn .wp-block-button__link,
.wp-block-button.is-style-outline.tb-btn .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	border-radius: 0 !important;
	padding: .9rem 2.2rem !important;
	text-transform: uppercase;
	letter-spacing: .15em;
	font-size: .8rem;
	font-weight: 700;
	transition: background .2s ease, color .2s ease;
}
.tb-btn .wp-block-button__link:hover,
.tb-btn .wp-block-button__link:focus-visible {
	background: #fff !important;
	color: #000 !important;
}

/* ---------- Content sections (service grids, steps) ---------- */
.tb-section {
	padding: 12vh 6vw;
	background: #000;
}
.tb-section--alt { background: #0b0d10; }

.tb-card {
	border: 1px solid rgba(255,255,255,.14);
	padding: 2rem 1.75rem;
	height: 100%;
	transition: border-color .2s ease, transform .2s ease;
}
.tb-card:hover {
	border-color: rgba(255,255,255,.5);
	transform: translateY(-3px);
}
.tb-card h3 {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 1rem;
	margin-top: 0;
}
.tb-card p { opacity: .8; font-size: .95rem; }

.tb-step-num {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	opacity: .35;
}

/* Forms (Fluent Forms / FluentAuth) on dark background */
.tb-form-wrap {
	max-width: 640px;
	margin: 0 auto;
}
.tb-form-wrap input,
.tb-form-wrap textarea,
.tb-form-wrap select {
	background: #0b0d10 !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,.3) !important;
	border-radius: 0 !important;
}
.tb-form-wrap button,
.tb-form-wrap .ff-btn-submit {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	letter-spacing: .15em;
}

/* ---------- Footer ---------- */
.tb-footer {
	background: #000;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .72rem;
}
.tb-footer a { text-decoration: none; opacity: .75; }
.tb-footer a:hover { opacity: 1; }

.tb-credit {
	font-size: .7rem;
	opacity: .5;
	text-transform: none;
	letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
	.tb-card, .tb-btn .wp-block-button__link { transition: none; }
	.tb-card:hover { transform: none; }
}

.tb-login { margin: 0; }
.tb-login a {
	border: 1px solid rgba(255,255,255,.7);
	padding: .45rem 1rem;
	text-transform: uppercase;
	letter-spacing: .15em;
	font-size: .72rem;
	text-decoration: none;
}
.tb-login a:hover { background: #fff; color: #000; }

/* Desktop: menu across the top */
@media (min-width: 600px) {
	.tb-header .wp-block-navigation__container { flex-direction: row !important; gap: 1.6rem; }
	.tb-header .wp-block-navigation-item:last-child { display: none; } /* Log in button covers it */
}

.tb-logo { display: block; line-height: 0; }
.tb-logo img { height: 26px; width: auto; }
