/*
 * Shared site navigation styles — extracted from the duplicated inline
 * <style> block that previously appeared on all 6 pages (index, about,
 * services, careers, contact, gallery). Loading this once here lets the
 * browser cache it across page navigations instead of re-parsing an
 * identical ~3.4KB chunk of CSS on every page load.
 *
 * Install at: src/main/webapp/static/css/nav.css
 */
.kargon-nav {
      background: #0d1f2d;
      position: sticky; top: 0; z-index: 1000;
      box-shadow: 0 2px 20px rgba(0,0,0,0.35);
      font-family: 'Barlow', sans-serif;
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 20px;
      display: flex; align-items: center; justify-content: space-between; height: 70px;
      gap: 10px;
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; overflow: hidden; }
    .nav-logo img { height: 46px; width: auto; border-radius: 100%; filter: brightness(1.15); flex-shrink: 0; }
    .nav-logo-divider { width: 2px; height: 38px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
    .logo-text { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
    .logo-text .name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 18px; font-weight: 900; color: white;
      text-transform: uppercase; letter-spacing: 1px; line-height: 1.2;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .logo-text .tagline {
      font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
      background: linear-gradient(90deg, #00b4d8, #06d6a0);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .nav-links { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
    .nav-links li a {
      display: block; padding: 0 16px; height: 70px; line-height: 70px;
      color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 700;
      letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
      border-bottom: 3px solid transparent; transition: all 0.25s;
      white-space: nowrap;
    }
    .nav-links li a:hover, .nav-links li.active a { color: white; border-bottom-color: #e8381a; }
    .nav-cta {
      display: inline-block; background: #e8381a; color: white;
      padding: 10px 22px; font-size: 11px; font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
      transition: background 0.3s; white-space: nowrap; flex-shrink: 0;
    }
    .nav-cta:hover { background: #c42e10; color: white; }
    .nav-hamburger {
      display: none; flex-direction: column; gap: 5px;
      cursor: pointer; background: none; border: none; padding: 8px;
      flex-shrink: 0;
    }
    .nav-hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }

    @media(max-width: 900px) {
      .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 70px; left: 0; right: 0;
        background: #0d1f2d; padding: 12px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        z-index: 999;
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links li a {
        height: auto; line-height: 1; padding: 14px 24px;
        border-bottom: none; border-left: 3px solid transparent;
        font-size: 13px;
      }
      .nav-links li.active a, .nav-links li a:hover {
        border-left-color: #e8381a; border-bottom: none; background: rgba(255,255,255,0.04);
      }
      .nav-hamburger { display: flex; }
      .nav-cta { display: none; }
      .kargon-nav { position: sticky; }
    }
