﻿/* Quantum Industrial — Main Stylesheet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* TEXT SELECTION */
::selection { background: var(--gold); color: var(--dark); }

:root {
  --gold:    #c9a84c;
  --gold-lt: #e2c06a;
  --dark:    #0d0d0d;
  --dark2:   #141414;
  --dark3:   #1e1e1e;
  --mid:     #2a2a2a;
  --text:    #e8e8e8;
  --muted:   #9a9a9a;
  --white:   #ffffff;
  --nav-h:   180px;
}

html { scroll-behavior: smooth; font-size: 18px; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; text-align: center; }

/* ---- SECTION LABELS ---- */
.section-eyebrow {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 20px;
}
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

/* HEADER / NAV */
.site-header .container {
  max-width: none;
  padding: 0 clamp(24px, 4vw, 80px);
}
.site-footer .container {
  max-width: none;
  padding: 0 clamp(24px, 4vw, 80px);
}
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 165px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; padding: 12px 28px; font-size: 1.05rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: url('heroBG.jpg') center/100% auto no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}
.hero-tagline {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 2px 32px rgba(0,0,0,.45);
}
.hero-headline::before {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--white);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero-scroll-hint span {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: .65rem;
  letter-spacing: .25em;
  color: rgba(255,255,255,.4);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50%       { opacity: 1; }
}

/* HERO LOAD ANIMATION */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero-content > * {
  animation: heroFadeUp .9s cubic-bezier(.4,0,.2,1) both;
}
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .3s; }
.hero-content > *:nth-child(3) { animation-delay: .5s; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* SOLUTION */
.solution {
  padding: 100px 0;
  background: var(--dark);
}
.solution-body {
  max-width: 860px;
  margin: 0 auto;
}
.solution-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.6;
}
.solution-body p {
  color: #b0b0b0;
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.solution-result {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--dark3);
  border-radius: 0 4px 4px 0;
}
.solution-result-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.solution-result p {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 500;
  font-size: 1.2rem;
}

/* OUR STORY HERO */
.story-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 40px) 0 80px;
  text-align: center;
}
.story-hero .section-eyebrow {
  color: var(--gold);
  font-size: 1.5rem;
}

.story-cta {
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
}

/* ABOUT */
.about {
  padding: 120px 0;
  background: var(--dark2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,.65);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: 0;
}
.about-image img { position: relative; z-index: 1; }
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  z-index: 2;
  background: var(--gold);
  color: var(--dark);
  padding: 20px 24px;
  text-align: center;
  border-radius: 3px;
}
.badge-number {
  display: block;
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.about-text > .btn { display: block; width: fit-content; margin: 0 auto; }
.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  margin: 32px 0;
  padding: 24px;
  background: var(--dark3);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
}
.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.credential img { height: 28px; width: auto; }
.cred-icon { font-size: 1.4rem; color: initial; }

/* SERVICES */
.services {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(80%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--mid);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  background: linear-gradient(160deg, var(--dark2) 0%, #191919 100%);
  padding: 52px 44px;
  transition: background .3s ease;
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 44px; right: 44px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { background: linear-gradient(160deg, var(--dark3) 0%, #202020 100%); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  color: var(--gold);
  margin-bottom: 24px;
}
.service-icon img,
.service-icon svg {
  transition: transform .35s ease;
}
.service-card:hover .service-icon img,
.service-card:hover .service-icon svg {
  transform: scale(1.15);
}
.service-card h3 {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.service-card p { color: var(--muted); font-size: .97rem; line-height: 1.7; }

/* MISSION BANNER */
.mission-banner {
  position: relative;
  padding: 100px 0;
  background: url('https://images.unsplash.com/photo-1590496793929-36417d3117de?w=1600&q=80') center/cover no-repeat;
  text-align: center;
}
.mission-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.58) 0%, rgba(0,0,0,.88) 100%);
}
.mission-content {
  position: relative;
  z-index: 1;
}
.mission-content h2 {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* INDUSTRIES */
.industries {
  padding: 120px 0;
  background: var(--dark2);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-card {
  background: var(--dark3);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.4);
}
.industry-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.industry-card:hover .industry-img {
  transform: scale(1.05);
}
.industry-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.industry-body {
  padding: 28px 32px;
}
.industry-body h3 {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.5;
}
.industry-body p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* CONTACT */
.contact {
  padding: 120px 0;
  background: var(--dark);
}
.contact-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-intro {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--dark2);
  border: 1px solid var(--mid);
  border-radius: 3px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color .2s, color .2s;
  border-top: 3px solid var(--gold);
}
.contact-btn:hover { border-color: var(--gold); color: var(--gold); }
.contact-icon { font-size: 1.2rem; }
.contact-creds {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--mid);
  text-align: center;
}
.cred-badge { height: 88px; width: auto; display: block; margin: 0 auto; }
.cred-license {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* FOCUS RINGS */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* FOOTER */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--mid);
}
.site-footer .footer-logo-bar {
  padding-top: 48px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 32px clamp(24px, 4vw, 80px) 48px;
}
.footer-brand {
  text-align: left;
}
.footer-brand p {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 16px;
  line-height: 1.65;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}
.footer-links a,
.footer-contact a {
  color: var(--muted);
  font-size: .92rem;
  transition: color .2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--mid);
  padding: 20px 0;
}
.footer-bottom p {
  color: #555;
  font-size: .85rem;
  text-align: center;
}
.footer-heart {
  color: #555;
  font-size: .8rem;
  text-align: center;
  margin-top: 6px;
}
.mission-sub {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: -20px;
  margin-bottom: 32px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid      { gap: 48px; }
  .contact-grid    { gap: 48px; }
  .footer-grid     { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .services-grid   { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .about-grid      { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .about-badge     { bottom: 16px; right: 16px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 110px; }
  .logo-img { height: 90px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,.98);
    padding: 32px 24px 40px;
    gap: 24px;
    border-top: 1px solid var(--mid);
  }
  .nav-links.open + .nav-cta { display: none; }
  .form-row          { grid-template-columns: 1fr; }
  .contact-form      { padding: 32px 24px; }
  .footer-grid       { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .footer-brand      { text-align: center; }
  .footer-contact a[href^="mailto"] { display: none; }
  .service-card      { padding: 36px 28px; }
  .about-credentials { flex-direction: column; gap: 14px; padding: 20px; }
  .credential        { justify-content: flex-start; width: 100%; font-size: .85rem; }
  .about-text > .btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

  .hero {
    background-position: 55% center;
    background-size: cover;
    min-height: 100svh;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.6) 100%);
  }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-headline { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-tagline  { font-size: 1.4rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}
