/* Structural Grid & Industrial Motion Design System */

:root {
  --color-industrial-charcoal: #1A1A1D;
  --color-concrete-gray: #7B828A;
  --color-construction-yellow: #FADB14;
  --color-steel-blue: #1F3B4D;
  --color-matte-black: #0B0B0C;
  --color-warm-silver: #C4C8CC;
  
  --color-hazard-orange: #FF4D4F;
  --color-blueprint-cyan: #0AE6FA;

  --font-heading: 'Impact', 'Arial Narrow', sans-serif; /* Fallback for bold condensed */
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  
  --grid-gap: 2px;
  --structural-border: 1px solid rgba(196, 200, 204, 0.1);
  --blueprint-border: 1px solid rgba(10, 230, 250, 0.3);
}

body {
  background-color: var(--color-matte-black);
  color: var(--color-warm-silver);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1rem;
}

/* Typography Utility */
.text-cyan { color: var(--color-blueprint-cyan) !important; }
.text-yellow { color: var(--color-construction-yellow) !important; }
.text-orange { color: var(--color-hazard-orange) !important; }
.text-charcoal { color: var(--color-industrial-charcoal) !important; }

/* Structural Grid Elements */
.structural-grid {
  position: relative;
  display: grid;
  gap: var(--grid-gap);
  background-color: rgba(255,255,255,0.05); /* grid lines */
}

.structural-box {
  background-color: var(--color-industrial-charcoal);
  padding: 3rem;
  border: var(--structural-border);
  position: relative;
  overflow: hidden;
}

.blueprint-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(10, 230, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 230, 250, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.blueprint-border {
  border: var(--blueprint-border);
}

/* Header & Nav */
.navbar-industrial {
  background-color: rgba(11, 11, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--structural-border);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff !important;
  letter-spacing: 2px;
}

.nav-link {
  font-family: var(--font-body);
  color: var(--color-warm-silver) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem !important;
  border-left: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--color-blueprint-cyan) !important;
  border-left: 1px solid var(--color-blueprint-cyan);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--color-construction-yellow);
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.1); /* For GSAP zoom out */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(11,11,12,0.9) 0%, rgba(11,11,12,0.4) 100%);
  z-index: -1;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  color: var(--color-warm-silver);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  border-left: 3px solid var(--color-blueprint-cyan);
  padding-left: 1.5rem;
}

.btn-industrial {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--color-blueprint-cyan);
  color: var(--color-blueprint-cyan);
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-industrial::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--color-blueprint-cyan);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn-industrial:hover {
  color: var(--color-matte-black);
}
.btn-industrial:hover::before {
  left: 0;
}

/* Sections */
.section-padding {
  padding: 8rem 0;
}

.section-title {
  font-size: 4rem;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 4px;
  background-color: var(--color-construction-yellow);
}

.stat-number {
  font-size: 5rem;
  font-family: var(--font-heading);
  color: var(--color-construction-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-warm-silver);
}

/* Projects Showcase */
.project-card {
  position: relative;
  overflow: hidden;
  group: hover;
  border: var(--structural-border);
}

.project-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(11,11,12,1) 0%, transparent 100%);
  transform: translateY(20px);
  transition: all 0.4s ease;
  opacity: 0.9;
}

.project-card:hover .project-info {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer-industrial {
  background-color: var(--color-industrial-charcoal);
  border-top: 1px solid var(--color-blueprint-cyan);
  padding: 5rem 0 2rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: var(--structural-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-concrete-gray);
}

.footer-bottom span {
  color: var(--color-warm-silver);
}

/* Animations */
.gsap-reveal {
  opacity: 0;
  transform: translateY(50px);
}

/* Mega Menu System */
.navbar .mega-menu {
  background-color: rgba(11, 11, 12, 0.98);
  backdrop-filter: blur(15px);
  border-top: 2px solid var(--color-construction-yellow);
  padding: 0;
}

.dropdown-item {
  font-family: var(--font-body);
  color: var(--color-warm-silver) !important;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  color: var(--color-blueprint-cyan) !important;
  padding-left: 10px;
  border-bottom-color: var(--color-blueprint-cyan);
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

/* Footer Links Formatting */
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: var(--color-warm-silver);
  text-decoration: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-blueprint-cyan);
  padding-left: 8px;
}


/* Lenis required CSS */
html.lenis, html.lenis body { height: auto; width: 100vw; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
