:root {
  --color-graphite: #F8F9FA;
  --color-charcoal: #FFFFFF;
  --color-steel: #CBD5E1;
  --color-blue: #0284C7;
  --color-cyan: #0EA5E9;
  --color-offwhite: #1E293B;
  --color-lightgrey: #475569;
  --color-orange: #F59E0B;
  --color-white: #0F172A;

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-graphite);
  color: var(--color-offwhite);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Bootstrap Utility Overrides for Light Theme */
.text-white { color: var(--color-white) !important; }
.bg-dark { background-color: var(--color-charcoal) !important; }
.text-muted { color: var(--color-lightgrey) !important; }
.border-secondary { border-color: var(--color-steel) !important; }
.navbar-dark .navbar-nav .nav-link { color: var(--color-lightgrey); }
.navbar-dark .navbar-brand { color: var(--color-white); }
.navbar-dark .navbar-toggler-icon { filter: invert(1); }

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-cyan);
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

/* Custom UI Components */
.btn-industrial {
  background-color: var(--color-orange);
  color: var(--color-graphite);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 30px;
  border: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-industrial:hover {
  background-color: var(--color-white);
  color: var(--color-graphite);
}

.btn-outline-industrial {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-steel);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 2px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-outline-industrial:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

/* Header & Nav */
.industrial-header {
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-steel);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.navbar-brand {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

.navbar-brand span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-lightgrey);
  letter-spacing: 1px;
  font-weight: normal;
}

.nav-link {
  color: var(--color-lightgrey);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-blue);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-lightgrey);
}

.status-indicator::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 135, 199, 0.7); }
  70% { box-shadow: 0 0 0 5px rgba(22, 135, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 135, 199, 0); }
}

/* Sections */
section {
  padding: 5rem 0;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-graphite);
  background-image: 
    linear-gradient(rgba(22, 135, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 135, 199, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  padding-top: 80px;
}

.hero-bg-text {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-steel);
  letter-spacing: 5px;
}

.hero-img-frame {
  position: relative;
  padding: 20px;
  border: 1px solid var(--color-steel);
}

.hero-img-frame::before, .hero-img-frame::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-blue);
}

.hero-img-frame::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}
.hero-img-frame::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}

.tech-panel-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-steel);
  padding: 1rem;
  backdrop-filter: blur(5px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.panel-1 { bottom: -20px; left: -20px; }
.panel-2 { top: 40px; right: -30px; }

/* Enquiry Bar */
.enquiry-bar {
  background-color: var(--color-charcoal);
  border-top: 1px solid var(--color-steel);
  border-bottom: 1px solid var(--color-steel);
  padding: 2rem 0;
}

.enquiry-form .form-control {
  background-color: var(--color-graphite);
  border: 1px solid var(--color-steel);
  color: var(--color-offwhite);
  border-radius: 0;
  padding: 10px 15px;
}

.enquiry-form .form-control:focus {
  border-color: var(--color-blue);
  box-shadow: none;
}

/* Cards */
.industrial-card {
  background-color: var(--color-charcoal);
  border: 1px solid var(--color-steel);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.industrial-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-5px);
}

/* Process Timeline */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 4rem 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-steel);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  background-color: var(--color-graphite);
  padding: 0 10px;
  text-align: center;
  flex: 1;
}

.step-num {
  width: 50px;
  height: 50px;
  background-color: var(--color-charcoal);
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  border-radius: 50%;
  margin: 0 auto 1rem;
}

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

.footer-links a {
  display: block;
  color: var(--color-lightgrey);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-charcoal);
  border-top: 1px solid var(--color-steel);
  padding: 1.5rem;
  z-index: 1050;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .process-timeline {
    flex-direction: column;
  }
  .process-timeline::before {
    top: 0;
    left: 25px;
    width: 1px;
    height: 100%;
  }
  .process-step {
    display: flex;
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 0;
  }
  .step-num {
    margin: 0 1rem 0 0;
  }
}
