/* 
  ===========================================
  FABRICATOR'S HUB - Industrial Theme
  Role: Stylesheet for Fabricator/Welder audience
  ===========================================
*/

:root {
  /* Brand Colors */
  --color-orange: #ff5500;
  --color-orange-dark: #cc4400;
  --color-blue: #004488;
  --color-blue-dark: #003366;
  --color-metal: #2a2a2a;
  --color-metal-light: #444444;
  --color-bg-light: #f4f4f4;
  --color-white: #ffffff;

  /* Text Colors */
  --text-main: #1a1a1a;
  --text-muted: #555555;
  --text-light: #f0f0f0;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Layout */
  --container-width: 1200px;
  --radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* RESETS */
* {
  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;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* UTILITIES */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* HEADER & NAV */
.header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 5px solid var(--color-orange);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-metal);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--color-orange);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-metal);
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-orange);
}

.nav-links a.active {
  border-bottom: 2px solid var(--color-orange);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 30px;
  height: 3px;
  background: var(--color-metal);
  display: block;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  width: 30px;
  height: 3px;
  background: var(--color-metal);
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 600px;
  /* Reduced from fullscreen to respect fold */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-metal);
  background-image: url('Assets/Roller-shutter-doors (1)-min.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
}

/* PAGE HEADER (Subpages) */
.page-header {
  background: var(--color-metal);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 1rem;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  color: #ccc;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #ddd;
  font-weight: 400;
}

.hero-features-list {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: var(--color-orange);
}

/* BUTTONS */
.btn-primary,
.btn-hero-primary,
.btn-cta-primary {
  background: var(--color-orange);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  /* Squarer, more industrial */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--color-orange);
}

.btn-primary:hover,
.btn-hero-primary:hover,
.btn-cta-primary:hover {
  background: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  transform: translateY(-2px);
}

.btn-hero-secondary,
.btn-cta-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  border: 2px solid white;
  margin-left: 1rem;
}

.btn-hero-secondary:hover,
.btn-cta-secondary:hover {
  background: white;
  color: var(--color-metal);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--color-metal);
  color: var(--color-metal);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 1rem;
}

.btn-outline:hover {
  background: var(--color-metal);
  color: white;
}

/* QUICK SERVICES STRIP */
.quick-services {
  background: var(--color-blue);
  color: white;
  padding: 2rem 0;
  margin-top: -5px;
  /* Pull up to touch hero */
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.quick-service-item strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.quick-service-item p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* SERVICES GRID */
.services-overview {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-metal);
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--color-orange);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-metal);
}

/* WHY CHOOSE (Value Prop) */
.why-choose {
  padding: var(--spacing-xl) 0;
  background: white;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.check-icon {
  background: var(--color-orange);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.why-choose-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* CTA SECTION */
.cta-section {
  background: var(--color-metal);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  margin-top: 2rem;
}

/* FOOTER */
.footer {
  background: #111;
  color: #888;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3,
.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 35px;
  height: 35px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  /* Add JS/CSS toggle later if strictly needed, or keep simple for now */
  .mobile-menu-toggle {
    display: block;
  }

  .btn-primary {
    display: none;
  }

  /* Hide header button on mobile, save space */

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-features-list {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .why-choose-content {
    grid-template-columns: 1fr;
  }

  .why-choose-image {
    order: -1;
  }

  /* Image first on mobile */

  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    margin: 0;
  }

  .quick-services-grid {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 0 1rem;
  }

  .quick-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }

  .quick-service-item:last-child {
    border: none;
  }
}