/*
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.9.5
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-top: 0 !important;
	margin-bottom: 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: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.tb-logo img { height: 52px; width: 52px; }
.tb-wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 599px) { .tb-login { display: none; } .tb-logo img { height: 40px; width: 40px; } .tb-wordmark { font-size: 1.05rem; letter-spacing: .22em; } }


/* ---------- Questions (Get Online) ---------- */
.tb-faq {
	border-top: 1px solid rgba(255,255,255,.14);
	padding: 1.25rem 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.tb-faq:last-of-type { border-bottom: 1px solid rgba(255,255,255,.14); }
.tb-faq summary {
	cursor: pointer;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 1rem;
}
.tb-faq p { opacity: .8; margin: 1rem 0 0; }

/* Mid-size screens: menu button until the full menu fits on one line */
@media (min-width: 600px) and (max-width: 1279px) {
	.tb-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.tb-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.tb-header .wp-block-navigation__container { flex-direction: column !important; gap: 0; }
	.tb-header .wp-block-navigation-item:last-child { display: flex; }
}

/* Current page in the menu */
.tb-header .wp-block-navigation-item__content { opacity: .75; transition: opacity .2s ease; }
.tb-header .wp-block-navigation-item__content:hover,
.tb-header .current-menu-item > .wp-block-navigation-item__content { opacity: 1; }
.tb-header .current-menu-item > .wp-block-navigation-item__content {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .55em;
}
