/*
Theme Name: Evotech Digital
Theme URI: https://evotech.au
Author: Evotech Digital
Description: Custom Evotech Digital theme — landing page rebuilt 1:1 with a dynamic News section, WooCommerce accounts + payments, and AJAX lead capture. Powered by the Evolve AI Brain.
Version: 1.0
License: Proprietary
Text Domain: evotech
*/

/* The landing page keeps its original inline styles (via header.php).
   These rules brand the WordPress-generated pages: News archive, single
   posts, WooCommerce account/checkout, comments, etc. */

:root{
  --bg:#080b12; --panel:#0e1420; --line:#1e2634; --ink:#e8edf5; --muted:#93a1b5;
  --blue:#2563eb; --purple:#7c3aed;
}
body.evotech-brand{ background:var(--bg); color:var(--ink);
  font-family:'Space Grotesk',system-ui,Segoe UI,Roboto,sans-serif; margin:0; }
.evotech-brand a{ color:var(--blue); }

.evotech-page{ max-width:820px; margin:0 auto; padding:120px 24px 80px; }
.evotech-page.wide{ max-width:1200px; }
.evotech-page h1{ font-size:clamp(30px,5vw,48px); line-height:1.15; margin:0 0 14px; }
.evotech-page .meta{ color:var(--purple); font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; font-size:13px; margin-bottom:24px; }
.evotech-article{ font-size:18px; line-height:1.75; color:#c9d3e0; }
.evotech-article h2{ font-size:28px; margin:40px 0 12px; color:#fff; }
.evotech-article h3{ font-size:22px; margin:30px 0 10px; color:#fff; }
.evotech-article img{ max-width:100%; height:auto; border-radius:14px; margin:24px 0; }
.evotech-article blockquote{ border-left:4px solid var(--blue); margin:24px 0; padding:8px 20px;
  background:#0e1420; border-radius:8px; color:#dbe4f0; }
.evotech-article code{ background:#111722; padding:2px 7px; border-radius:6px; font-size:.9em; }

/* News archive grid */
.evotech-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:24px; }
.evotech-card{ background:var(--panel); border:1px solid var(--line); border-radius:16px;
  overflow:hidden; transition:transform .2s,border-color .2s; }
.evotech-card:hover{ transform:translateY(-4px); border-color:var(--blue); }
.evotech-card .body{ padding:22px; }
.evotech-card h3{ font-size:19px; margin:8px 0 10px; line-height:1.3; }
.evotech-card p{ color:var(--muted); font-size:14px; margin:0; }
.evotech-card .date{ color:var(--purple); font-size:12px; font-weight:700; text-transform:uppercase; }

.evotech-topbar{ position:fixed; top:0; left:0; right:0; z-index:100; display:flex;
  align-items:center; justify-content:space-between; padding:16px 24px;
  background:rgba(8,11,18,.85); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.evotech-topbar a.brand{ font-weight:800; font-size:18px; color:#fff; text-decoration:none; }
.evotech-btn{ display:inline-block; padding:11px 22px; border-radius:10px; font-weight:700;
  color:#fff; text-decoration:none; background:linear-gradient(135deg,var(--blue),var(--purple)); }

/* WooCommerce quick brand fixes */
.woocommerce-account .evotech-page, .woocommerce-cart .evotech-page, .woocommerce-checkout .evotech-page{ color:var(--ink); }
.woocommerce a.button, .woocommerce button.button.alt{ background:linear-gradient(135deg,var(--blue),var(--purple))!important; color:#fff!important; }
