/* ==========================================================================
   LAMISTAHL INDUSTRIAL FASTENERS & METAL PRODUCTS - BRAND DESIGN SYSTEM
   Primary Digital Brand Color: #0070c0 (RGB: 0, 112, 192)
   Typography: Arial Black (Logo & Claims), Arial (Body & Subtitles)
   ========================================================================== */

/* Self-hosted Arial Black — works on any device, no system font dependency */
@font-face {
  font-family: 'Arial Black';
  src: url('../assets/fonts/ariblk.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bs-primary: #0070c0;
  --bs-primary-rgb: 0, 112, 192;
  --primary-color: #0070c0;
  --primary-hover: #005fa3;
  --primary-dark: #004d80;
  
  --navy-dark: #002D5A;
  --navy-deeper: #001B36;
  
  --sky-50: #EEF5FB;
  --sky-100: #D9EAF7;
  --sky-200: #9CC2E5;

  --slate-600: #475569;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --font-brand: 'Arial Black', Arial, sans-serif;
  --font-heading: 'Arial Black', Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  color: #334155;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading);
}

/* ==========================================================================
   OFFICIAL LAMISTAHL LOGO SYSTEM (EMBLEM + ARIAL BLACK TYPOGRAPHY)
   ========================================================================== */
.navbar-lamistahl {
  background-color: #FFFFFF !important;
  border-bottom: 2px solid var(--sky-100);
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  box-shadow: 0 4px 12px rgba(0, 112, 192, 0.05);
}

.brand-logo-header {
  font-family: 'Arial Black', Arial, sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.brand-logo-header .logo-lami {
  color: #0070c0 !important;
}

.brand-logo-header .logo-stahl {
  color: #0070c0 !important;
}

/* Bootstrap .navbar-brand resets — must override here */
.navbar-lamistahl .navbar-brand {
  font-family: 'Arial Black', Arial, sans-serif !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  padding: 0;
  margin-right: 1.5rem;
}

.brand-logo-footer {
  font-family: 'Arial Black', Arial, sans-serif !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  background-color: #FFFFFF;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.brand-logo-footer .logo-lami {
  color: #0070c0 !important;
}

.brand-logo-footer .logo-stahl {
  color: #0070c0 !important;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #002D5A !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0070c0 !important;
}

.btn-get-quote {
  background-color: #0070c0;
  color: #FFFFFF;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 112, 192, 0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-get-quote:hover {
  background-color: #005fa3;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION WITH REALISTIC WAREHOUSE PHOTOGRAPHY
   ========================================================================== */
.hero-mockup {
  position: relative;
  background: linear-gradient(rgba(0, 45, 90, 0.85), rgba(0, 27, 54, 0.90)),
              url('../assets/images/hero_warehouse.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 6.5rem 0 9.5rem;
  border-bottom: 2px solid #0070c0;
}

.hero-mockup h1 {
  font-family: var(--font-brand);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-mockup h1 .highlight-blue {
  color: #5db3ff;
}

.hero-subtitle-tag {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #EEF5FB;
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 650px;
  margin-bottom: 2rem;
}

.btn-hero-story {
  background-color: #0070c0;
  color: #FFFFFF;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 4px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 112, 192, 0.3);
}

.btn-hero-story:hover {
  background-color: #005fa3;
  color: #FFFFFF;
}

.btn-hero-proposal {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-proposal:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* FLOATING OVERLAPPING VALUE CARDS */
.hero-floating-container {
  margin-top: -5rem;
  position: relative;
  z-index: 30;
}

.floating-card-box {
  background-color: #FFFFFF;
  border: 2px solid #002D5A;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 45, 90, 0.16);
  padding: 1.75rem;
}

.value-card-item {
  background-color: #EEF5FB;
  border: 1.5px solid #D9EAF7;
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-card-item:hover {
  transform: translateY(-3px);
  border-color: #0070c0;
  background-color: #FFFFFF;
}

.value-card-icon {
  font-size: 2.25rem;
  color: #0070c0;
  margin-bottom: 0.85rem;
}

.value-card-title {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.05rem;
  color: #002D5A;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.value-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   OUR STORY SECTION WITH FACILITY IMAGE
   ========================================================================== */
.section-tag {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0070c0;
  margin-bottom: 0.35rem;
  display: block;
}

.story-heading {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 2.25rem;
  color: #002D5A;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.facility-story-img {
  width: 100%;
  border-radius: 8px;
  border: 1.5px solid #D9EAF7;
  box-shadow: 0 10px 24px rgba(0, 45, 90, 0.12);
  object-fit: cover;
  max-height: 380px;
}

/* ==========================================================================
   CARDS & CATALOG
   ========================================================================== */
.card-industrial {
  border: 1.5px solid #D9EAF7 !important;
  border-top: 4px solid #0070c0 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
}

.card-industrial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 112, 192, 0.14) !important;
  border-color: #0070c0 !important;
}

.card-product-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.text-primary {
  color: #0070c0 !important;
}

/* Override Bootstrap default #6c757d so muted/secondary text passes WCAG 2.1 AA on #EEF5FB and #F8F9FA */
.text-secondary {
  color: #475569 !important;
}

.badge-sky {
  background-color: #EEF5FB;
  color: #002D5A;
  border: 1px solid #B8D4EE;
  font-weight: 700;
}

.btn-light-blue {
  background-color: #EEF5FB;
  color: #002D5A;
  border: 1.5px solid #0070c0;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-light-blue:hover,
.btn-light-blue:focus-visible {
  background-color: #0070c0;
  border-color: #0070c0;
  color: #FFFFFF;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-75 {
  max-width: 75%;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

.bg-primary {
  background-color: #0070c0 !important;
}

.btn-primary {
  background-color: #0070c0 !important;
  border-color: #0070c0 !important;
}

.btn-primary:hover {
  background-color: #005fa3 !important;
  border-color: #005fa3 !important;
}

.btn-outline-primary {
  color: #0070c0 !important;
  border-color: #0070c0 !important;
}

.btn-outline-primary:hover {
  background-color: #0070c0 !important;
  color: #FFFFFF !important;
}

/* Styled Image Placeholders */
.img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, #EEF5FB 0%, #D9EAF7 100%);
  border: 2px dashed #0070c0;
  border-radius: 8px;
  padding: 2.25rem 1.25rem;
  text-align: center;
  color: #002D5A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.img-placeholder-icon {
  width: 50px;
  height: 50px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #0070c0;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 112, 192, 0.12);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section-bg {
  background-color: #EEF5FB;
  border-top: 1px solid #D9EAF7;
  border-bottom: 1px solid #D9EAF7;
}

/* WCAG 1.4.11 Non-text contrast >= 3:1 (#64748B on #FFFFFF = 4.76:1) */
.form-control {
  border-color: #64748B;
}

.form-control:focus {
  border-color: #0070c0;
  box-shadow: 0 0 0 0.2rem rgba(0, 112, 192, 0.2);
}

/* ==========================================================================
   FOOTER SYSTEM
   ========================================================================== */
.site-footer {
  background-color: #002D5A;
  color: #CBD5E1;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 3px solid #0070c0;
}

.footer-logo {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.site-footer h6,
.site-footer .footer-heading {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

/* WCAG AA on #002D5A: #CBD5E1 = 9.3:1, #7CC4FF = 7.4:1 */
.site-footer .footer-text {
  color: #CBD5E1;
}

.site-footer .footer-accent {
  color: #7CC4FF;
}

.site-footer .footer-address-label {
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.site-footer .footer-address-note {
  color: #CBD5E1;
  font-size: 0.8rem;
  font-style: italic;
}

.site-footer a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a.footer-contact-link {
  color: #7CC4FF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a.footer-contact-link:hover,
.site-footer a.footer-contact-link:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #CBD5E1;
  text-align: center;
}

/* ==========================================================================
   WCAG ACCESSIBILITY ENHANCEMENTS & SPAM HONEYPOT
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background-color: var(--primary-color);
  color: #FFFFFF !important;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 6px 6px;
  z-index: 10000;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #FFFFFF;
}

/* Clear focus-visible rings for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--primary-color) !important;
  outline-offset: 2px !important;
}

/* High-contrast focus ring on dark navy sections */
.hero-mockup a:focus-visible,
.hero-mockup button:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  outline-color: #7CC4FF !important;
}

/* Invisible spam honeypot field */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

