/* stylesheet.css */
:root {
  --primary-accent: #f1542d;
  --primary-hover: #d1421e;
  --dark-bg: #1a1a1a;
  --secondary-bg: #f5f5f5;
  --text-main: #333333;
  --text-secondary: #666666;
  --text-inverse: #ffffff;
  --text-inverse-sec: rgba(255, 255, 255, 0.7);
  --border-light: #e0e0e0;
  --border-dark: #333333;
}

* { box-sizing: border-box; }

body {
  font-family: 'Albert Sans', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 900; margin-top: 0; margin-bottom: 1rem; text-transform: uppercase; line-height: 1.2; }
h1, .heading_huge { font-size: 3.5rem; letter-spacing: -0.02em; }
h2, .heading_h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3, .heading_h3 { font-size: 2rem; }
h4, .heading_h4 { font-size: 1.25rem; letter-spacing: 0.05em; }

p { margin-top: 0; margin-bottom: 1rem; }
.paragraph_small { font-size: 0.875rem; }
.paragraph_large { font-size: 1.125rem; line-height: 1.7; }
.paragraph_xlarge { font-size: 1.25rem; line-height: 1.6; }
.eyebrow { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

/* Text Colors */
.text-color_accent-primary { color: var(--primary-accent) !important; }
.text-color_secondary { color: var(--text-secondary) !important; }
.text-inverse-secondary { color: var(--text-inverse-sec) !important; }
.text-white { color: var(--text-inverse) !important; }
.text-dark { color: var(--text-main) !important; }

/* Alignment & Utilities */
.text-align_center { text-align: center; }
.text-align_left { text-align: left; }
.text-uppercase { text-transform: uppercase; }
.fst-italic { font-style: italic; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-bold { font-weight: 700; }

/* Layout & Spacing */
.section { padding: 5rem 5%; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.w-container { max-width: 1200px; margin: 0 auto; }
.max-width_large { max-width: 800px; }
.margin-horizontal_auto { margin-left: auto; margin-right: auto; }

.margin-top_none { margin-top: 0; }
.margin-bottom_none { margin-bottom: 0; }
.margin-top_xsmall { margin-top: 0.5rem; }
.margin-bottom_xsmall { margin-bottom: 0.5rem; }
.margin-top_small { margin-top: 1rem; }
.margin-bottom_small { margin-bottom: 1rem; }
.margin-top_medium { margin-top: 2rem; }
.margin-bottom_medium { margin-bottom: 2rem; }
.margin-top_large { margin-top: 3rem; }
.margin-bottom_large { margin-bottom: 3rem; }
.margin-top_xlarge { margin-top: 5rem; }
.margin-bottom_xlarge { margin-bottom: 5rem; }

/* Backgrounds */
.is-inverse { background-color: var(--dark-bg); color: var(--text-inverse); }
.is-secondary { background-color: var(--secondary-bg); color: var(--text-main); }
.is-accent-primary { background-color: var(--primary-accent); color: var(--text-inverse); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 5%; background-color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; }
.nav_container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; }
.nav_logo { text-decoration: none; display: flex; align-items: center; }
.nav_logo-icon { display: flex; align-items: center; }
.nav_menu-list { display: flex; list-style: none; padding: 0; margin: 0; gap: 2rem; align-items: center; }
.nav_link { text-decoration: none; color: var(--text-main); font-weight: 700; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; transition: color 0.3s ease; cursor: pointer; }
.nav_link:hover, .nav_link.active { color: var(--primary-accent); }
.nav_mobile-menu-button { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }

/* Buttons with Steel Background */
.button-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.button-group.is-align-center { justify-content: center; }
.button { 
  display: inline-block; 
  padding: 1rem 2rem; 
  background-color: var(--primary-accent); 
  background-image: url('Steel.jpg'); 
  background-size: cover;
  background-position: center;
  color: #1a1a1a; 
  text-decoration: none; 
  font-weight: 900; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  border: 1px solid #999; 
  border-radius: 2px; 
  transition: all 0.3s ease; 
  cursor: pointer; 
  text-align: center; 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 6px rgba(0,0,0,0.1);
}
.button:hover { 
  background-color: var(--primary-hover); 
  color: #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 12px rgba(0,0,0,0.2);
  filter: brightness(1.1);
}
.button.is-secondary { 
  background-image: none;
  background-color: transparent; 
  color: var(--primary-accent); 
  border: 2px solid var(--primary-accent);
  box-shadow: none;
  filter: none;
}
.button.is-secondary:hover { 
  background-color: var(--primary-accent); 
  color: var(--text-inverse); 
}
.button.on-inverse.is-secondary { 
  border-color: var(--text-inverse); 
  color: var(--text-inverse); 
}
.button.on-inverse.is-secondary:hover { 
  background-color: var(--text-inverse); 
  color: var(--dark-bg); 
}

/* Grids */
.w-layout-grid { display: grid; }
.gap-xsmall { gap: 0.5rem; }
.gap-small { gap: 1rem; }
.gap-medium { gap: 2rem; }
.gap-large { gap: 3rem; }
.gap-xlarge { gap: 4rem; }

.grid_2-col { grid-template-columns: repeat(2, 1fr); }
.grid_3-col { grid-template-columns: repeat(3, 1fr); }
.grid_4-col { grid-template-columns: repeat(4, 1fr); }
.grid_6-col { grid-template-columns: repeat(6, 1fr); }

/* Cards */
.card { border-radius: 4px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.card_body { padding: 2.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card.on-secondary { background-color: #ffffff; border: 1px solid var(--border-light); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card.is-inverse { background-color: var(--dark-bg); color: var(--text-inverse); border: 1px solid var(--border-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.card.is-secondary { background-color: var(--secondary-bg); color: var(--text-main); }
.shadow_large { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hover-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* Interactive Product Buttons */
.product-btn { cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.product-btn:hover { border-color: var(--primary-accent); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.product-btn.active-product { background-color: var(--primary-accent); color: white !important; border-color: var(--primary-accent); }

/* --- NEW MODAL STYLES (For Mobile Products) --- */
.product-modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(26, 26, 26, 0.95); 
  align-items: center; 
  justify-content: center; 
  flex-direction: column; 
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-modal.active {
  display: flex;
  opacity: 1;
}
.product-modal-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.product-modal-caption {
  color: var(--primary-accent);
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
.product-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

/* Dividers */
.divider { height: 2px; width: 100%; background-color: var(--border-light); }
.divider.is-accent { background-color: var(--primary-accent); width: 50px; }
.divider.is-inverse { background-color: var(--border-dark); }
.divider.is-secondary { background-color: rgba(255,255,255,0.1); }

/* Tabs */
.tabs-menu { display: flex; gap: 1rem; border-bottom: 2px solid rgba(255,255,255,0.2); margin-bottom: 2rem; }
.tabs-menu.justify-content_center { justify-content: center; }
.tab_menu-button { padding: 1rem 2rem; text-decoration: none; font-weight: 700; text-transform: uppercase; color: var(--text-inverse); opacity: 0.6; transition: opacity 0.3s; cursor: pointer; }
.tab_menu-button:hover { opacity: 1; }
.tab_menu-button.w--current { opacity: 1; border-bottom: 3px solid var(--primary-accent); color: var(--text-inverse); }

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.w--tab-active {
  animation: tabFadeIn 0.4s ease forwards;
}

/* Forms */
.w-form { width: 100%; }
.input_label { font-weight: 700; margin-bottom: 0.5rem; display: block; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.input_field { width: 100%; padding: 1rem; border: 1px solid var(--border-light); border-radius: 2px; background-color: var(--secondary-bg); font-family: inherit; margin-bottom: 1rem; font-size: 1rem; }
.input_field:focus { outline: none; border-color: var(--primary-accent); background-color: #fff; }
.input_text-area { min-height: 150px; resize: vertical; }
.width_100percent { width: 100%; }

/* Custom Image Layout */
.image-ratio_auto img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.image-ratio_4x3 { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 4px; }
.rotate_-4-5deg { transform: rotate(-4.5deg); transition: transform 0.3s ease; }
.rotate_4-5deg { transform: rotate(4.5deg); transition: transform 0.3s ease; }
.rotate_-4-5deg:hover, .rotate_4-5deg:hover { transform: rotate(0deg) scale(1.05); z-index: 10; position: relative; }
.width_125percent { width: 125%; margin-left: -12.5%; }

/* Tags / Badges */
.tag_group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag { padding: 0.25rem 0.75rem; background-color: var(--primary-accent); color: white; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }

/* Footers & Lists */
.footer { padding: 4rem 5% 2rem; border-top: 4px solid var(--primary-accent); }
.footer_bottom-3-col { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
ul.w-list-unstyled { list-style: none; padding: 0; margin: 0; }
.text-link { color: var(--primary-accent); text-decoration: none; font-weight: 700; cursor: pointer; }
.text-link:hover { text-decoration: underline; }

/* Flowchart Animation Styles */
.s-flowchart {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 0 3rem;
}
.s-row {
  display: flex;
  width: 100%;
  position: relative;
}
.s-row.reverse {
  flex-direction: row-reverse;
}
.s-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem 3rem 1rem;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 33.333%;
}
.s-path-horiz {
  position: absolute;
  top: 28px;
  height: 4px;
  background-color: var(--primary-accent);
  z-index: 1;
}
.s-path-vert {
  position: absolute;
  top: 28px;
  width: 4px;
  height: 100%;
  background-color: var(--primary-accent);
  z-index: 1;
}
.s-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--dark-bg);
  border: 4px solid var(--primary-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.s-step:hover .s-bubble {
  background-color: var(--primary-accent);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(241, 84, 45, 0.6);
}
.s-step-text {
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.15rem;
  line-height: 1.4;
  max-width: 250px;
}

/* Gradients & Backgrounds */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }
.bg-gradient-primary { background: linear-gradient(to right, #f1542d, #ff8c6b); }
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1a1a1a, rgba(26,26,26,0.9), transparent),
              linear-gradient(to top, rgba(26,26,26,0.8), transparent);
  z-index: 10;
}

/* New Hero Background Utility Classes */
.hero-home-bg { background-image: url('Media/Hero/Hero-Home.png'); }
.hero-about-bg { background-image: url('Media/Hero/Hero-About-Us.png'); }
.hero-products-bg { background-image: url('Media/Hero/Hero-Products.png'); }
.hero-contact-bg { background-image: url('Media/Hero/Hero-Contact-Us.png'); background-position: center 60%; }

/* Responsive Design */
@media screen and (max-width: 991px) {
  .grid_6-col { grid-template-columns: repeat(3, 1fr); }
  .grid_4-col { grid-template-columns: repeat(2, 1fr); }
  h1, .heading_huge { font-size: 2.5rem; }
  h2, .heading_h2 { font-size: 2rem; }
}

@media screen and (max-width: 767px) {
  .grid_3-col, .grid_2-col, .grid_4-col, .grid_6-col { grid-template-columns: 1fr; }
  
  /* Modal visibility utility */
  .hide-on-mobile { display: none !important; }

  /* Mobile Nav Overrides */
  .nav_menu-list { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem 5%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 1.5rem;
  }
  .nav_menu-list.active { display: flex !important; }
  
  .nav_mobile-menu-button { display: block; }
  .footer_bottom-3-col { flex-direction: column; text-align: center; }
  .button-group { justify-content: center; }
  
  /* MOBILE FLOWCHART FIX: Side-by-side vertical timeline */
  .s-flowchart { padding: 0 1rem; }
  .s-row, .s-row.reverse { flex-direction: column; }
  .s-path-horiz, .s-path-vert { display: none; }
  .s-step { 
    width: 100%; 
    flex-direction: row; 
    text-align: left; 
    align-items: center;
    padding: 0 0 2.5rem 0; 
  }
  .s-bubble { 
    margin-bottom: 0; 
    margin-right: 1.5rem; 
    flex-shrink: 0; 
  }
  .s-step-text { max-width: 100%; }
  .s-flowchart::before {
    content: ''; 
    position: absolute; 
    top: 30px; 
    bottom: 2.5rem; 
    /* Calculates center of the bubble minus half the line width */
    left: calc(1rem + 28px); 
    transform: none; 
    width: 4px; 
    background: var(--primary-accent); 
    z-index: 1;
  }
}