/* 
  ===========================================
  FABRICATOR'S HUB - Premium Industrial Theme
  Role: Main Stylesheet
  Design: High-End Industrial, Clean, Bold
  ===========================================
*/

:root {
  /* Brand Identity */
  --color-orange: #ff5500;
  --color-orange-dark: #cc4400;
  --color-blue: #004488;
  --color-blue-dark: #002a55;
  --color-metal: #1a1a1a;
  --color-metal-light: #333333;
  --color-chrome: #f0f2f5;

  /* Neutrals */
  --color-bg-body: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-text-main: #111111;
  --color-text-muted: #555555;
  --color-border: #e5e5e5;
  --color-white: #ffffff;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 1rem;
  /* 16px */
  --space-md: 2rem;
  /* 32px */
  --space-lg: 4rem;
  /* 64px */
  --space-xl: 8rem;
  /* 128px */

  /* Layout */
  --container-width: 1360px;
  --header-height: 90px;
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Effects */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-blur: blur(12px);
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* -------------------------------------------
   RESET & BASE
------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-metal);
}

/* -------------------------------------------
   UTILITIES
------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  width: 100%;
}

.section-padding {
  padding: var(--space-xl) 0;
}

.text-orange {
  color: var(--color-orange);
}

.text-blue {
  color: var(--color-blue);
}

.text-center {
  text-align: center;
}

/* -------------------------------------------
   BUTTONS
------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border: 1px solid var(--color-orange);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 85, 0, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--color-metal);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-metal);
  background: var(--color-metal);
  color: var(--color-white);
}

.btn-white-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-white-outline:hover {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-metal);
}

/* -------------------------------------------
   HEADER & NAVIGATION
------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  position: relative;
  /* For mobile menu positioning */
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--color-metal);
}

.logo-accent {
  color: var(--color-orange);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.025em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-metal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--color-metal);
  position: relative;
  display: block;
  transition: transform 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* -------------------------------------------
   HERO SECTION
------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  /* Taller */
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-metal);
  /* Fallback */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 30, 0.95) 0%, rgba(10, 15, 30, 0.85) 45%, rgba(10, 15, 30, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 700px;
  padding-top: 4rem;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 85, 0, 0.15);
  color: var(--color-orange);
  border: 1px solid rgba(255, 85, 0, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-radius: 50px;
}

.hero-title {
  font-size: 4.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item b {
  display: block;
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* -------------------------------------------
   FLOATING SERVICES STRIP
------------------------------------------- */
.services-strip-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -5rem;
  padding-bottom: 2rem;
}

.services-strip {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--color-border);
}

.strip-item:last-child {
  border-right: none;
  padding-right: 0;
}

.strip-icon {
  font-size: 2rem;
  color: var(--color-orange);
  line-height: 1;
}

.strip-text h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.strip-text p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* -------------------------------------------
   SECTION HEADERS
------------------------------------------- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}

.section-head h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.section-head p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* -------------------------------------------
   CARDS GRID
------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.modern-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-img-wrap {
  height: 240px;
  background: var(--color-bg-light);
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.modern-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: var(--color-orange);
  letter-spacing: 0.05em;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.modern-card:hover .card-link::after {
  transform: translateX(4px);
}

/* -------------------------------------------
   FEATURE SPLIT SECTION
------------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-metal);
  color: var(--color-white);
}

.feature-media {
  min-height: 600px;
  position: relative;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.feature-content {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-content h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.feature-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-desc h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-desc p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* -------------------------------------------
   CTA BANNER
------------------------------------------- */
.cta-banner {
  background: var(--color-orange);
  padding: 6rem 0;
  text-align: center;
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 2rem;
}

/* -------------------------------------------
   PAGE HEADER (Internal)
------------------------------------------- */
.page-header {
  background: var(--color-metal);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 85, 0, 0.1), transparent 60%);
}

.page-header h1 {
  font-size: 4rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* -------------------------------------------
   FOOTER
------------------------------------------- */
.footer {
  background: #0b0b0b;
  color: #888;
  padding: 6rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #222;
}

.footer h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a:hover {
  color: var(--color-orange);
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.footer-btm {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* -------------------------------------------
   WHATSAPP FLOAT
------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 2000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* -------------------------------------------
   RESPONSIVE
------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3rem;
  }

  .strip-item {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 900px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .feature-split {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .feature-media {
    min-height: 400px;
    height: 400px;
    order: -1;
    position: relative;
    width: 100%;
  }

  .feature-media img {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-btm {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile Menu Active State */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-border);
    animation: slideDown 0.3s ease-out forwards;
  }

  .nav-links.active a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    width: 100%;
    text-align: center;
    color: var(--color-metal);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}