/*
Theme Name: Linumic
Theme URI: https://linumic.com
Author: AminTech
Author URI: https://linumic.com
Description: A premium, minimal block theme for AminTech / Linumic. Brand-matched to the AminTech design system — blue/cyan brand, Plus Jakarta Sans + Inter typography — with light and dark styles, full RTL support, and block patterns for hero, features, products and CTA. Ideal for the marketing site's blog and content pages managed in WordPress.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linumic
Tags: block-theme, full-site-editing, business, blog, news, custom-colors, editor-style, block-patterns, rtl-language-support, translation-ready, wide-blocks
*/

/*
  The design system lives in theme.json. These are a few progressive
  enhancements that theme.json can't express (hover transitions, subtle
  premium shadows, sticky header).
*/

:root {
  --linumic-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04),
    0 6px 16px -8px rgba(15, 23, 42, 0.1);
  --linumic-shadow-premium: 0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 32px -12px rgba(15, 23, 42, 0.16);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sticky, subtly glassy header */
.wp-block-template-part.site-header,
header.wp-block-group.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--wp--preset--color--background) 78%, transparent);
  border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Premium button interaction */
.wp-block-button__link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: var(--linumic-shadow-soft);
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(37, 99, 235, 0.5);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  box-shadow: none;
}

/* Card-ish groups get a soft hover lift when they have a border */
.wp-block-group.is-style-card {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--lg);
  background: var(--wp--preset--color--background);
  box-shadow: var(--linumic-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wp-block-group.is-style-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--linumic-shadow-premium);
}

/* Eyebrow text style variation for headings/paragraphs */
.is-style-eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
}

/* Reading width + rhythm for post content */
.wp-block-post-content p {
  line-height: 1.7;
}

::selection {
  background: color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link,
  .wp-block-group.is-style-card {
    transition: none;
  }
}
