/*
Theme Name: Zyraz
Theme URI: https://zyraz.io
Author: Zyraz
Author URI: https://zyraz.io
Description: Custom block theme for Zyraz — Tools for a new era.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: zyraz
*/

/* =========================================================
   Global resets and base overrides
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* =========================================================
   Site header
   ========================================================= */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(13, 13, 13, 0.85) !important;
}

.site-header .wp-block-navigation a {
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.site-header .wp-block-navigation a:hover {
	opacity: 1;
}

/* =========================================================
   Hero section
   ========================================================= */

.hero-section {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
}

.hero-section::after {
	content: "";
	position: absolute;
	top: -10%;
	right: -15%;
	width: 700px;
	height: 700px;
	background: radial-gradient(
		circle at center,
		rgba(37, 99, 235, 0.35) 0%,
		rgba(37, 99, 235, 0.12) 40%,
		transparent 70%
	);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.hero-section > .wp-block-group__inner-container,
.hero-section > * {
	position: relative;
	z-index: 1;
}

/* =========================================================
   Hero eyebrow / tagline
   ========================================================= */

.hero-eyebrow {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* =========================================================
   Product cards grid
   ========================================================= */

.products-section {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card {
	border-top: 2px solid var(--wp--preset--color--accent);
	transition: border-color 0.25s ease;
}

.product-card:hover {
	border-top-color: var(--wp--preset--color--accent-light);
}

.product-card .product-tag {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.product-card .product-name {
	color: var(--wp--preset--color--contrast);
}

.product-card .product-desc {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.product-card .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	font-family: var(--wp--preset--font-family--barlow);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.6rem 1.25rem;
	border-radius: 3px;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.product-card .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--accent) !important;
}

/* =========================================================
   Location block (blockquote style)
   ========================================================= */

.location-block {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: 1.25rem;
}

/* =========================================================
   CTA section
   ========================================================= */

.cta-section {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================
   Product hero (individual product pages)
   ========================================================= */

.product-hero {
	padding-top: calc(var(--wp--preset--spacing--90) + 80px);
}

.product-hero-tag {
	display: inline-block;
	font-family: var(--wp--preset--font-family--barlow);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	border: 1px solid rgba(37, 99, 235, 0.4);
	padding: 0.35rem 0.75rem;
	border-radius: 2px;
	margin-bottom: 1.5rem;
}

.product-features-grid {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding-bottom: var(--wp--preset--spacing--50);
}

/* =========================================================
   Site footer
   ========================================================= */

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	transition: color 0.2s ease;
}

.site-footer a:hover {
	color: var(--wp--preset--color--contrast);
}

/* =========================================================
   Utility: header offset for fixed nav
   ========================================================= */

.page-content-wrap {
	padding-top: 80px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {
	.hero-section::after {
		width: 400px;
		height: 400px;
		right: -20%;
		top: 0;
	}
}
