/* Dark header/nav overrides */
header {
  background:
    radial-gradient(120% 60% at 20% 10%, rgba(183,28,28,0.08), transparent 50%),
    radial-gradient(90% 60% at 80% 0%, rgba(211,47,47,0.06), transparent 55%),
    linear-gradient(180deg, #12171d 0%, #0f1419 40%, #0c1116 100%);
  border-bottom: 1px solid #2A2F36;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

nav {
  color: #E6EDF3;
}

.brand { color: #E6EDF3; }
.brand-text { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; line-height: 1; }
.brand-word { font-size: 1.5rem; font-weight: 800; letter-spacing: 0; line-height: 1; }
.brand-red { color: #D32F2F; }
.brand-light { color: #F8FAFC; }
.brand-dot { color: #9AA4AE; font-weight: 700; }
.nav-link { color: #E6EDF3; }
.nav-link:hover { background: rgba(211,47,47,0.12); color: #F8FAFC; }

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(211,47,47,0.25);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(183,28,28,0.3);
}

.trust-stats {
  background: #111827;
  border-bottom: 1px solid #2A2F36;
  color: #E6EDF3;
}
.trust-stat-item {
  color: #E6EDF3;
  background: #161B22;
  border: 1px solid #2A2F36;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.trust-stat-icon {
  background: rgba(211,47,47,0.12);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.trust-stat-value { color: #F8FAFC; }

@media (max-width: 768px) {
  .nav-center.mobile-open {
    background: #0F1419;
    border-top: 1px solid #2A2F36;
  }
}

/* Header inline styles migrated from includes/header.php */
/* Professional Header - Dark */
    header {
      background: linear-gradient(180deg, #0F1419 0%, #111827 100%);
      position: sticky;
      top: 0;
      z-index: 1000;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      border-bottom: 1px solid #2A2F36;
      box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    }

    nav {
      max-width: 1200px;
      margin: 0 auto;
      padding: 12px 26px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      color: #E6EDF3;
    }

    /* Logo Section - Left Aligned */
    .nav-left {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
      color: #E6EDF3;
      transition: opacity 0.2s;
    }

    .brand:hover { opacity: 0.9; }

    .brand-logo {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }

.brand-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(211,47,47,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(183,28,28,0.3);
  opacity: 0.98;
}

    .brand-name {
      font-size: 1.4rem;
      font-weight: 700;
      color: #F8FAFC;
      line-height: 1;
      letter-spacing: 0;
    }

    .brand-tagline {
      font-size: 0.75rem;
      color: #9AA4AE;
      font-weight: 400;
      letter-spacing: 0;
    }

    /* Center - Navigation */
    .nav-center {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 25px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-link {
      text-decoration: none;
      color: #E6EDF3;
      font-weight: 500;
      font-size: 0.95rem;
      padding: 8px 12px;
      border-radius: 6px;
      transition: all 0.2s;
      white-space: nowrap;
      letter-spacing: 0;
      border: 0;
      background: transparent;
      font-family: inherit;
      cursor: pointer;
    }
    .coffee-mobile {
      display: none;
    }

    .nav-link:hover {
      background: rgba(211,47,47,0.12);
      color: #F8FAFC;
    }

    .nav-tools {
      position: relative;
    }

    .nav-tools::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 16px;
    }

    .nav-tools-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .nav-tools-chevron {
      transition: transform 0.2s ease;
    }

    .nav-tools.is-open .nav-tools-chevron,
    .nav-tools:hover .nav-tools-chevron,
    .nav-tools:focus-within .nav-tools-chevron {
      transform: rotate(180deg);
    }

    .nav-tools-menu {
      position: absolute;
      top: calc(100% + 14px);
      left: 50%;
      transform: translateX(-50%) translateY(8px);
      width: min(720px, calc(100vw - 32px));
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      padding: 16px;
      background: #10161d;
      border: 1px solid #2A2F36;
      border-radius: 14px;
      box-shadow: 0 24px 56px rgba(0,0,0,0.5);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    }

    .nav-tools-menu::before {
      content: "";
      position: absolute;
      top: -8px;
      left: 50%;
      width: 14px;
      height: 14px;
      transform: translateX(-50%) rotate(45deg);
      background: #10161d;
      border-left: 1px solid #2A2F36;
      border-top: 1px solid #2A2F36;
    }

    .nav-tools:hover .nav-tools-menu,
    .nav-tools:focus-within .nav-tools-menu,
    .nav-tools.is-open .nav-tools-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

    .nav-tools-section {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
    }

    .nav-tools-heading {
      color: #9AA4AE;
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0;
      padding: 0 10px 4px;
    }

    .nav-tools-section a {
      color: #E6EDF3;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      padding: 9px 10px;
      border-radius: 8px;
      border: 1px solid transparent;
      transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
    }

    .nav-tools-section a:hover,
    .nav-tools-section a:focus {
      color: #F8FAFC;
      background: rgba(211,47,47,0.1);
      border-color: rgba(211,47,47,0.35);
      outline: none;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      color: #E6EDF3;
    }

    .menu-toggle svg {
      width: 24px;
      height: 24px;
    }

    /* Trust Stats Bar */
    .trust-stats {
      background: #111827;
      padding: 10px 0;
      border-bottom: 1px solid #2A2F36;
      max-height: 120px;
      transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease, border 0.2s ease;
      color: #E6EDF3;
    }

    .trust-stats-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .trust-stat-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      color: #E6EDF3;
      background: #161B22;
      border: 1px solid #2A2F36;
      border-radius: 999px;
      padding: 8px 12px;
      box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    }

    .trust-stat-icon {
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: rgba(211,47,47,0.12);
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .trust-stat-value {
      font-weight: 700;
      color: #F8FAFC;
    }

    .trust-badge-item {
      padding: 6px 10px;
    }

    .cloudflare-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .trust-badge-img {
      height: 28px;
      display: block;
      border-radius: 6px;
      background: #161B22;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      padding: 2px 4px;
    }

    .trust-stats.is-hidden {
      max-height: 0;
      opacity: 0;
      padding: 0;
      border-bottom: 0;
      overflow: hidden;
      pointer-events: none;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      nav {
        padding: 12px 20px;
        gap: 15px;
      }

      .brand-logo {
        width: 35px;
        height: 35px;
      }

      .brand-name {
        font-size: 1.2rem;
      }

      .brand-tagline {
        font-size: 0.7rem;
      }

      .nav-center {
        display: none;
      }

      .nav-center.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0F1419;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        gap: 15px;
        border-top: 1px solid #2A2F36;
      }

      .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
      }

      .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        justify-content: center;
      }

      .nav-tools {
        width: 100%;
      }

      .nav-tools::after {
        display: none;
      }

      .nav-tools-menu {
        position: static;
        width: 100%;
        transform: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 8px;
        padding: 12px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        display: none;
      }

      .nav-tools-menu::before {
        display: none;
      }

      .nav-tools.is-open .nav-tools-menu {
        display: grid;
        transform: none;
      }

      .nav-tools-section a {
        text-align: left;
      }

      .coffee-mobile {
        display: block;
        font-weight: 700;
        color: #D32F2F;
      }

      .menu-toggle {
        display: block;
      }

      .nav-actions {
        display: none;
      }

      .trust-stats-content {
        gap: 15px;
        font-size: 0.8rem;
      }

      .trust-stat-item {
        font-size: 0.75rem;
      }

      .trust-stats {
        display: block;
      }
    }

    @media (max-width: 480px) {
      .brand-text {
        display: none;
      }

      .trust-stats {
        padding: 8px 15px;
      }

      .trust-stats-content {
        gap: 10px;
      }

      .trust-stat-item {
        font-size: 0.7rem;
        gap: 5px;
      }

      .trust-stat-item:not(.trust-badge-item) {
        display: none;
      }
    }

    /* Breadcrumb Styles */
    .breadcrumb-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px 16px;
      padding: 14px 18px;
      background:
        radial-gradient(circle at 18% 20%, rgba(211, 47, 47, 0.12), transparent 42%),
        linear-gradient(135deg, #111827 0%, #0F1419 100%);
      border: 1px solid #2A2F36;
      border-radius: 12px;
      box-shadow: 0 14px 32px rgba(0,0,0,0.45);
      font-size: 0.9rem;
      text-align: center;
      color: #E6EDF3;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #9AA4AE;
      letter-spacing: 0.1px;
      flex-wrap: wrap;
    }

    .breadcrumb a {
      color: #E6EDF3;
      text-decoration: none;
      font-weight: 650;
      padding: 6px 10px;
      border-radius: 10px;
      transition: all 0.2s ease;
      background: rgba(255,255,255,0.03);
      border: 1px solid transparent;
    }

    .breadcrumb a:hover {
      color: #F8FAFC;
      border-color: rgba(211,47,47,0.4);
      box-shadow: 0 6px 16px rgba(211,47,47,0.25);
      background: rgba(211,47,47,0.08);
    }

    .breadcrumb-home-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      color: #D32F2F;
      background: rgba(211,47,47,0.12);
      border-radius: 8px;
      border: 1px solid rgba(211,47,47,0.3);
      box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    }

    .breadcrumb-separator {
      color: #9ca3af;
      margin: 0 2px;
    }

    .breadcrumb-current {
      color: #F8FAFC;
      font-weight: 700;
      padding: 6px 10px;
      border-radius: 10px;
      background: rgba(255,255,255,0.06);
      border: 1px solid #2A2F36;
    }

    .breadcrumb-action {
      font-size: 0.9rem;
      color: #D32F2F;
      text-decoration: none;
      font-weight: 700;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
      margin-left: auto;
      padding: 6px 12px;
      border-radius: 10px;
      border: 1px solid rgba(211,47,47,0.35);
      background: rgba(211,47,47,0.1);
      box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    }

    .breadcrumb-action:hover {
      color: #F8FAFC;
      background: rgba(211,47,47,0.18);
      border-color: rgba(211,47,47,0.5);
      box-shadow: 0 10px 22px rgba(211,47,47,0.3);
    }

    @media (max-width: 768px) {
      .breadcrumb-container {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
      }

      .breadcrumb {
        font-size: 0.85rem;
      }

      .breadcrumb-action {
        font-size: 0.85rem;
      }
    }


  .bmc-header{
  position: relative;
  display: inline-block;

  /* TUNE THESE TWO to align steam with your cup */
  --steam-x: 0px;   /* left/right */
  --steam-y: -30px;  /* up/down */

  --steam-w: 46px;   /* steam width */
  --steam-h: 44px;   /* steam height */
  --steam-opacity: .55;
}

/* your image stays static */
.bmc-header img{
  height: 32px;     /* adjust to match your header */
  width: auto;
  display: block;
}

/* steam layer */
.bmc-header::before{
  content:"";
  position:absolute;
  left: var(--steam-x);
  top: var(--steam-y);
  width: var(--steam-w);
  height: var(--steam-h);
  pointer-events:none;
  opacity: 0;

  /* Curvy 3-plume steam as inline SVG */
  background: center / contain no-repeat url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 140'>\
  <g fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='18' stroke-linecap='round'>\
    <path d='M30 130 C15 105, 15 85, 30 65 C45 45, 45 28, 30 10'/>\
    <path d='M60 130 C45 105, 45 85, 60 65 C75 45, 75 28, 60 10'/>\
  </g>\
</svg>");

  filter: blur(1.2px);
  mix-blend-mode: screen; /* looks great on dark headers */

  animation: bmcSteamFloat 2.8s ease-in-out infinite;
}

/* a second steam pass for depth (slightly offset & delayed) */
.bmc-header::after{
  content:"";
  position:absolute;
  left: calc(var(--steam-x) + 6px);
  top: calc(var(--steam-y) + 2px);
  width: var(--steam-w);
  height: var(--steam-h);
  pointer-events:none;

  background: center / contain no-repeat url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 140'>\
  <g fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='14' stroke-linecap='round'>\
    <path d='M30 130 C15 105, 15 85, 30 65 C45 45, 45 28, 30 10'/>\
    <path d='M60 130 C45 105, 45 85, 60 65 C75 45, 75 28, 60 10'/>\
  </g>\
</svg>");

  filter: blur(2px);
  opacity: 0;
  animation: bmcSteamFloat 2.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes bmcSteamFloat{
  0%   { transform: translateY(10px) scale(.98); opacity: 0; }
  20%  { opacity: var(--steam-opacity); }
  60%  { transform: translateY(-10px) scale(1.02); opacity: .22; }
  100% { transform: translateY(-22px) scale(1.05); opacity: 0; }
}

/* pause on hover (premium feel) */
.bmc-header:hover::before,
.bmc-header:hover::after{
  animation-play-state: paused;
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .bmc-header::before,
  .bmc-header::after{
    animation: none !important;
    opacity: .25; /* or 0 if you want none */
  }
}
