/* ============================================
   Metal Art Australia — clean static rebuild
   ============================================ */

:root {
  --navy: #212a39;
  --blue: #1d5073;
  --blue-dark: #16405c;
  --gold: #c99857;
  --gold-dark: #a67a3c;
  --white: #ffffff;
  --text: #0d0d0d;
  --muted: #6c7580;
  --border: #d9dde2;

  --container: 1300px;
  --topbar-h: 44px;
  --header-h: 96px;

  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-condensed: "Roboto Condensed", "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top header (combined navy panel: logo + contact) --- */
.site-topheader {
  background: var(--navy);
  color: var(--white);
  padding: 18px 0 16px;
}
.site-topheader .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand-mark {
  width: 76px;
  height: 62px;
  background: url("../images/c84dec03-652d-40ef-9cda-ac660ce0b3cb.png") no-repeat center / contain;
  flex-shrink: 0;
}
.brand-wordmark {
  height: 46px;
  width: auto;
}
.topheader-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.topheader-contact a {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.topheader-contact a:hover { color: var(--gold); }
.topheader-contact .tb-phone::before {
  content: "\260E";
  margin-right: 8px;
  color: var(--gold);
  font-size: 15px;
}
.topheader-contact .tb-email::before {
  content: "\2709";
  margin-right: 8px;
  color: var(--gold);
  font-size: 15px;
}

/* --- Main nav bar --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 60px;
}

/* --- Nav --- */
nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}
nav.main-nav li { position: relative; }
nav.main-nav a {
  display: block;
  padding: 14px 18px;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
nav.main-nav a:hover,
nav.main-nav li.is-active > a {
  color: var(--blue);
  border-bottom-color: var(--gold);
}
nav.main-nav .has-dropdown > a::after {
  content: " \25BE";
  color: var(--gold);
  margin-left: 4px;
  font-size: 12px;
}
nav.main-nav ul.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 110;
}
nav.main-nav .has-dropdown:hover > ul.submenu,
nav.main-nav .has-dropdown:focus-within > ul.submenu,
nav.main-nav .has-dropdown.is-open > ul.submenu {
  display: flex;
}
nav.main-nav ul.submenu a {
  padding: 10px 18px;
  border-bottom: none;
  text-transform: none;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
}
nav.main-nav ul.submenu a:hover,
nav.main-nav ul.submenu li.is-active > a {
  background: #f4f6f8;
  color: var(--blue);
}

/* --- Burger --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle span { margin: 0 auto; }
.nav-toggle span::before { content: ""; position: absolute; top: -8px; left: 0; }
.nav-toggle span::after  { content: ""; position: absolute; top: 8px;  left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --- Hero (home) --- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 80px 0 100px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/4a902163-a68b-431f-9366-16f74161cd7f.jpg") center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .wordmark {
  max-width: 780px;
  width: 80%;
  margin: 0 auto 32px;
}
.hero h1 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(36px, 5.4vw, 60px);
  color: var(--white);
  margin: 0 0 20px;
  letter-spacing: 0.04em;
}
.hero .lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.45;
}

/* --- Blue band (used for taglines) --- */
.band {
  background: var(--blue);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.band p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 22px);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.55;
}
.band--tight { padding: 40px 20px; }

/* --- Page banner (inner pages) --- */
.page-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 70px;
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/4a902163-a68b-431f-9366-16f74161cd7f.jpg") center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 60px);
  color: var(--white);
  margin: 0;
  letter-spacing: 0.03em;
}
.page-banner p.sub {
  color: var(--white);
  opacity: 0.85;
  font-size: 18px;
  margin: 12px 0 0;
}

/* --- Section base --- */
section.content {
  padding: 60px 0;
}
section.content.alt {
  background: #f6f8fa;
}
section.content h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--navy);
  margin: 0 0 20px;
}
section.content h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  color: var(--blue);
  margin: 32px 0 12px;
}
section.content p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: var(--text);
}
section.content ul {
  padding-left: 22px;
  line-height: 1.7;
  font-size: 17px;
}
section.content ul li { margin-bottom: 6px; }

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.two-col .col-media img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* --- Services grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,42,57,0.20) 0%, rgba(33,42,57,0.75) 60%, rgba(33,42,57,0.92) 100%);
  z-index: 1;
}
.service-card .label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.service-card .label::after {
  content: " \2192";
  color: var(--gold);
  margin-left: 6px;
  transition: transform .2s ease;
  display: inline-block;
}
.service-card:hover img { transform: scale(1.06); }
.service-card:hover .label::after { transform: translateX(4px); }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #eaeef2;
  aspect-ratio: 4 / 3;
}
.gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }

.gallery-section-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 28px;
  color: var(--navy);
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* --- Video wrap --- */
.video-wrap {
  position: relative;
  padding-bottom: 42%;
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* --- Brand strip --- */
.brand-strip {
  padding: 44px 0;
  background: #f0f2f5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-strip .brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}
.brand-strip img {
  max-height: 60px;
  width: auto;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}
.brand-strip img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* --- Specs table --- */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.spec-list li {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
}
.spec-list li .k {
  font-family: var(--font-condensed);
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.03em;
  align-self: center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
}
.data-table tr:nth-child(even) { background: #f6f8fa; }

.callout {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0;
}
.callout h3 { color: var(--white); margin: 0 0 10px; font-size: 24px; font-weight: 500; }
.callout p { color: var(--white); margin: 0; opacity: 0.9; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  text-decoration: none;
}
.btn:hover { background: var(--gold-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* --- Form --- */
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 700px;
}
.contact-form label {
  display: block;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 80, 115, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .services-fs {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  background: #f6f8fa;
}
.contact-form .services-fs legend {
  padding: 0 8px;
  font-weight: 500;
  color: var(--navy);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form .services-fs .checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 20px;
  margin-top: 8px;
}
.contact-form .services-fs label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 15px;
  color: var(--text);
  margin: 0;
}
.contact-form .services-fs input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.contact-form .honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-status {
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 15px;
}
.contact-form .form-status.ok  { background: #dff4e2; color: #1a6f2f; border: 1px solid #a8dfb0; }
.contact-form .form-status.err { background: #fbe5e5; color: #8a1e1e; border: 1px solid #eeb3b3; }
.contact-form .form-status.hidden { display: none; }

/* --- Contact grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 6px;
}
.contact-info h3 {
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 500;
}
.contact-info dl { margin: 0; }
.contact-info dt {
  font-family: var(--font-condensed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-size: 13px;
  margin-top: 16px;
}
.contact-info dd {
  margin: 4px 0 0 0;
  font-size: 16px;
  color: var(--white);
  line-height: 1.5;
}
.contact-info a { color: var(--white); border-bottom: 1px dotted rgba(255,255,255,0.5); }
.contact-info a:hover { color: var(--gold); border-color: var(--gold); }
.map-wrap {
  margin-top: 32px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0 20px;
  font-size: 15px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.site-footer .foot-brand img.mark { width: 50px; height: 40px; object-fit: contain; }
.site-footer .foot-brand span {
  font-family: var(--font-body);
  color: var(--gold);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.06em;
}
.site-footer p { color: rgba(255,255,255,0.75); line-height: 1.6; margin: 0 0 10px; }
.site-footer h4 {
  color: var(--gold);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 6px; }
.site-footer ul a {
  color: rgba(255,255,255,0.75);
  transition: color .15s ease;
}
.site-footer ul a:hover { color: var(--gold); }
.site-footer .copy {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .site-topheader { padding: 12px 0 10px; }
  .site-topheader .container { grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
  .brand-wordmark { height: 30px; }
  .brand-mark { width: 46px; height: 38px; }
  .topheader-contact { gap: 2px; }
  .topheader-contact a { font-size: 13px; }
  .topheader-contact .tb-email { display: none; }

  .site-header { min-height: 52px; }
  .site-header .container { justify-content: flex-start; min-height: 52px; }
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border);
  }
  body.menu-open nav.main-nav { max-height: calc(100vh - 120px); overflow-y: auto; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
  }
  nav.main-nav ul li { border-bottom: 1px solid #eef1f4; }
  nav.main-nav a {
    padding: 14px 22px;
    border-bottom: 0;
  }
  nav.main-nav a:hover,
  nav.main-nav li.is-active > a { border-bottom: 0; background: #f4f6f8; }
  nav.main-nav .has-dropdown > a::after { float: right; }
  nav.main-nav ul.submenu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 20px;
    background: transparent;
  }
  nav.main-nav ul.submenu a {
    padding: 10px 22px;
    font-size: 14px;
    color: var(--muted);
  }
  .nav-toggle { display: inline-block; }

  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 24px; }
  section.content { padding: 40px 0; }
  .hero { padding: 50px 0 60px; }
  .page-banner { padding: 40px 0 46px; }
  .brand-strip { padding: 30px 0; }
  .brand-strip .brands { gap: 20px; }
}
@media (max-width: 640px) {
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
  .callout { padding: 24px; }
  .contact-info { padding: 20px; }
}

/* --- Utils --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
