/*
Theme Name: Azimex UK
Theme URI: https://azimex.uk
Author: Azimex UK Ltd
Author URI: https://azimex.uk
Description: Custom WordPress theme for Azimex UK Ltd, converted from a static HTML site. Fully compatible with Elementor page builder. Editable navigation, logo, footer details, and page content via the WordPress Customizer, Menus screen, and Page editor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azimex-uk
*/

/* ==========================================================================
   Azimex UK Ltd — site styles (converted from static site, design unchanged)
   ========================================================================== */
:root {
  --ink: #0B2559;
  --ink-soft: #3A4E70;
  --paper: #FAF8F3;
  --paper-deep: #F1EDE4;
  --red: #DA1120;
  --red-deep: #A80D19;
  --line: #D9D2C4;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
}

h1, h2, h3, .nav, .btn, .eyebrow {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}

.mono {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* Header */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center;
}
.logo span { color: var(--red); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img { max-height: 56px; width: auto; display: block; }

.nav { display: flex; gap: 28px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul ul { display: none; } /* sub-menus hidden to preserve original single-level design */
.nav li { list-style: none; }
.nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-bottom-color: var(--red); }
.nav a.active,
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a { color: var(--ink); border-bottom-color: var(--red); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font-size: 1rem; cursor: pointer; color: var(--ink); }

/* Manifest strip — signature element */
.manifest {
  background: var(--ink);
  color: #C9D2D9;
  padding: 9px 0;
}
.manifest .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.manifest .seg { display: flex; align-items: center; gap: 14px; }
.manifest .arrow { color: var(--red); }
.manifest strong { color: var(--white); font-weight: 500; }

/* Hero */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red-deep);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.01em;
  max-width: 18ch; margin-bottom: 22px;
}
.hero p.lead {
  font-size: 1.18rem; max-width: 56ch; margin-bottom: 34px;
}
.btn {
  display: inline-block; text-decoration: none;
  background: var(--ink); color: var(--white);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  padding: 14px 28px; border-radius: 4px; border: 1px solid var(--ink);
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--ink); color: var(--white); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--paper-deep); }
h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
section p + p { margin-top: 14px; }
.narrow { max-width: 68ch; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 24px;
}
.pillar .mono { color: var(--red-deep); display: block; margin-bottom: 12px; }

/* Details table */
.details { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.details th, .details td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.details tr:last-child th, .details tr:last-child td { border-bottom: none; }
.details th { font-family: "Archivo", sans-serif; font-weight: 600; color: var(--ink); width: 38%; background: var(--paper-deep); }

/* Lists */
ul.marked { list-style: none; margin-top: 18px; }
ul.marked li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--line); }
ul.marked li:last-child { border-bottom: none; }
ul.marked li::before { content: "—"; position: absolute; left: 0; color: var(--red); }

/* Forms */
form { max-width: 620px; margin-top: 28px; }
.field { margin-bottom: 18px; }
label { display: block; font-family: "Archivo", sans-serif; font-weight: 600; font-size: 0.86rem; color: var(--ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem;
  font-family: "Source Serif 4", Georgia, serif;
  border: 1px solid var(--line); border-radius: 4px; background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { background: #EAF4EC; border: 1px solid #BBDCC2; color: #23582F; padding: 14px 18px; border-radius: 4px; margin-top: 24px; }
.notice.error { background: #FBEAEA; border-color: #E3B7B7; color: #7A2626; }

/* Placeholder highlight — remove content or class once finalised */
.fill { background: #FFF3B0; outline: 2px dashed #D4A017; padding: 2px 6px; }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }

/* CTA strip */
.cta-strip { background: var(--ink); color: #C9D2D9; }
.cta-strip h2 { color: var(--white); }
.cta-strip .btn { background: var(--red); border-color: var(--red); color: var(--ink); }
.cta-strip .btn:hover, .cta-strip .btn:focus-visible { background: var(--white); border-color: var(--white); }

/* Footer */
footer.site-footer { background: var(--paper-deep); border-top: 1px solid var(--line); padding: 34px 0; font-size: 0.86rem; }
footer.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site-footer a { color: var(--ink-soft); }

/* Full-width / Elementor-built page template */
.azimex-full-width { padding: 60px 0; }
.azimex-full-width.no-padding { padding: 0; }

/* WordPress core / accessibility classes */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--white); clip: auto !important; clip-path: none;
  color: var(--ink); display: block; height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}
.alignleft { float: left; margin: 0 24px 12px 0; }
.alignright { float: right; margin: 0 0 12px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.86rem; color: var(--ink-soft); margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Elementor page-builder canvas compatibility */
.elementor-page .site-header,
.elementor-page .site-footer { position: static; }

/* Responsive */
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 24px 20px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
  .menu-toggle { display: block; }
  .hero { padding: 56px 0 48px; }
}
