/* ==========================================================================
   Armstrong Industries South Africa — modernised, brand-exclusive design
   Identity: warm charcoal + gold (South African gold-mining heritage).
   Structure kept (Home / About us / Products / Projects / Contact us) but the
   look is deliberately our own, not a copy of the Australian site.
   Fonts: Karla (body) · Unica One (display headings)
   ========================================================================== */

:root {
  --color-bg: #f5f2ec;
  --color-surface: #ffffff;
  --color-text: #4c463f;
  --color-heading: #191613;
  --color-dark: #15120e;
  --color-dark-2: #201c16;
  --color-accent: #c9a227;      /* gold */
  --color-accent-strong: #a58214; /* darker gold for text on light */
  --color-accent-soft: #f3e7c3;
  --color-on-accent: #1c1709;   /* text on gold */
  --color-muted: #8a8378;
  --color-border: #e7e1d4;
  --font-body: "Karla", HelveticaNeue, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Unica One", HelveticaNeue, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max-width: 1200px;
  --radius: 14px;
  --shadow-sm: 0 2px 12px rgba(21,18,14,0.06);
  --shadow-md: 0 16px 44px rgba(21,18,14,0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-heading);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; }

.page-width {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--color-accent-strong);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-on-accent);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease;
  box-shadow: 0 10px 26px rgba(201,162,39,0.32);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201,162,39,0.42); background: #d4ad2c; }
.btn--dark { background: var(--color-dark); border-color: var(--color-dark); color: #fff; box-shadow: 0 10px 26px rgba(21,18,14,0.28); }
.btn--dark:hover { background: var(--color-dark-2); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; box-shadow: none; }
.btn--outline:hover { background: rgba(255,255,255,0.1); box-shadow: none; }

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: linear-gradient(90deg, #1a160f, var(--color-dark-2));
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 11px 16px;
}
.announcement-bar a { color: var(--color-accent); font-weight: 700; }

/* ---------- Header (sticky) ---------- */
.site-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-sticky { box-shadow: 0 12px 34px rgba(0,0,0,0.4); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header__logo { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.site-header__logo img { max-height: 82px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.site-header__logo .brand-sa { transform: translateY(10px); }
.brand-sa {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-left: 14px;
  border-left: 2px solid var(--color-accent);
  line-height: 1;
}

.site-nav { display: flex; align-items: center; transform: translateY(10px); }
.site-nav__link {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  position: relative;
  transition: color 0.2s ease;
}
.site-nav__link:hover { color: #fff; }
.site-nav__link--active { color: #fff; }
.site-nav__link--active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--color-accent);
}

/* Header CTA */
.header-cta { flex: 0 0 auto; }
.header-cta .btn { padding: 11px 22px; font-size: 0.8rem; line-height: 1; }

/* Meganav dropdown */
.meganav-wrap { position: relative; }
.meganav {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 300px;
  padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s;
}
.meganav-wrap:hover .meganav,
.meganav-wrap.open .meganav { opacity: 1; visibility: visible; transform: translateY(0); }
.meganav__link {
  display: block; padding: 9px 14px;
  font-size: 0.95rem; color: var(--color-heading);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.meganav__link:hover { background: var(--color-accent-soft); color: var(--color-accent-strong); }
.meganav__link--active { color: var(--color-accent-strong); }

.header-actions { display: flex; align-items: center; gap: 10px; color: #fff; transform: translateY(10px); }
.icon-btn {
  background: none; border: none; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px; width: 36px; height: 36px; border-radius: 8px;
}
.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.drawer-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--color-dark); }
.hero__slides { position: relative; height: 600px; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__image {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 7s var(--ease);
}
.hero__slide.is-active .hero__image { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(21,18,14,0.5) 0%, rgba(21,18,14,0.15) 45%, rgba(21,18,14,0.72) 100%);
}
.hero__text-wrap {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 16px;
  text-shadow: 0 3px 22px rgba(0,0,0,0.5);
}
.hero__title a { color: #fff; }
.hero__subtitle {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  max-width: 640px; margin: 0 auto;
}
.hero__subtitle a { color: #fff; border-bottom: 2px solid var(--color-accent); }
.hero__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.hero__arrows {
  position: absolute; top: 50%; left: 0; right: 0; z-index: 4;
  transform: translateY(-50%);
  display: flex; justify-content: space-between; padding: 0 22px;
  pointer-events: none;
}
.hero__arrow {
  width: 52px; height: 52px;
  background: rgba(21,18,14,0.5);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}
.hero__arrow:hover { background: var(--color-accent); border-color: var(--color-accent); transform: scale(1.06); }
.hero__arrow svg { width: 22px; height: 22px; fill: #fff; }

.hero__dots {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: center; gap: 9px;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,0.4); border: none; padding: 0;
  transition: width 0.3s var(--ease), background 0.3s ease;
}
.hero__dot.is-active { width: 28px; background: var(--color-accent); }
.hero__progress { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; height: 3px; background: rgba(255,255,255,0.14); }
.hero__progress-bar { height: 100%; width: 0; background: var(--color-accent); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--color-dark);
  border-top: 1px solid rgba(201,162,39,0.3);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .stat-value {
  font-family: var(--font-heading); color: var(--color-accent);
  font-size: 2.4rem; line-height: 1;
}
.stat .stat-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 10px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--color-surface); }
.section--dark {
  background: var(--color-dark);
  background-image: radial-gradient(1100px 460px at 78% -10%, rgba(201,162,39,0.14), transparent 60%);
  color: rgba(255,255,255,0.85);
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 44px; padding: 0 var(--gutter); }
.section--dark .section-header__title { color: #fff; }
.section-header .section-header__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section--dark .section-header p { color: rgba(255,255,255,0.75); }

/* ---------- Collection cards ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.collection-card {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 250px; padding: 26px;
  background: var(--color-dark);
  border-radius: var(--radius);
  overflow: hidden; color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.collection-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,18,14,0) 35%, rgba(21,18,14,0.85) 100%);
}
.collection-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.collection-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.55s var(--ease); }
.collection-card:hover .collection-card__bg { transform: scale(1.08); }
.collection-card__meta { position: relative; z-index: 2; }
.collection-card__title { color: #fff; font-size: 1.25rem; margin-bottom: 5px; text-shadow: 0 2px 8px rgba(0,0,0,0.45); }
.collection-card__subtext { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-accent); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  position: relative;
  background: var(--color-surface);
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.product-card__image-wrapper { aspect-ratio: 1 / 1; overflow: hidden; background: #efece4; }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.product-card:hover .product-card__image { transform: scale(1.07); }
.product-card__info { padding: 17px 19px 21px; }
.product-card__name { font-weight: 700; color: var(--color-heading); font-size: 1rem; margin-bottom: 8px; }
.product-card__price { font-size: 1.12rem; color: var(--color-accent-strong); font-weight: 700; }
.product-card__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21,18,14,0.5);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.25s ease;
}
.product-card:hover .product-card__overlay { opacity: 1; }

/* ---------- Product feature rows (fuller descriptions) ---------- */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-feature__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #efece4;
}
.product-feature__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-feature__name { font-size: 1.5rem; margin-bottom: 12px; }
.product-feature__desc { margin-bottom: 18px; }
.product-feature__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent-strong);
  margin-bottom: 20px;
}
@media (max-width: 760px) {
  .product-feature { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .product-feature__name { font-size: 1.2rem; }
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; color: rgba(255,255,255,0.85); }

/* ---------- About blurb ---------- */
.about-blurb { max-width: 820px; margin: 0 auto; text-align: center; }
.about-blurb p { margin-bottom: 18px; }
.about-blurb .lead { font-size: 1.22rem; color: var(--color-heading); font-weight: 700; }
.about-blurb a { color: var(--color-accent-strong); font-weight: 700; }

/* ---------- Social CTA ---------- */
.social-cta { text-align: center; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; color: var(--color-heading); }
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  padding: 13px 15px;
  color: var(--color-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-soft); }

/* ---------- Newsletter ---------- */
.newsletter .section-header__title { color: #fff; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff; padding: 13px 20px;
  transition: border-color 0.2s ease;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--color-accent); }
.newsletter-form .btn { border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.68); font-size: 0.95rem; padding: 68px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer__title { color: var(--color-accent); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.site-footer__link { display: block; padding: 6px 0; transition: color 0.15s ease, transform 0.15s ease; }
.site-footer__link:hover { color: #fff; transform: translateX(3px); }
.site-footer__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.site-footer__logo img { max-height: 60px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.site-footer__logo .brand-sa { font-size: 1rem; }
.site-footer__bottom { padding-top: 28px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ---------- Contact / page layout ---------- */
.page { padding: 68px 0; }
.page-header {
  background: var(--color-dark);
  background-image: radial-gradient(900px 420px at 72% -20%, rgba(201,162,39,0.2), transparent 60%);
  padding: 60px 0 52px; text-align: center;
}
.page-header .page-header__title { color: #fff; font-size: clamp(2rem, 4vw, 2.6rem); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .collection-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .drawer-toggle { display: inline-flex; }
  .hero__slides { height: 440px; }
  .hero__arrow { width: 44px; height: 44px; }
  .collection-grid, .product-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 54px 0; }
  .brand-sa { font-size: 1rem; padding-left: 10px; }
  .site-header__logo img { max-height: 60px; }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px;
  background: #fff;
  z-index: 100; padding: 28px 24px;
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__nav-link { display: block; padding: 13px 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-heading); border-bottom: 1px solid var(--color-border); }
.drawer__nav-link:hover { color: var(--color-accent-strong); }
.drawer__sub { padding-left: 14px; }
.drawer__sub .drawer__nav-link { font-weight: 400; text-transform: none; font-size: 0.95rem; }
.drawer__close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 1.6rem; color: var(--color-heading); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(21,18,14,0.55); z-index: 99; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
