/* ============================================
   FireCoInk — Main Stylesheet v2
   fireco.ink
   ============================================ */

:root {
  --red:        #e8000d;
  --black:      #111111;
  --charcoal:   #1e1e1e;
  --grey-dark:  #3a3a3a;
  --grey-mid:   #6b6b6b;
  --grey-light: #c8c8c8;
  --grey-bg:    #f4f4f4;
  --white:      #ffffff;
  --steel:      #2e4057;
  --steel-mid:  #3d5a80;
  --chrome-1:   #e8e8e8;
  --chrome-2:   #b0b0b0;
  --chrome-3:   #d0d0d0;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 3px;
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { max-width: 68ch; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--grey { background: var(--grey-bg); }
.section--steel { background: var(--steel); color: var(--white); }

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.section-label--light { color: var(--grey-light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #c4000b; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-steel { background: var(--steel-mid); color: var(--white); }
.btn-steel:hover { background: var(--steel); }

/* ============================================
   LOGO — SVG text treatment
   ============================================ */
.logo-svg { display: block; height: 38px; width: auto; }
.logo-svg text { font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; }
.logo-tagline {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-light);
  display: block;
  margin-top: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--grey-light); }
.nav-contact-btn {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: background var(--transition) !important;
}
.nav-contact-btn:hover { background: #c4000b !important; }
.nav-contact-btn::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: var(--transition); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(232,0,13,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(61,90,128,0.18) 0%, transparent 50%);
}

/* ── Chrome Sprinkler ── */
.hero-sprinkler {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 36vw);
  opacity: 0.92;
  pointer-events: none;
}

@keyframes waterDrop {
  0%   { opacity: 0; transform: translateY(0) scaleY(0.6); }
  15%  { opacity: 0.9; transform: translateY(4px) scaleY(1); }
  85%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(90px) scaleY(1.2); }
}
@keyframes waterDropSide {
  0%   { opacity: 0; transform: translate(0,0) scale(0.7); }
  15%  { opacity: 0.85; transform: translate(0,4px) scale(1); }
  85%  { opacity: 0.4; }
  100% { opacity: 0; transform: translate(var(--dx,20px), 80px) scale(1.1); }
}
@keyframes mist {
  0%   { opacity:0; r:2; }
  30%  { opacity:0.4; }
  100% { opacity:0; r:14; }
}

.wd  { animation: waterDrop     1.8s ease-in infinite; }
.wds { animation: waterDropSide 1.8s ease-in infinite; }
.wm  { animation: mist          2.2s ease-out infinite; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-eyebrow span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.hero-eyebrow-line { width: 40px; height: 2px; background: var(--red); display: inline-block; flex-shrink: 0; }
.hero h1 { color: var(--white); margin-bottom: 24px; max-width: 14ch; }
.hero h1 span { color: var(--red); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 16px;
}
.hero-sub { font-size: 1.05rem; color: var(--grey-light); margin-bottom: 40px; max-width: 52ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-light);
}
.badge-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ============================================
   PILLARS
   ============================================ */
.pillars { background: var(--red); padding: 0; }
.pillars-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar-item { padding: 40px 36px; border-right: 1px solid rgba(255,255,255,0.2); }
.pillar-item:last-child { border-right: none; }
.pillar-item h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.pillar-item p { color: rgba(255,255,255,0.82); font-size: 0.92rem; line-height: 1.5; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 36px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-3px); }
.card-dark { background: var(--charcoal); border-color: var(--grey-dark); color: var(--white); }
.card-icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--red); }

/* ============================================
   QBCC BADGE
   ============================================ */
.qbcc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-left: 3px solid var(--red);
}
.qbcc-badge svg { color: var(--red); flex-shrink: 0; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: var(--grey-light); max-width: 58ch; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid #e8e8e8;
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-number { font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: #f0f0f0; line-height: 1; margin-bottom: -20px; }
.service-block h3 { margin-bottom: 16px; }
.service-block p { color: var(--grey-dark); margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--grey-dark); }
.service-list li::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ============================================
   OVERWATCH SUITE
   ============================================ */
.overwatch-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--steel) 100%);
  padding: 160px 0 100px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.overwatch-hero::before {
  content: 'OVERWATCH';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 14rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
}
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.1); transition: box-shadow var(--transition), transform var(--transition); }
.product-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.18); transform: translateY(-4px); }
.product-card-header { padding: 32px 36px; background: var(--charcoal); color: var(--white); position: relative; }
.product-card-header h3 { font-size: 1.6rem; margin-bottom: 4px; }
.product-card-header h3 span { color: var(--red); }
.product-card-header p { font-size: 0.9rem; color: var(--grey-light); }
.product-card-body { padding: 32px 36px; }
.product-card-body ul { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.product-card-body li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--grey-dark); }
.product-card-body li::before { content: '→'; color: var(--red); flex-shrink: 0; font-weight: 700; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: absolute; top: 24px; right: 24px;
}
.status-active { background: rgba(232,0,13,0.2); color: #ff6b6b; border: 1px solid rgba(232,0,13,0.3); }
.status-coming { background: rgba(61,90,128,0.3); color: #90b4d8; border: 1px solid rgba(61,90,128,0.4); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============================================
   PARTNERS
   ============================================ */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 48px; }
.partner-card {
  border: 1px solid #e0e0e0; border-radius: var(--radius);
  padding: 32px 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  min-height: 140px; background: var(--white);
}
.partner-card:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(232,0,13,0.1); transform: translateY(-2px); }
.partner-card img { max-width: 180px; max-height: 80px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.65; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
.partner-card:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
.partner-card .partner-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; color: var(--grey-mid); text-align: center; }

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { border-radius: var(--radius); overflow: hidden; background: var(--charcoal); color: var(--white); }
.project-placeholder-img { height: 200px; background: linear-gradient(135deg, var(--steel) 0%, var(--charcoal) 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-placeholder-img svg { opacity: 0.25; width: 80px; height: 80px; color: var(--white); }
.project-card-body { padding: 28px; }
.project-card-body h4 { margin-bottom: 8px; font-size: 1.1rem; }
.project-card-body p { font-size: 0.88rem; color: var(--grey-light); max-width: 100%; }
.project-tag { display: inline-block; padding: 3px 10px; background: rgba(232,0,13,0.2); color: #ff6b6b; border-radius: 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-detail { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #e8e8e8; align-items: flex-start; }
.contact-detail:first-of-type { border-top: 1px solid #e8e8e8; }
.contact-detail svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-detail-text strong { display: block; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-mid); margin-bottom: 4px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-dark); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1px solid #d0d0d0; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--black); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.82rem; color: var(--grey-mid); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black); color: var(--white); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: 0.88rem; color: var(--grey-mid); max-width: 30ch; line-height: 1.6; margin-top: 16px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--grey-mid); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--grey-dark); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: var(--grey-mid); max-width: none; }
.footer-bottom .qbcc-badge { background: var(--charcoal); font-size: 0.72rem; }

/* ============================================
   ABOUT
   ============================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-intro h2 { margin-bottom: 24px; }
.about-intro p { color: var(--grey-dark); margin-bottom: 16px; }
.about-visual-box { background: var(--charcoal); height: 420px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.about-visual-box svg { opacity: 0.15; width: 60%; color: var(--white); }
.about-visual-box::after { content: 'QUEENSLAND'; position: absolute; bottom: 24px; right: 24px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.value-item { padding: 32px 0; border-bottom: 1px solid #e8e8e8; }
.value-item:first-child { border-top: 1px solid #e8e8e8; }
.value-item h4 { margin-bottom: 8px; color: var(--black); }
.value-item p { font-size: 0.95rem; color: var(--grey-dark); max-width: 64ch; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pillars-inner { grid-template-columns: 1fr; }
  .pillar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .pillar-item:last-child { border-bottom: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-intro { grid-template-columns: 1fr; }
  .hero-sprinkler { display: none; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--black); padding: 16px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-bottom: 1px solid var(--grey-dark); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   HERO VIDEO
   ============================================ */
.hero-video-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.hero-sprinkler-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
}
.hero-video-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      var(--black) 0%,
      rgba(17,17,17,0.92) 15%,
      rgba(17,17,17,0.7) 28%,
      rgba(17,17,17,0.2) 50%,
      transparent 70%
    ),
    linear-gradient(to bottom,
      rgba(17,17,17,0.7) 0%,
      rgba(17,17,17,0.2) 15%,
      transparent 35%,
      transparent 70%,
      rgba(17,17,17,0.5) 100%
    ),
    linear-gradient(to left,
      rgba(17,17,17,0.5) 0%,
      transparent 25%
    );
  pointer-events: none;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232, 0, 13, 0.06);
  pointer-events: none;
}

/* ============================================
   PARTNER LOGO — mobile responsive
   ============================================ */
/* all logos use grayscale by default — see partner-card img above */
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .partner-card {
    padding: 24px 16px;
    min-height: 120px;
  }
  .partner-card img {
    max-width: 140px;
    max-height: 64px;
  }
}

/* ============================================
   MOBILE — hide video
   ============================================ */
@media (max-width: 768px) {
  .hero-video-wrap { display: none; }
}
