/* 
  ===========================================
  FABRICATOR'S HUB - Industrial Modern Theme
  Role: Stylesheet for Fabricator/Welder audience
  Design: Clean, Asymmetric, Industrial, Premium
  ===========================================
*/

:root {
  /* Brand Colors - Retained */
  --color-orange: #ff5500;
  --color-orange-dark: #cc4400;
  --color-blue: #004488;
  --color-blue-dark: #003366;
  --color-metal: #2a2a2a;
  --color-metal-light: #444444;
  --color-bg-light: #f8f9fa;
  /* Slightly cooler grey */
  --color-white: #ffffff;
  --color-border: #e0e0e0;

  /* Text Colors */
  --text-main: #111111;
  --text-muted: #666666;
  --text-light: #f4f4f4;

  /* Spacing System */
  --space-unit: 8px;
  --space-xs: calc(var(--space-unit) * 1);
  /* 8px */
  --space-sm: calc(var(--space-unit) * 2);
  /* 16px */
  --space-md: calc(var(--space-unit) * 4);
  /* 32px */
  --space-lg: calc(var(--space-unit) * 8);
  /* 64px */
  --space-xl: calc(var(--space-unit) * 12);
  /* 96px */

  /* Layout */
  --container-width: 1280px;
  /* Wider for modern feel */
  --radius-sm: 4px;
  --radius-md: 8px;
  /* Slightly tighter radii for industrial feel */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* RESETS & BASE */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.text-orange {
  color: var(--color-orange);
}

.text-blue {
  color: var(--color-blue);
}

.text-metal {
  color: var(--color-metal);
}

.section-padding {
  padding: var(--space-xl) 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border: 2px solid var(--color-orange);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-metal);
  border: 2px solid var(--color-metal);
}

.btn-secondary:hover {
  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.8);
}

.btn-white-outline:hover {
  background: var(--color-white);
  color: var(--color-metal);
}

/* HEADER & NAV - Redesigned */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-metal);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
}

.logo-accent {
  color: var(--color-orange);
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-metal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.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: 28px;
  height: 2px;
  background: var(--color-metal);
  position: relative;
  display: block;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--color-metal);
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* HERO SECTION - Asymmetric & Bold */
.hero {
  position: relative;
  min-height: 85vh;
  /* Taller hero */
  display: flex;
  /* Using flex to align content */
  align-items: center;
  background-color: var(--color-bg-light);
  overflow: hidden;
  padding: 4rem 0;
  /* Added padding to prevent cramping */
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  /* Asymmetric image */
  height: 100%;
  background-image: url('Assets/Roller-shutter-doors (1)-min.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  /* Angled cut */
}

/* Overlay for text readability only if needed, but styling suggests clean text on left */
.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 50%;
  /* Text takes left half */
  padding-right: 2rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(255, 85, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--color-metal);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

.hero-stat b {
  display: block;
  font-size: 2rem;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* STATS STRIP / QUICK SERVICES - Floating Card Style */
.top-services {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  /* Overlap hero */
}

.services-strip {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border);
  display: none;
  /* Hidden on mobile/tablet, shown in media query */
}

.strip-icon {
  font-size: 2rem;
  color: var(--color-orange);
  line-height: 1;
}

.strip-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-metal);
}

.strip-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* SERVICES GRID - Modern Cards */
.services-section {
  background: var(--color-bg-light);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-head h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-metal);
}

.section-head p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.modern-card {
  background: var(--color-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.modern-card:hover::before {
  transform: scaleX(1);
}

.card-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-metal);
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.modern-card:hover .card-link::after {
  transform: translateX(4px);
}

/* FEATURE / WHY CHOOSE - Split Layout */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  /* Full bleed potential */
  background: var(--color-metal);
  color: var(--color-white);
  overflow: hidden;
}

.feature-img {
  height: 100%;
  min-height: 600px;
  background-image: url('Assets/Roller-shutter-doors (3)-min.jpg');
  background-size: cover;
  background-position: center;
}

.feature-content {
  padding: 6rem;
}

.feature-content h2 {
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  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-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.feature-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* CTA SPLIT */
.cta-banner {
  background: var(--color-orange);
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.cta-banner h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  /* Ensure visible */
}

/* PAGE HEADER (Internal) */
.page-header {
  background: var(--color-metal);
  color: var(--color-white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('Assets/shutter-pattern.png') repeat;
  /* Fallback or texture */
  opacity: 0.05;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  background: #0a0a0a;
  color: #888;
  padding: 5rem 0 2rem;
}

.footer-top {
  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;
}

.footer h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a:hover {
  color: var(--color-orange);
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-contact strong {
  color: var(--color-white);
}

.copyright {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: white;
}

/* MEDIA QUERIES */

@media (min-width: 900px) {
  .strip-item:not(:last-child)::after {
    display: block;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-background {
    position: relative;
    width: 100%;
    height: 400px;
    clip-path: none;
    order: -1;
    /* Image on top */
  }

  .hero-content {
    width: 100%;
    padding: 3rem var(--space-sm);
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 2rem auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .top-services {
    margin-top: 0;
    padding: var(--space-md) 0;
  }

  .feature-split {
    grid-template-columns: 1fr;
  }

  .feature-img {
    height: 400px;
    min-height: auto;
  }

  .feature-content {
    padding: 3rem var(--space-sm);
  }

  .nav-links {
    display: none;
    /* simple hide for now, would need JS toggle */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .copyright {
    flex-direction: column;
    gap: 1rem;
  }
}