/*
Theme Name: Bulldog OEM
Theme URI: https://www.bulldogoem.com
Author: Bulldog OEM Services
Author URI: https://www.bulldogoem.com
Description: Custom WordPress theme for Bulldog OEM Services, a fire apparatus manufacturing and refurbishment company. Converted from the original static HTML site; visual design and CSS are preserved verbatim from the source site.
Version: 1.0.0
License: Proprietary
Text Domain: bulldog-oem
*/

.contact-banner { padding: 0.85rem 1.1rem; margin-bottom: 1.25rem; border-left: 4px solid; font-size: 0.9rem; }
.contact-banner--success { border-color: #4caf50; background: rgba(76,175,80,0.08); color: #a5d6a7; }
.contact-banner--error   { border-color: #CC0000; background: rgba(204,0,0,0.1);  color: #ef9a9a; }
.contact-banner--error a { color: inherit; text-decoration: underline; }
  :root {
    --red: #C41E2A;
    --red-dark: #9B1520;
    --black: #1A1A1A;
    --dark: #2A2A2A;
    --white: #FFFFFF;
    --gray-light: #F2F2F2;
    --gray-mid: #888;
    --gray-dark: #444;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Barlow', sans-serif;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
  }

  /* -- NAV -- */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--black);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 72px;
    border-bottom: 3px solid var(--red);
  }
  .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px; color: var(--white);
    letter-spacing: 2px;
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
  }
  .nav-logo .red-bar {
    width: 4px; height: 36px; background: var(--red);
    display: inline-block;
  }
  .nav-logo-img {
    height: 52px;
    width: auto;
    display: block;
  }
  .footer-logo-img {
    height: 44px;
  }

  .brochure-btn { display:inline-block; margin-top:18px; padding:12px 18px; background: var(--red); color: var(--white); border-radius: 999px; text-decoration:none; font-weight:700; transition: background 0.2s ease, transform 0.2s ease; }
  .brochure-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
  .cap-card-cta { margin-top: 6px; }

  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a {
    color: var(--white); text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 15px;
    letter-spacing: 1.5px; text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--red); }
  .nav-cta {
    background: var(--red) !important; color: var(--white) !important;
    padding: 10px 24px; border-radius: 0;
    font-weight: 800 !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--red-dark) !important; }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
  .hamburger span { width: 28px; height: 3px; background: var(--white); transition: 0.3s; }

  /* -- HERO -- */
  .hero {
    margin-top: 72px;
    min-height: 92vh;
    background: var(--black);
    position: relative;
    display: flex; align-items: center;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(90deg, transparent 0, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px),
      repeating-linear-gradient(0deg, transparent 0, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
  }
  .hero-red-stripe {
    position: absolute; top: 0; bottom: 0;
    left: 50%; width: 120px;
    background: var(--red);
    transform: translateX(-50%);
    opacity: 0.15;
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto;
    padding: 0 48px;
    display: flex; flex-direction: column; gap: 24px;
    animation: heroIn 1s ease-out both;
  }
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 18px;
    color: var(--red); letter-spacing: 4px;
    text-transform: uppercase;
  }
  .hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(56px, 8vw, 120px);
    color: var(--white); line-height: 0.95;
    letter-spacing: 2px;
  }
  .hero h1 span { color: inherit; }
  .hero-line { display: block; }
  .hero-line-white { color: var(--white); }
  .hero-line-red { color: var(--red) !important; }
  .hero-sub {
    font-size: 20px; color: rgba(255,255,255,0.65);
    max-width: 560px; line-height: 1.6;
    font-weight: 400;
  }
  .hero-btns {
    display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap;
  }
  .btn {
    display: inline-block; padding: 16px 40px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 16px;
    letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    border: none; transition: all 0.25s;
  }
  .btn-red { background: var(--red); color: var(--white); }
  .btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
  .btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
  }
  .btn-outline:hover { border-color: var(--red); color: var(--red); }

  /* -- STATS BAR -- */
  .stats-bar {
    background: var(--red);
    display: grid; grid-template-columns: repeat(4, 1fr);
    text-align: center; padding: 0;
  }
  .stat {
    padding: 40px 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
  }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px; color: var(--white);
    line-height: 1;
  }
  .stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 14px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px; text-transform: uppercase;
    margin-top: 4px;
  }

  /* -- SECTIONS -- */
  section { padding: 100px 48px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }

  .section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 14px;
    color: var(--red); letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 12px;
  }
  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1; letter-spacing: 1px;
    margin-bottom: 20px;
  }
  .section-desc {
    font-size: 18px; color: var(--gray-dark);
    max-width: 640px; line-height: 1.7;
  }

  /* -- WHO WE ARE -- */
  .who-section { background: var(--gray-light); }
  .who-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; margin-top: 48px; align-items: center;
  }
  .who-text p {
    font-size: 17px; color: var(--gray-dark);
    line-height: 1.8; margin-bottom: 20px;
  }
  .who-text p strong {
    color: var(--black); font-weight: 700;
  }
  .who-image {
    position: relative; overflow: hidden;
  }
  .who-image img {
    width: 100%; display: block;
    border-left: 6px solid var(--red);
  }

  /* -- CAPABILITIES -- */
  .capabilities-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px; margin-top: 56px;
  }
  .cap-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    position: relative; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .cap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  }
  .cap-card-img {
    height: 220px;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .cap-card-img img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .cap-card-img.contain-img {
    background: #f0f0f0;
  }
  .cap-card-img.contain-img img {
    object-fit: contain; padding: 16px;
  }
  .cap-card-img::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    pointer-events: none;
  }
  .cap-card-img.contain-img::after {
    background: linear-gradient(transparent, rgba(0,0,0,0.08));
  }
  .cap-icon {
    font-size: 72px; opacity: 0.12; color: var(--white);
    position: absolute; right: 20px; top: 16px;
    z-index: 1;
  }
  .cap-card-tag {
    position: absolute; bottom: 12px; left: 12px; z-index: 2;
    background: var(--red); color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 12px;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 14px;
  }
  .cap-card-body { padding: 28px; }
  .cap-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px; letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .cap-card p {
    color: var(--gray-dark); line-height: 1.7;
    font-size: 15px;
  }
  .cap-card-features {
    margin-top: 16px; display: flex;
    flex-wrap: wrap; gap: 6px;
  }
  .feature-tag {
    background: var(--gray-light);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 12px;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 12px; color: var(--dark);
  }

  /* -- WHY BULLDOG -- */
  .why-section {
    background: var(--black); color: var(--white);
    position: relative;
  }
  .why-section .section-title { color: var(--white); }
  .why-section .section-desc { color: rgba(255,255,255,0.55); }
  .why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px; margin-top: 56px;
  }
  .why-item { position: relative; padding-left: 20px; border-left: 3px solid var(--red); }
  .why-item h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 20px;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 10px;
  }
  .why-item p { color: rgba(255,255,255,0.55); line-height: 1.7; font-size: 15px; }

  /* -- CTA BANNER -- */
  .cta-banner {
    background: var(--red);
    padding: 80px 48px;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(0,0,0,0.04) 40px, rgba(0,0,0,0.04) 41px);
  }
  .cta-banner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    color: var(--white); position: relative;
    line-height: 1;
  }
  .cta-banner p {
    font-size: 18px; color: rgba(255,255,255,0.85);
    margin: 16px auto 32px; max-width: 600px;
    position: relative;
  }
  .btn-white {
    background: var(--white); color: var(--red);
    font-weight: 800;
  }
  .btn-white:hover {
    background: var(--black); color: var(--white);
    transform: translateY(-2px);
  }

  /* -- CONTACT -- */
  .contact-section { background: var(--gray-light); }
  .contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; margin-top: 48px;
  }
  .contact-info { display: flex; flex-direction: column; gap: 32px; }
  .contact-block h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 16px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--red); margin-bottom: 8px;
  }
  .contact-block p {
    font-size: 17px; line-height: 1.7; color: var(--dark);
  }
  .contact-block a {
    color: var(--dark); text-decoration: none;
    font-weight: 600; transition: color 0.2s;
  }
  .contact-block a:hover { color: var(--red); }

  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%; padding: 16px 20px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px; border: 2px solid #ddd;
    background: var(--white); color: var(--black);
    outline: none; transition: border-color 0.2s;
  }
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    border-color: var(--red);
  }
  .contact-form textarea { resize: vertical; min-height: 120px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .btn-submit { align-self: flex-start; }

  /* -- FOOTER -- */
  footer {
    background: var(--black); color: var(--white);
    padding: 56px 48px 32px;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 40px;
  }
  .footer-brand .nav-logo { font-size: 28px; margin-bottom: 12px; }
  .footer-brand p {
    color: rgba(255,255,255,0.4); font-size: 14px;
    max-width: 320px; line-height: 1.6;
  }
  .footer-links h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--red); margin-bottom: 16px;
  }
  .footer-links a {
    display: block; color: rgba(255,255,255,0.5);
    text-decoration: none; font-size: 15px;
    margin-bottom: 10px; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--white); }
  .footer-bottom {
    max-width: 1200px; margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; color: rgba(255,255,255,0.3);
    font-size: 13px;
  }

  /* -- MOBILE -- */
  @media (max-width: 1024px) {
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 72px; left: 0; right: 0;
      background: var(--black); padding: 24px;
      gap: 20px; border-bottom: 3px solid var(--red);
    }
    section { padding: 64px 24px; }
    .hero { min-height: 80vh; }
    .hero-content { padding: 0 24px; }
    .who-layout { grid-template-columns: 1fr; }
    .capabilities-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid rgba(255,255,255,0.15); }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
  }
