/*
Theme Name: EuroBox
Theme URI: https://eurobox.md
Author: EuroBox
Author URI: https://eurobox.md
Description: Премиум индустриальная FSE-тема для EuroBox — производство сэндвич-панелей и промышленное строительство. Gutenberg-first, полностью редактируется в Site Editor.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurobox
Tags: full-site-editing, block-templates, block-patterns, custom-colors, custom-menu, featured-images, translation-ready, industrial, business
*/

/* Theme styles are managed via theme.json. Additional CSS below. */

:root {
  --eb-transition: all .4s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

.eb-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; color: var(--wp--preset--color--primary);
}
.eb-eyebrow::before { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--wp--preset--color--primary); }

.eb-hero-card { position: relative; overflow: hidden; aspect-ratio: 5/6; display: block; }
.eb-hero-card img { width:100%; height:100%; object-fit:cover; transition: var(--eb-transition); }
.eb-hero-card:hover img { transform: scale(1.05); }
.eb-hero-card .overlay { position:absolute; inset:0; background: var(--wp--preset--gradient--hero-overlay); }
.eb-hero-card .content { position:absolute; left:0; right:0; bottom:0; padding: 2.5rem; color:#fff; }
.eb-hero-card h2 { color:#fff; font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 1rem; }

.eb-btn-primary {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--wp--preset--color--primary); color:#fff !important;
  padding: 1rem 1.75rem; font-weight: 600; font-size: 14px; text-decoration:none;
  transition: var(--eb-transition);
}
.eb-btn-primary:hover { background: var(--wp--preset--color--primary-glow); }

.eb-stat-value { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }

.eb-grid-border > * + * { border-left: 1px solid rgba(0,0,0,.08); }
@media (max-width: 768px) { .eb-grid-border > * + * { border-left: none; border-top: 1px solid rgba(0,0,0,.08); } }

.wp-block-button__link { border-radius: 0 !important; }
