@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');

/* ========================================
   CSS CUSTOM PROPERTIES (Design System)
   ======================================== */
:root {
  /* Color Palette */
  --color-primary: #FFFFFF;
  --color-secondary: #FFFFFF;
  --color-background: #333333;
  --color-accent: #F66E0D;  /* industrial orange */
  /*--color-accent: #1DD1BD; */ /* cyan blue */
  --color-text: #FFFFFF;
  --color-text-muted: #F5F5F5;
  --color-border: #444444;

  /* Typography */
  --font-family: 'Oxygen', system-ui, -apple-system, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Spacing System (Mobile-first) */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */

  /* Layout */
  --container-max-width: 1200px;
  --content-max-width: 800px;
  --hero-max-height: 400px;
  --border-radius: 8px;
  --transition-base: 0.3s ease;

  /* Component Sizes */
  --image-width-mobile: 80vw;
  --image-width-desktop: 30vw;
  --text-width-mobile: 90vw;
  --text-width-desktop: 30vw;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-light);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
}


/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

/* Remove default margins from all text */
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

/* Header Styles */
   h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  line-height: 1.2;
}

/* Site Title */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}

/* Section Headers */
h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* Subsection Headers */
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-weight-normal);
  border-bottom: 1px solid var(--color-accent);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
}

/* Body Text Headers */
h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  font-weight: var(--font-weight-light);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Smaller Headers */
h5, h6 {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: var(--font-weight-normal);
  margin-bottom: var(--space-sm);
}

/* Paragraph Text */
p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* Container for centering content */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 60vw;
  padding: 0 var(--space-md);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  background-color: var(--color-background);
  padding: var(--space-lg) 0;
  top: 0;
  z-index: 100;
}

/* Header divider line */
.center-hr {
  width: 400px;
  height: 3px;
  background: var(--color-accent);
  border: none;
  margin: var(--space-md) auto var(--space-md);
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.5px;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-base);
}

nav a:hover {
  color: var(--color-accent);
}

nav a.active {
  color: var(--color-accent);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

/* ========================================
   CONTENT LAYOUTS
   ======================================== */

/* Image-Text Pair Layout */
.image-text-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg) 0;
}

/* Alternate layout for even pairs */
.image-text-pair:nth-child(even) {
  flex-direction: row-reverse;
}

/* Text Block */
.text-block {
  flex: 1;
  max-width: 600px;
  width: var(--text-width-desktop);
}

/* Images */
.side-image-1 {
  flex: 0 0 auto;
  width: var(--image-width-desktop);
  max-width: 400px;
  aspect-ratio: 3/4;
  border-radius: var(--border-radius);
  object-fit: cover;
  object-position: center;
}

/* Centered Text Blocks */
.text-block-center {
  text-align: center;
  max-width: var(--content-max-width);
  margin: 0 auto var(--space-2xl);
  padding: 0 var(--space-md);
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

/* Button Container */
.buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-lg) 0;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn i {
  font-size: 1.2em;
}

.company-link {
  align-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-xs);
  width: 50%;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: linear-gradient(to bottom, rgba(51, 51, 51, 0) 0%, #333333 100%);
  position: sticky;
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  margin-top: var(--space-2xl);
}

footer p {
  font-size: 0.875rem;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
   ======================================== */
a:focus,
.btn:focus,
nav a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

/* Tablet and smaller */
@media (max-width: 1024px) {
  :root {
    --image-width-desktop: 40vw;
    --text-width-desktop: 50vw;
  }

  .image-text-pair {
    gap: var(--space-xl);
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  :root {
    /* Adjust spacing for mobile */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
  }

  /* Header adjustments */
  header {
    padding: var(--space-md) 0;
  }

  .center-hr {
    width: 50vw;
    margin: var(--space-sm) auto var(--space-sm);
  }

  /* Navigation */
  nav {
    gap: var(--space-md);
  }

  nav a {
    font-size: 1rem;
  }

  /* Image-text pairs become stacked */
  .image-text-pair {
    flex-direction: column !important;
    gap: var(--space-lg);
    text-align: center;
    padding: var(--space-sm) 0;
  }

  /* Text blocks */
  .text-block {
    width: var(--text-width-mobile);
    max-width: var(--text-width-mobile);
  }

  /* Images */
  .side-image-1 {
    width: var(--image-width-mobile);
    max-width: 350px;
    aspect-ratio: 4/5;
  }

  /* Centered text */
  .text-block-center {
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
  }

  /* Buttons */
  .buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-xs);
  }

  nav {
    gap: var(--space-sm);
  }

  nav a {
    font-size: 0.9rem;
  }

  .side-image-1 {
    width: 95vw;
    aspect-ratio: 1/1;
  }

  .text-block-center {
    padding: 0 var(--space-xs);
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  header,
  footer,
  nav,
  .buttons {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .image-text-pair {
    break-inside: avoid;
  }
}