/* BFB-Hille - Industrial Minimal Design System */
:root {
  /* Colors */
  --color-primary: #C42026;
  --color-primary-hover: #A01A1E;
  --color-bg: #FFFFFF;
  --color-surface: #F4F4F5;
  --color-surface-alt: #E4E4E7;
  --color-text-main: #18181B;
  --color-text-muted: #52525B;
  --color-border: #D4D4D8;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing */
  --spacing-container: 1200px;
  --spacing-section: 6rem;
  
  /* Animation */
  --transition-fast: 0.2s ease-in-out;
  --transition-motion: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 { color: var(--color-text-main); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.text-muted { color: var(--color-text-muted); }

/* Layout */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.section { padding: var(--spacing-section) 0; }
.section-surface { background-color: var(--color-surface); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Buttons & Links */
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 32, 38, 0.2);
}
.btn-outline {
  border-color: var(--color-text-main);
  color: var(--color-text-main);
}
.btn-outline:hover {
  background-color: var(--color-text-main);
  color: #fff;
}

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50; padding: 1rem 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 80px; }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-weight: 500; color: var(--color-text-main); }
.nav-link:hover { color: var(--color-primary); }

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  color: #fff;
  padding-top: 8rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background-color: #000;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6; /* Dark overlay for text readability */
}
.hero-content { max-width: 800px; animation: fadeInUp 0.8s var(--transition-motion) forwards; }
.hero h1, .hero p { color: #fff; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; }

/* Cards (Industrial edges, no radius) */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--color-primary);
}
.card-icon { color: var(--color-primary); margin-bottom: 1.5rem; }
.card-icon svg { width: 40px; height: 40px; }

/* Image Wrapper */
.img-wrapper { position: relative; width: 100%; height: 100%; min-height: 400px; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.footer { background-color: var(--color-text-main); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer h4 { margin-bottom: 1.5rem; color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; color: #A1A1AA; }
.footer-link:hover { color: var(--color-primary); }
.footer-logo { height: 100px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }

/* Utility */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-surface-alt);
  color: var(--color-text-main);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section { padding: 4rem 0; }
  .header { background: rgba(24, 24, 27, 0.95); }
  .hero { min-height: 70vh; }
}
