﻿/* ================================================================
   Northgate Metalworks — Shared Stylesheet
   ================================================================ */
:root {
  --brand: #0052CC;
  --brand-2: #0047B3;
  --accent: #0052CC;
  --accent-soft: #E8F1FF;
  --surface: #f5f7fa;
  --text: #1a1a1a;
  --muted: #666666;
  --border: rgba(0, 82, 204, 0.12);
  --shadow: 0 24px 60px rgba(0, 82, 204, 0.12);
  --radius: 22px;
  --transition: all 0.3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.col-lg-4 { grid-column: span 4; }
.col-lg-6 { grid-column: span 6; }
.col-lg-7 { grid-column: span 7; }
.col-lg-5 { grid-column: span 5; }
.col-md-6 { grid-column: span 6; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; z-index: 2000; padding: .5rem 1rem; border-radius: 8px; }
/* Logo in navbar */
.logo-wrap { display: inline-flex; align-items: center; justify-content: center; height: 100%; transition: all 0.3s ease; }
.site-logo { height: 48px; width: auto; display: block; object-fit: contain; filter: brightness(1.05) drop-shadow(0 2px 4px rgba(255,255,255,0.1)); }
.footer-logo { height: 60px; margin-bottom: 1rem; filter: brightness(1) }

.site-nav { position: sticky; top: 0; z-index: 1000; background: #fff; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 0; }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; gap: 1rem; }
.brand-mark { display: inline-flex; align-items: center; gap: .75rem; color: #fff; font-weight: 800; letter-spacing: .02em; }
.brand-mark .mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: var(--brand); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 1.15rem; }
.nav-links a { color: rgba(0, 0, 0, 0.86); font-size: .95rem; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #020202; }
.top-cta { background: var(--accent); color: #fff !important; padding: .7rem 1rem; border-radius: 999px; font-weight: 700; }
.mobile-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 1.25rem; }
.hero { background: linear-gradient(135deg, #0052CC 0%, #0052CC 50%, #003d99 100%); color: #fff; padding: 6.5rem 0 5rem; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .25; }
.hero::before { width: 280px; height: 280px; background: var(--accent); top: -3rem; right: -2rem; }
.hero::after { width: 240px; height: 240px; background: rgba(0, 82, 204, 0.4); bottom: -2rem; left: -2rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; padding: .6rem .95rem; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); color: #fff; margin-bottom: 1rem; font-weight: 700; }
.badge-dark { background: rgba(13,45,75,.08); border-color: rgba(13,45,75,.12); color: var(--brand); }
.hero h1 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); margin-bottom: 1rem; max-width: 700px; }
.hero p { max-width: 620px; color: rgba(255,255,255,.88); font-size: 1rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.25rem; border-radius: 999px; font-weight: 700; transition: var(--transition); border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(215,141,27,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(215,141,27,.32); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.24); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--brand); color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 1rem 1.1rem; min-width: 150px; backdrop-filter: blur(8px); }
.hero-card strong { display: block; font-size: 1.05rem; color: #fff; }
.hero-card span { color: rgba(255,255,255,.78); font-size: .82rem; }
.hero-visual { position: relative; }
.hero-image { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.hero-image img { min-height: 480px; object-fit: cover; }
.hero-float { position: absolute; left: -1rem; bottom: -1.25rem; background: #fff; color: var(--brand); padding: 1rem 1.2rem; border-radius: 18px; box-shadow: var(--shadow); max-width: 280px; }
.hero-float h3 { font-size: 1rem; margin-bottom: .3rem; }
.hero-float p { color: var(--muted); font-size: .84rem; margin: 0; }
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); }
.section-header { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--brand); margin-bottom: .8rem; }
.section-copy { color: var(--muted); margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 36px rgba(15, 38, 58, 0.06); height: 100%; transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15, 38, 58, 0.1); }
.card-body { padding: 1.5rem; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(215,141,27,.12); color: var(--accent); font-size: 1.15rem; margin-bottom: 1rem; }
.card-title { font-size: 1.15rem; color: var(--brand); margin-bottom: .6rem; }
.card-copy { color: var(--muted); font-size: .94rem; margin-bottom: .95rem; }
.card-link { color: var(--accent); font-weight: 700; }
.split-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.list-check { list-style: none; display: grid; gap: .8rem; margin-top: 1rem; }
.list-check li { display: flex; align-items: center; gap: .8rem; color: var(--text); }
.check-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(215,141,27,.14); color: var(--accent); flex-shrink: 0; }
.quote-panel { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-panel h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.quote-panel p { color: rgba(255,255,255,.86); margin-bottom: 1.25rem; }
.feature-card { background: #fff; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 26px rgba(13, 45, 75, 0.05); height: 100%; }
.feature-card h3 { color: var(--brand); font-size: 1.12rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .93rem; }
.testimonial { background: #fff; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 12px 26px rgba(13, 45, 75, 0.05); }
.testimonial p { color: var(--text); font-size: 1rem; margin-bottom: 1rem; }
.testimonial footer { color: var(--muted); font-weight: 600; }
.final-cta { background: linear-gradient(135deg, rgba(13,45,75,.95), rgba(18,62,98,.95)); color: #fff; padding: 2.5rem; border-radius: 28px; text-align: center; box-shadow: var(--shadow); }
.final-cta h2 { margin-bottom: .7rem; }
.final-cta p { color: rgba(255,255,255,.82); margin-bottom: 1.3rem; }
.site-footer { background: #07131d; color: rgba(255,255,255,.82); padding: 3rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.site-footer p { margin-bottom: .55rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); font-size: .9rem; }
.sticky-cta { position: fixed; right: 1rem; bottom: 1rem; z-index: 1200; background: var(--accent); color: #fff; padding: .9rem 1rem; border-radius: 999px; font-weight: 700; box-shadow: 0 16px 30px rgba(215,141,27,.3); }
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 1200; background: #fff; color: var(--brand); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1rem 1rem 1.15rem; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 520px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--accent); font-weight: 700; }
.hero-page { background: linear-gradient(135deg, #0052CC 0%, #0052CC 50%, #003d99 100%); color: #fff; padding: 6rem 0 4rem; }
.hero-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .7rem 0 1rem; }
.hero-page p { color: rgba(255,255,255,.85); max-width: 700px; }
.breadcrumbs { color: rgba(255,255,255,.8); font-size: .92rem; }
.breadcrumbs a { color: #fff; }
.hero-page .hero-image img { min-height: 320px; }
.site-footer a:hover { color: #fff; }
@media (max-width: 960px) {
  .hero-grid, .split-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-float { position: static; margin-top: 1rem; }
  .nav-links { display: none; position: absolute; top: 72px; left: 1rem; right: 1rem; background: rgba(7, 15, 23, 0.98); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1rem; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-block; }
  .col-lg-4, .col-lg-6, .col-lg-7, .col-lg-5, .col-md-6 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .hero { padding-top: 5rem; }
  .hero-stats { flex-direction: column; }
  .hero-card { min-width: 100%; }
  .cookie-banner { flex-direction: column; align-items: flex-start; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .sticky-cta { right: 0.75rem; bottom: 5.8rem; }
}

/* Services gallery styles */
.services-gallery .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.service-card { position: relative; overflow: hidden; border-radius: 12px; }
.service-card img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .45s ease; }
.service-card:hover img { transform: scale(1.06); }
.service-caption { position: absolute; left: 1rem; bottom: 1rem; color: #fff; padding: .55rem .85rem; border-radius: 8px; background: rgba(0,0,0,0.48); backdrop-filter: blur(4px); display: flex; align-items: center; gap: .55rem; }
.service-caption h4 { margin: 0; font-size: 1rem; }
.svc-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; flex-shrink: 0; }
.services-gallery .more-service { margin-left: auto; }

@media (max-width: 960px) {
  .services-gallery .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-gallery .services-grid { grid-template-columns: 1fr; }
  .service-card img { height: 220px; }
}
