/* =====================================================
   Genex Steel – Main Stylesheet
   Clean static site rebuild | April 2026
   ===================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- CSS Variables ---------- */
:root {
  --orange:  #F9A307;
  --black:   #0d0d0d;
  --dark:    #1a1a1a;
  --grey:    #4A4A4A;
  --light:   #f4f4f4;
  --white:   #ffffff;
  --radius:  4px;
  --max-w:   1200px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--black {
  background: var(--black);
  color: var(--white);
}
.section--grey {
  background: var(--grey);
  color: var(--white);
}
.section--light {
  background: var(--light);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.accent-bar {
  width: 50px;
  height: 7px;
  background: var(--orange);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 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-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange {
  background: var(--orange);
  color: var(--black);
}
.btn--orange:hover { background: #e09200; }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover { background: #333; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  padding: 0;
  border-bottom: 2px solid var(--orange);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.93);
  padding: 6px 14px;
  border-radius: 6px;
}

.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ccc;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(249, 163, 7, 0.08);
}

.nav-cta {
  background: var(--orange);
  color: var(--black) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: #e09200 !important;
  color: var(--black) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  padding-top: 84px;
  /* overflow visible so tall photos can hang naturally */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
}

/* Split grid: left text+video | right photos */
.hero__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: calc(100vh - 84px);
  width: 92%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 80px 0;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__body {
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Autoplay video below buttons */
.hero__video {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero__video video {
  width: 100%;
  display: block;
}

/* Right-side tall portrait photos */
.hero__right {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 40px;
  padding-left: 24px;
  /* allow photos to overflow below hero */
  overflow: visible;
  position: relative;
}

.hero__photo {
  flex: 1;
  width: 0;          /* flex shrink base */
  height: auto;
  max-height: calc(100vh + 60px);   /* hang a little past the fold */
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.75);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 154px 0 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.page-hero__title {
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero__lead {
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--orange);
  padding: 20px 0;
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat__number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.stat__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.65);
}

/* ---------- Service Cards ---------- */
.service-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.service-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card__body {
  padding: 24px;
}
.service-card__title {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.service-card__text {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.service-card__link {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__link::after { content: '→'; }

/* ---------- Feature blocks ---------- */
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--black);
}
.feature__content h4 {
  margin-bottom: 0.5rem;
  color: var(--white);
}
.feature__content p {
  color: #999;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.85; }

/* ---------- Contact info cards ---------- */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #111;
  border: 1px solid #222;
  border-radius: 6px;
  margin-bottom: 16px;
}
.contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--black);
}
.contact-card h4 {
  color: var(--orange);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.contact-card p, .contact-card a {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Form ---------- */
.quote-form {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 40px;
}
.quote-form h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.quote-form .lead {
  color: #888;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.78rem;
  color: #555;
  margin-top: 12px;
}
.form-group--full { grid-column: 1 / -1; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--orange);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--black);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(0,0,0,0.65);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #060606;
  border-top: 2px solid var(--orange);
  padding: 60px 0 30px;
  color: #888;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}
.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 14px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  font-size: 0.85rem;
  color: #666;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-contact p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 6px;
}
.footer-contact a { color: #888; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #444;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb span::before { content: ' / '; color: #444; }

/* ---------- Equipment list ---------- */
.equip-list {
  margin: 0;
  padding: 0;
}
.equip-list li {
  padding: 12px 0;
  border-bottom: 1px solid #222;
  color: #bbb;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.equip-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  /* Stack hero on tablets */
  .hero__split {
    grid-template-columns: 1fr;
    min-height: auto;
    width: 92%;
  }
  .hero__left { padding: 60px 0 40px; }
  .hero__right {
    display: none; /* hide tall photos on tablet/mobile */
  }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    padding: 20px;
    gap: 4px;
  }
  .nav-links.open a { padding: 12px 16px; font-size: 0.9rem; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__inner { justify-content: center; gap: 32px; }
  .hero__actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
}
