:root {
  /* Hempel: Industrial, Precise, Technical, Architectural */
  --color-primary: #004A99; /* Hempel Blue */
  --color-secondary: #E30613; /* Accent Red */
  --color-bg: #F4F7F9;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #595959;
  --color-border: #D1D9E0;
  --color-industrial-grey: #4A5568;
  
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --border-radius: 0; /* Industrial feel uses sharp corners */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
  
  --transition: all 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-lg) 0;
}

/* Components */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
}

.nav-list {
  display: flex;
  gap: var(--spacing-md);
}

.nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #003a7a;
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-color: #000;
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  max-width: 600px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  background: var(--color-primary);
  color: white;
  padding: var(--spacing-md);
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stat-item {
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: var(--spacing-sm);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Solutions / Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.card-image {
  height: 240px;
  background-color: var(--color-industrial-grey);
  position: relative;
}

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
  display: block;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

/* Features */
.feature-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  height: 500px;
  background: var(--color-industrial-grey);
}

.feature-content {
  flex: 1;
}

.section-title-wrapper {
  margin-bottom: var(--spacing-lg);
}

.section-tag {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  color: var(--color-primary);
}

/* Contact / CTA */
.cta-section {
  background-color: var(--color-industrial-grey);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.cta-text {
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: #111;
  color: white;
  padding: var(--spacing-lg) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
}

.footer-brand .logo {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-text {
  color: #888;
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  color: #888;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #666;
}

/* Utilities */
.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #eee 25%, #f5f5f5 25%, #f5f5f5 50%, #eee 50%, #eee 75%, #f5f5f5 75%, #f5f5f5 100%);
  background-size: 40px 40px;
}

.placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav-list {
    display: none;
  }
}
