/**
 * Firefly child theme – header / sticky nav
 * Use with Beaver Themer header; transparent→solid on scroll, mobile hamburger
 */

/* Override BB .fl-col min-height so the header column can shrink (from bb-plugin/css/fl-builder-layout.css) */
.fl-col:has(.fl-module-firefly-header) {
  min-height: 0;
}

/* Header row (Themer header layout) */
.ff-header-row {
  position: relative;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.ff-header-row.ff-header-solid {
  background-color: var(--ff-white);
  box-shadow: 0 1px 0 var(--ff-border);
}

/* Logo column */
.ff-header-logo a {
  display: inline-block;
}

.ff-header-logo img {
  display: block;
  max-width: 140px;
  height: auto;
}

/* Nav column – horizontal menu */
.ff-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.ff-header-menu ul,
.ff-header-menu .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-header-menu a {
  font-family: var(--ff-body);
  font-weight: 500;
  color: var(--ff-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ff-header-row:not(.ff-header-solid) .ff-header-menu a {
  color: var(--ff-white);
}

.ff-header-menu a:hover {
  opacity: 0.9;
}

/* CTA button in header */
.ff-header-nav .ff-btn-primary {
  padding: 0.5rem 1rem;
}

/* Mobile menu toggle (hamburger) */
.ff-hamburger {
  display: none;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
}

.ff-mobile-menu {
  display: none;
}
