/* ======== HEADER: LOGO LEFT / ICONS RIGHT (DESKTOP UNTIL 768px) ======== */
.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: #000;
  border-bottom: 5px solid #FFD900;
  padding: 0 clamp(1.5vw, 40px, 60px);
  min-height: clamp(120px, 16vw, 200px);
  overflow: visible;
  z-index: 10;
}

/* ======== LOGO ======== */
.site-header .site-branding img,
.site-header .navbar-brand img {
  position: relative;
  width: clamp(160px, 15vw, 240px);
  height: auto;
  bottom: -18px;
  transition: all 0.3s ease;
}

/* ======== ICONS RIGHT ======== */
#site-navigation,
.main-navigation {
  flex: 1 1 auto;
  display: flex !important; /* force visible even if parent hides it */
  justify-content: flex-end;
  align-items: flex-end;
  margin-left: auto;
  padding-bottom: 8px;
}

#site-navigation .navbar-nav,
.main-navigation .menu-list {
  display: flex !important; /* override JS/mobile collapse */
  justify-content: flex-end;
  align-items: flex-end;
  gap: clamp(0.3rem, 0.8vw, 1rem); /* allows icons to squeeze together */
  flex-wrap: nowrap;
  transform-origin: right bottom;
  transition: gap 0.3s ease, transform 0.3s ease;
}

/* ======== ICON SIZE (RESPONSIVE & UNIFORM) ======== */
#site-navigation .navbar-nav li img,
.main-navigation .menu-list li img {
  height: clamp(80px, 5vw, 110px);
  width: auto;
  object-fit: contain;
  aspect-ratio: 1/1;
  display: block;
  transition: transform 0.2s ease, height 0.3s ease;
}

#site-navigation .navbar-nav li img:hover,
.main-navigation .menu-list li img:hover {
  transform: scale(1.1);
}

/* ======== FORCE DESKTOP NAV VISIBILITY ABOVE 768px ======== */
@media (min-width: 769px) {
  .menu-toggle,
  .main-menu-toggle,
  .navbar-toggle {
    display: none !important;
    visibility: hidden !important;
  }

  #site-navigation,
  .main-navigation,
  #site-navigation .navbar-nav,
  .main-navigation .menu-list {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ======== SWITCH TO MOBILE BELOW 768px ======== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  #site-navigation,
  .main-navigation {
    justify-content: center;
  }

  .menu-toggle,
  .main-menu-toggle,
  .navbar-toggle {
    display: block !important;
    visibility: visible !important;
  }
}

/* ======== BACKGROUND RESTORE ======== */
html, body {
  background-color: #000 !important;
  background-image: url("https://staging.ventureup.com/wp-content/uploads/2025/10/pattern-5.webp") !important;
  background-repeat: repeat !important;
  background-size: 50px 50px !important;
  background-attachment: scroll !important;
  background-position: top left !important;
}

.site,
.wrap,
.container,
#content,
#primary,
.site-content {
  background: transparent !important;
}

/* ======== FORCE ICONS IN SINGLE HORIZONTAL ROW ======== */
#site-navigation .navbar-nav,
.main-navigation .menu-list {
  display: flex !important;
  flex-direction: row !important; /* <-- keeps horizontal layout */
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: clamp(0.5rem, 1vw, 1rem);
}
/* ======== FORCE LOGO TO LEFT, ICONS TO RIGHT ======== */
.site-header nav.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.site-header .site-branding {
  order: 0;
  margin-right: auto;
}

#site-navigation .navbar-nav,
.main-navigation .menu-list {
  order: 1;
  margin-left: auto;
}
/* ======== LOGO OVERLAP FIX ======== */
.site-header .site-branding img,
.site-header .navbar-brand img {
  position: relative;
  bottom: -25px;          /* how far it dips below the gold border */
  left: 0;                /* keeps it anchored left */
  z-index: 10;
  width: clamp(160px, 15vw, 240px);
  height: auto;
  transition: all 0.3s ease;
}
/* ======== ABSOLUTE LOGO ANCHOR WITH OVERLAP ======== */
.site-header {
  position: relative !important;
}

.site-header .site-branding,
.site-header .navbar-brand {
  position: absolute !important;
  left: clamp(20px, 2vw, 50px);
  bottom: -15px;                /* controls overlap depth */
  margin: 0 !important;
  padding: 0 !important;
  z-index: 999;
}

.site-header .site-branding img,
.site-header .navbar-brand img {
  width: clamp(200px, 18vw, 300px);
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

